
: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;
}

/******************************************
home-toggle
******************************************/

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
    background-color: #dddddd00;
}

/******************************************
Like-Comment-Btn
******************************************/
/* Default like button */
.like-btn {
    cursor: pointer;
    font-size: 18px;
    color: #555;
    /* Default gray color */
    transition: color 0.3s ease-in-out;
}

/* Hover effect */
.like-btn:hover {
    color: #007bff;
    /* Blue color on hover */
}

/* Liked state */
.like-btn.liked {
    color: #82b440;
    /* Orange-red when liked */
}


/******************************************
course page - star rating
******************************************/

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-start;
    font-size: 24px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    cursor: pointer;
    color: #ddd;
    padding: 5px;
    transition: color 0.3s;
}

.star-rating input:checked~label {
    color: #f5c518;
}


/******************************************
course page - popup overlay
******************************************/
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 20;
}


.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}

.popup-content button {
    margin-top: 10px;
    padding: 5px 15px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/******************************************
page-read-enroll-Btn
******************************************/
.btn-sml {
    padding: 8px 22px !important;
    /* border-radius: var(--card-border-radius); */
    font-size: 14px;
    border: 1px solid var(--border-color);
    font-weight: bold;
    color: #ffffff !important;
    /* padding: 13px 40px; */
    text-transform: capitalize;
}



/******************************************
sourse-category-page
******************************************/


.course-card {
    margin-bottom: 30px;
}

/* Alert box styling */
.alert-box {
    background-color: #ffdddd;
    color: #a94442;
    padding: 15px;
    border: 1px solid #ebccd1;
    border-radius: 4px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    display: none;
    /* Hidden by default */
}



/* Fixed height for course cards */
.course-card {
    height: 550px;
    /* Adjust as needed */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* margin-bottom: 30px; */
    transition: all 0.3s ease;
    cursor: pointer;
    background-color: var(--background-overlay-light);
    border-radius: var(--card-border-radius);
    border: 1px solid var(--border-color);
}

.course-card:hover {
    background-color: var(--background-overlay-hover);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transform: translateY(-5px);
}

/* ---------div inside card------------ */
.course-box.shop-wrapper {
    flex: 1 1 auto;
    /* take full available height */
    display: flex;
    flex-direction: column;
    /* optional - helps manage children layout */
    background: var(--primary-bg-color);
}

.col-md-3,
.course-card {
    padding-left: 0;
    /* or less, if you want a small gap */
    padding-right: 0;
}

/* Fixed height and object-fit for images */
.course-box .image-wrap img {
    width: 100%;
    height: 200px; /* or any fixed height */
    object-fit: cover; /* 'cover' crops, 'contain' fits without cropping */
    display: block;
    border-radius: 0px;
}

/* Optional: Ensure product description area doesn't break layout */
.product-description {
    height: 80px;
    /* Adjust height for text section */
    overflow: hidden;
    /* Hide extra text */
}

/* Optional: Ensure uniform footer alignment */
.course-footer {
    margin-top: auto;
}


/* ---------------------New Styling--------------------- */
.cstm-bread {
    margin-top: 10%;
}

/* .dtl-crs-brdcrmb{
    background: var(--primary-color);
} */

.cstm-rw {
    background: var(--background-overlay-light);
    /* padding: 20px; */
    /* margin-top: 20px; */
    border: 1px solid var(--border-color);
}

.breadcrumb {
    margin-top: 15px;
}

.bcrmb-cat {
    color: var(--icon-primary-color);
}

.crs-dtl-spn {
    color: var(--border-color);
}

.cstm-container {
    width: 1200px;
    background: var(--background-overlay-light);
    padding: 40px 20px;
}

.dtl-crs-sec {
    padding-bottom: 6px !important;
}

.cstm-container-dtl {
    margin-top: 15%;
}

.crs-dtl-col {
    background: var(--background-overlay-light) !important;
    margin-bottom: 10%;
}

.cstm-copyright {
    width: 100%;
    background: var(--background-overlay-light);
    padding: 4px 0px;
}


/* --------------------------hm-contactus.php-------------------------- */
.frm-btn {
    width: 50%;
    gap: 10px;
}

@media only screen and (max-width: 768px) {
    .frm-btn {
        width: 100% !important;
        /* Make buttons full width */
        display: block;
        /* Stack them vertically */
        margin-bottom: 10px;
        /* Space between buttons */
        float: none !important;
        /* Remove float on small screens */
    }
}

.form-control {
    background: var(--background-overlay-light);

}

/* ------------//--------------hm-contactus.php-------------//------------- */



/*------------------------------ blockquote------------------------------ */

/* .all-blokqot{
    
    margin: 20px 0; padding: 15px; border-left: 5px solid #ccc; background-color: #f9f9f9;
} */





/*------------------------------------ watch demo ------------------------------------ */
.video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    background: #000;
    /* fallback */
}

.video-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.video-wrap iframe.visible {
    opacity: 1;
}

.video-wrap .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--icon-primary-color);
    /* transparent dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.5s ease;
    border: 1px solid var(--border-color);
}

.overlay-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
}


.video-wrap .overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Play Button Container */
.play-button {
    position: relative;
    /* width: 100px;
    height: 100px; */
    background: #c4302b;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px var(--primary-text-color);
    z-index: 3;
    width: 75px;
    height: 75px;
}

/* Animated Rings */
.play-button .ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--icon-primary-color);
    border-radius: 50%;
    top: 0;
    left: 0;
    animation: ringPulse 2s infinite ease-out;
    opacity: 0.7;
}

.play-button .ring1 {
    animation-delay: 0s;
}

.play-button .ring2 {
    animation-delay: 0.5s;
}

.play-button .ring3 {
    animation-delay: 1s;
}

/* Triangle Play Icon */
.play-button .triangle {
    width: 0;
    height: 0;
    border-left: 25px solid var(--secondary-text-color);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    position: relative;
    left: 5px;
    z-index: 5;
}

/* Ring Pulse Animation */
@keyframes ringPulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
        box-shadow: 0 0 10px var(--highlight-hover-color);
    }

    70% {
        transform: scale(1.8);
        opacity: 0;
        box-shadow: 0 0 30px var(--highlight-hover-color);
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}


/*--------------------//---------------- watch demo -------------------//----------------- */




/* --------------------------hm-aboutus.php-------------------------- */


/* ------------//--------------hm-aboutus.php-------------//------------- */




/* --------------------------full-subscribe-now.php-------------------------- */


.subscribe-now {
    margin: 7% 0;
}

.sub-frm-inpt {
    width: 100% !important;
    /* fills parent */
}

.main-subscribe-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.main-subscribe-container .widget-title {
    text-align: center;
    color: var(--dark-bg);
    margin-bottom: 30px;
    font-size: 30px;
    font-weight: bold;
}

.main-subscribe-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}

.main-subscribe-text {
    flex: 0 0 30%;
    font-size: 14px;
    line-height: 1.6;
}

.main-subscribe-text a {
    color: var(--dark-bg);
    text-decoration: underline;
}

.main-subscribe-form {
    flex: 0 0 70%;
    display: flex;
    justify-content: flex-end;
}

.main-subscribe-form .form-1 {
    display: flex;
    width: 95%;
    gap: 12px;
}



.main-subscribe-form .btn {
    flex-shrink: 0;
    padding: 14px 18px;
    font-size: 16px;
    border-radius: var(--btn-radius);
    background-color: var(--icon-primary-color);
    color: #fff;
    border: none;
    width: 20%;
}

.main-subscribe-form input.form-control {
    flex: 3;
    padding: 25px 18px;
    font-size: 16px;
    border-radius: var(--btn-radius);
    border: 1.5px solid var(--icon-primary-color);
    color: var(--secondary-darker-bg);
}

.main-subscribe-form input::placeholder {
    color: var(--dark-para-color);
    opacity: 0.7; /* Optional: Slight fade */
}


@media (max-width: 768px) {
    .main-subscribe-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-subscribe-text,
    .main-subscribe-form {
        flex: 0 0 100%;
        width: 100%;
    }

    .main-subscribe-form {
        justify-content: flex-start;
        margin-top: 20px;
    }

    .main-subscribe-form .form-1 {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .main-subscribe-form input.form-control {
        width: 100%;
        flex: none;
        padding: 16px;
        font-size: 15px;
    }

    .main-subscribe-form .btn {
        width: 100%;
        padding: 16px;
        font-size: 15px;
    }
}



/* ------------//--------------full-subscribe-now.php-------------//------------- */



/* --------------------------Social Icons-------------------------- */
.top-social a {
    border: 1px solid var(--icon-primary-color);
    color: var(--primary-text-color);
    padding: 6px;
    /* margin: 4px; */
    /* border-radius: 50%; */
    /* border-radius: var(--btn-radius); */
    display: inline-block;
    text-align: center;
    width: 36px;
    height: 36px;
    line-height: 20px;
    transition: all 0.3s ease;
}

.top-social a:hover {
    background-color: var(--icon-primary-color);
    color: #fff;
}



.foot-social a {
    border: 1px solid var(--icon-primary-color);
    color: var(--primary-text-color); /* Corrected variable syntax */
    padding: 8px;
    margin: 4px;
    /* border-radius: 50%; */
    /* border-radius: var(--btn-radius); */
    display: inline-block;
    text-align: center;
    width: 36px;
    height: 36px;
    line-height: 20px;
    transition: all 0.3s ease;
}

.foot-social a:hover {
    background-color: var(--icon-primary-color);
    color: #fff;
}

/* ------------//--------------Social Icons-------------//------------- */