body {
    align-items: center;
    background-color: #f4f4f4;
    margin: 0;
}

html,
/*body {
    font-family: 'YekanBakh-Regular', sans-serif;
    overflow-x: hidden !important;
}
*/
header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 1% 0;
}

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


.left-section {
    display: flex;
    gap: 10px;
    align-items: center;
}

.button1 {
    background-color: #02544c;
    color: white;
    border-radius: 30px;
    font-size: 16px;
    padding: 15px;
    min-width: 130px;
    text-decoration: none;
}

    .button1:hover {
        color: white;
        background-color: #00342f;
        transform: translateY(1px);
    }

/* Button */
.button2 {
    background-color: #02544c72;
    color: #02544c;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    /* Important for absolute positioning inside */
    cursor: pointer;
    padding: 0;
}

/* Cart Badge (Small Circle) */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #02544c;
    color: white;
    width: 18px;
    height: 18px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease-in-out;
}

/* Tooltip Wrapper */
.tooltip-wrapper {
    position: relative;
    display: inline-block;
}

/* Tooltip */
.tooltip-container {
    position: absolute;
    top: 115%;
    left: 350%;
    transform: translateX(-50%);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.tooltip-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 400px;
    max-height: 220px;
    overflow-y: auto;
    font-size: 14px;
    background-color: white;
    border-top: 3px solid #02544c;
    color: black;
    text-align: center;
    padding: 8px 4px;
    border-radius: 10px;
    white-space: nowrap;
    box-shadow: 5px 10px 10px 5px #3333331d;
}

/* Keep tooltip visible when hovering */
@media (min-width: 1024px) {
    .tooltip-wrapper:hover .tooltip-container {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(-5px);
        pointer-events: auto;
    }
}

.button2:hover {
    background-color: #02544c;
    color: white;
}

.Buy {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
}

.BtnBuy {
    background-color: #02544c;
    color: white;
    padding: 1px 10px;
    border-radius: 15px;
    padding-top: 5px;
    cursor: pointer;
}

.RemainingCount {
    display: flex;
    flex-direction: row;
    justify-content: center;
    text-align: center;
    background-color: rgba(203, 203, 207, 0.107);
    width: 80px;
    padding: 3px 10px;
    border-radius: 20px;
}

.NoProductImg {
    width: 100%;
    height: auto;
}

    .NoProductImg img {
        width: 150px;
        height: auto;
    }


.button1,
.button2 {
    border-color: #02544c72;
    cursor: pointer;
}

.SearchSectionBody {
    width: 100%;
    height: 80px;
    background-color: white;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    display: flex;
    justify-content: center;
}


.search-box-article {
    text-align: right;
}

    .search-box-article input {
        padding: 13px 10px;
        border: none;
        border-radius: 10px;
        text-align: right;
        font-size: 14px;
        background-color: rgba(180, 179, 176, 0.107);
    }

    .search-box-article span {
        padding: 8px 10px;
        border: none;
        border-radius: 10px;
        text-align: center;
        background-color: rgba(180, 179, 176, 0.107);
        color: #9b9a9a;
    }

    .search-box-article input:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: #ccc !important;
        background-color: rgba(180, 179, 176, 0.107);
    }

    /* غیرفعال کردن کلیک روی آیکون */
    .search-box-article .input-group-text {
        pointer-events: none;
    }

.navbar {
    display: flex;
    position: absolute;
    right: 18%;
    top: 30%;
}

    .navbar a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
        transition: color 0.3s;
        padding-right: 20px;
        padding-left: 20px;
    }

.sidebar a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.3s;
}

.navbar a:hover {
    text-decoration: none;
    background-color: #02e8210d;
    color: #009229;
    padding-top: 15px;
    padding-bottom: 15px;
    border-radius: 10px;
    transition: 0.3s all ease;
}

.logo {
    width: 10em;
    height: auto;
}

.right-section a {
    cursor: pointer;
}

.hamburger {
    display: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 10px;
    text-align: center;
}


.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 290px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    padding: 20px;
    z-index: 1000;
}

    .sidebar.open {
        right: 0;
    }

    .sidebar .close-btn {
        position: absolute;
        top: 10px;
        left: 10px;
        cursor: pointer;
        font-size: 30px;
        width: 50px;
        height: 50px;
        text-align: center;
        padding-top: 5px;
    }

    .sidebar .SearchSectionBody {
        position: absolute;
        right: -5px;
    }

.sidebar1 {
    flex-direction: row-reverse;
}

.sidebar2 {
    flex-direction: row-reverse;
}

.Sidebar2-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.basket span {
    cursor: pointer;
}

.sidebar1,
.sidebar2 a {
    cursor: pointer;
}

.left-buttons,
.right-items {
    display: flex;
    align-items: center;
}

.button,
.menu-item {
    margin: 0 10px;
    cursor: pointer;
}

.right-items {
    display: flex;
}

.btn-dark {
    background-color: #02544c;
    color: white;
    border-radius: 5px;
}

.btn-lighter {
    background-color: #02544c72;
    color: #02544c;
    border-radius: 5px;
}

    .btn-lighter:hover {
        background-color: #02544c;
        color: white;
        border-radius: 5px;
    }

.transition-3 {
    transition: 0.3s all ease;
}

.zoom-image {
    width: 300px;
    height: auto;
    transition: transform 0.3s ease;
}

    .zoom-image:hover {
        transform: scale(1.015);
    }

.green-box {
    width: 100%;
    height: 300px;
    background-color: #02544c;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}



@media (max-width: 1024px) {
    .container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .left-section {
        order: 2;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }


    .right-section {
        order: 1;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .logo {
        width: 8em;
    }

    .button1 {
        background-color: #02544c72;
        color: #02544c;
        border-radius: 10px;
        padding: 15px 5px;
    }

        .button1:hover {
            background-color: #02544c;
            color: white;
        }

    .button2 {
        border-radius: 5px;
    }

    .responsive-header {
        padding-top: 0px;
    }
}

@media (min-width: 1024px) {
    .SearchSectionBody {
        display: none;
    }
}

.custom-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

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






.gradient-box {
    background: linear-gradient(to right, #865ffb, #210069e9);
    width: 100%;
    height: auto;
    margin-bottom: 2%;
}

.gradient-content {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: white;
    padding-top: 3%;
    padding-bottom: 3%;
}

.ArticleImg {
    width: 30%;
    display: flex;
    flex-direction: column;
}

    .ArticleImg img {
        width: 100%;
        border-radius: 10px;
    }

.time {
    display: flex;
    flex-direction: row;
    padding-top: 8%;
    justify-content: center;
}

.ArticleTitile {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: right;
}


/* breadcrumb navbar */
.breadcrumb-container {
    display: flex;
    justify-content: right;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding-bottom: 5px;
    direction: rtl;
}

.breadcrumb {
    display: inline-block;
    display: block;
    list-style: none;
    color: white;
    justify-content: right;
}

    .breadcrumb li {
        display: inline;
        font-size: 20px;
    }

        .breadcrumb li + li:before {
            padding: 8px;
            color: white;
            content: ">";
        }

        .breadcrumb li a {
            color: #b4b4b4;
            text-decoration: none;
        }

            .breadcrumb li a:hover {
                color: white;
            }




/* .gradient-box {
    width: 300px; 
    height: 150px; 
    background: linear-gradient(to right, #f0f0f0, #333);  از چپ روشن (#f0f0f0) به راست تیره (#333) 
    border-radius: 10px; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
}
 */
/* background: linear-gradient(to right, #ff9a9e, #fad0c4, #333); */




.info-status {
    background-color: #c8c7ca18;
    border-radius: 10px;
    max-height: 350px;
    display: flex;
    flex-direction: column;
}

.info {
    padding: 5%;
}

.status {
    background-color: #c8c7ca18;
    border-radius: 10px;
    margin-top: 40px;
    padding: 30px;
    display: flex;
    justify-content: center;
}

.status-long {
    background-color: #e6c07944;
    color: #a96732;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    text-align: center;
}


.description {
    background-color: #c8c7ca18;
    border-radius: 10px;
    height: auto;
    display: flex;
    flex-direction: column;
    padding: 2% 4%;
}

.description-title {
    padding: 3%;
}

.tags {
    padding-top: 3%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

    .tags a {
        color: #333;
        text-decoration: none;
    }

    .tags i {
        padding-left: 5px;
    }

.description-title h1 {
    text-align: right;
    font-size: 24px;
    font-weight: bold;
    color: #474747;
}

.line {
    background-color: #3333332f;
    width: 100%;
    height: 1px;
}


/*
.description-text {
    background-color: #a4a4a407;
    border-radius: 10px;
    padding: 3%;
}
*/


.CommentsImg {
    display: flex;
    flex-direction: column;
}

.text1 {
    text-align: right;
    justify-content: right;
    display: flex;
    flex-direction: row;
    line-height: 0.5;
    font-size: 24px;
    font-weight: bold;
}

.text2 {
    text-align: right;
    justify-content: right;
    display: flex;
    flex-direction: row;
    color: #1da551;
}

.ImageIcon {
    font-size: 18px;
    color: #1da551;
}

@media (max-width: 1024px) {

    .description-info {
        display: flex;
        flex-direction: column-reverse;
    }

    .description {
        width: 100%;
        margin-bottom: 30px;
    }

    .info {
        padding: 2%;
    }

    .info-status {
        width: 100%;
        margin-bottom: 150px;
    }

    .status-long {
        width: 100%;
        text-align: center;
    }
}


/*comments*/
.comments {
    display: flex;
    flex-direction: column;
    text-align: right;
    background-color: #c8c7ca18;
    padding: 4% 3%;
    border-radius: 10px;
    margin-bottom: 5%;
}

.AddComment {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.DefaultComment {
    font-size: 18px;
}

.AddCommentBtn {
    padding: 15px 10px;
    display: inline-block;
    font-size: 14px;
    color: white;
    background-color: #02544c;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0px 0px 15px 0px #02544c;
}

    .AddCommentBtn:hover {
        box-shadow: none;
        transform: translateY(2px);
    }

.NoCommentSpan {
    background-color: #ffbd4244;
    color: #a96732;
    padding: 20px;
    border-radius: 10px;
    text-align: right;
}



/*related courses*/
.RelatedCourses {
    display: flex;
    flex-direction: column;
    text-align: right;
}

/*carousel*/
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    touch-action: pan-x;
}

.carousel {
    display: flex;
    transition: transform 0.3s ease-in-out;
    width: 100%;
}

.product {
    flex: 0 0 100%;
    width: 100%;
    padding: 20px;
    text-align: center;
}

    .product img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        padding-bottom: 20px;
        object-fit: cover;
    }

/* Button styles */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #02544c;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    font-size: 15px;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Zoom effect */
.zoom-image {
    transition: transform 0.3s ease;
}

    .zoom-image:hover {
        transform: scale(1.05);
    }

.PriceName {
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 14px;
}

.price {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
}



/* Responsive styles */
@media (min-width: 768px) {

    .product {
        flex: 0 0 50%;
    }
}

@media (min-width: 1024px) {

    .product {
        flex: 0 0 33.333%;
    }
}

@media (max-width: 768px) {

    .carousel-button {
        padding: 8px;
        font-size: 15px;
    }

    .carousel-container {
        width: 95%;
    }
}

@media (max-width: 576px) {

    .carousel-button {
        padding: 8px;
        font-size: 12px;
    }
}



.info-item {
    display: flex;
    flex-direction: column;
    text-align: right;
    font-size: 14px;
    line-height: 0.5;
    padding-top: 20px;
}

.complete-info-item {
    background-color: rgb(246, 246, 246);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.item-logo {
    padding: 3px 10px;
    margin: 16px 10px;
    padding-top: 10px;
    border-radius: 10px;
    background-color: #c8c7ca18;
}


.MainBody {
    display: flex;
    flex-direction: row;
    margin-top: 30px;
    margin-bottom: 100px;
}

.LeftArticle {
    width: 30%;
    display: flex;
    flex-direction: column;
    margin-right: 2%;
}

.RightArticle {
    width: 70%;
    display: flex;
    flex-direction: column;
}

.ProductImg {
    width: 100%;
    border: 15px solid white;
    border-radius: 25px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.BookImg {
    width: 100%;
    border: 15px solid white;
    border-bottom: 30px solid white;
    border-radius: 25px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.caption {
    background-color: white;
    width: 100%;
    height: auto;
    justify-content: right;
    text-align: right;
    padding: 8%;
    font-size: 14px;
    font-weight: bold;
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 25px;
    position: relative;
}

.name {
    justify-content: right;
    position: absolute;
    top: 25%;
    right: 13%;
}

.date {
    display: flex;
    flex-direction: column;
    text-align: center;
    line-height: 0.5;
    font-size: 12px;
    position: absolute;
    top: 1%;
    right: 4%;
    background-color: #02544c;
    color: white;
    width: 20px;
    height: 50px;
    padding-top: 3%;
    border-radius: 3px;
}

.col-12 {
    cursor: pointer;
    transition: transform 0.3s ease;
}

.AllThumbnails :hover .date {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
}

.AddCommentBtn {
    padding: 15px 10px;
    display: inline-block;
    font-size: 14px;
    color: white;
    background-color: #02544c;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    box-shadow: 0px 0px 15px 0px #02544c;
}

.col-12:hover {
    transform: translateY(5px);
    filter: brightness(1.2);
}




/* بخش سمت چپی بدنه اصلی */

.PriceFilteringBody {
    display: flex;
    flex-direction: column;
    text-align: right;
    justify-content: center;
    background-color: white;
}

.BoxHeader {
    text-align: right;
    justify-content: center;
    background-color: rgba(203, 203, 207, 0.107);
    padding: 5px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

    .BoxHeader h5 {
        font-size: 17px;
        font-weight: bold;
        padding-right: 5px;
        padding-top: 7px;
        color: #333333e5;
    }

.ProductCategory {
    display: flex;
    flex-direction: column;
}

.CategoryItem {
    display: flex;
    flex-direction: row;
    justify-content: right;
    background-color: white;
    border: #302c2c;
    margin-bottom: 1px;
    padding-right: 4%;
    padding-top: 15px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
}

    .CategoryItem::after {
        content: "";
        position: absolute;
        right: 0;
        top: 0;
        width: 0;
        height: 100%;
        background-color: #02544c;
        transition: width 0.3s ease-in-out;
    }

    .CategoryItem:hover::after {
        width: 6px;
    }


    .CategoryItem span {
        background-color: #02544c;
        color: white;
        width: 25px;
        height: 25px;
        text-align: center;
        padding-top: 4px;
        border-radius: 50%;
        position: absolute;
        left: 10px;
        font-size: 14px;
    }

.SearchSectionBody {
    height: 80px;
    background-color: white;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    display: flex;
    justify-content: center;
}


.search-box-article {
    text-align: right;
}

    .search-box-article input {
        width: 100%;
        padding: 13px 10px;
        border: 1px solid #ddd;
        border-radius: 10px;
        text-align: right;
        font-size: 14px;
        background-color: rgba(203, 203, 207, 0.107);
    }

    .search-box-article span {
        padding: 8px 10px;
        border: 1px solid #ddd;
        border-radius: 10px;
        text-align: center;
        background-color: rgba(181, 181, 185, 0.107);
        color: #9b9a9a;
    }

    .search-box-article input:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: #ccc !important;
        background-color: rgba(203, 203, 207, 0.107);
    }

    /* غیرفعال کردن کلیک روی آیکون */
    .search-box-article .input-group-text {
        pointer-events: none;
    }


.Advertisement {
    width: 100%;
    height: auto;
    background-color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    text-align: center;
    transition: all 0.3s ease-in-out;
}


    /*
.fixed {
    position: fixed;
    top: 20px;
}
*/

    .Advertisement img {
        width: 100%;
        height: auto;
        border-radius: 30px;
        padding: 20px;
        box-sizing: border-box;
    }


.InstagramTelegram {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-top: 5%;
    margin-bottom: 5%;
}

.InstagramGradient {
    background: linear-gradient(to right, #660096, #dd006f);
    width: 49%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: white;
    border-radius: 5px;
    padding-top: 3%;
    padding-bottom: 3%;
    cursor: pointer;
    text-decoration: none;
}

    .InstagramGradient:hover {
        color: white;
    }

    .InstagramGradient i,
    .WhatsAppGradient i {
        font-size: 35px;
        padding-left: 5%;
        padding-top: 4%;
    }

.WhatsAppGradient {
    background: linear-gradient(to right, #00a930, #48f48a);
    width: 49%;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    color: white;
    border-radius: 5px;
    padding-top: 3%;
    padding-bottom: 3%;
    cursor: pointer;
    text-decoration: none;
}

    .WhatsAppGradient:hover {
        color: white;
    }

.MediaContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: right;
    padding-right: 7%;
}

    .MediaContent h5 {
        font-size: 18px;
    }

.AboutWriter {
    display: flex;
    flex-direction: column;
    text-align: right;
    background-color: #c8c7ca18;
    padding: 4% 3%;
    border-radius: 10px;
    margin-bottom: 5%;
}

.WriterContent {
    display: flex;
    flex-direction: row;
    justify-content: right;
}

.WriterName {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    margin-right: 20px;
    margin-top: 10px;
}

    .WriterName h4 {
        font-size: 16px;
    }

    .WriterName a {
        text-decoration: none;
        font-weight: bold;
        color: rgba(0, 0, 0, 0.755);
    }

        .WriterName a:hover {
            color: #02544c;
        }

.WriterIcon {
    background-color: #ffc400;
    display: flex;
    color: black;
    border-radius: 15px;
    font-size: 40px;
}

    .WriterIcon:hover {
        background-color: #ffc400c3;
    }

    .WriterIcon i {
        text-align: center;
        padding-top: 10px;
        width: 65px;
        height: 65px;
    }


.RelatedCourses {
    background-color: #c8c7ca18;
    padding: 4% 3%;
    border-radius: 10px;
    margin-bottom: 5%;
    display: flex;
    flex-direction: column;
    text-align: right;
}


.AllThumbnails a {
    color: #4b4b4b;
}






/*
.CategoryItem {
    display: flex;
    flex-direction: row;
    justify-content: right;
    background-color: white;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    padding-right: 4%;
    padding-top: 5%;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}


.CategoryItem::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #02544c;
    transition: width 0.3s ease-in-out;
}

.CategoryItem:hover::after {
    width: 6px;
}

.CategoryItem span {
    background-color: #02544c;
    color: white;
    padding: 1% 3%;
    border-radius: 50%;
    position: absolute;
    left: 10px;
}

/*responsive*/
@media (max-width: 1024px) {


    .MainBody {
        display: flex;
        flex-direction: column-reverse;
    }

    .RightArticle {
        width: 100%;
        margin-bottom: 30px;
    }

    .LeftArticle {
        width: 100%;
    }

    .InstagramTelegram {
        display: flex;
        flex-direction: column-reverse;
    }

    .InstagramGradient {
        width: 100%;
        margin-bottom: 10px;
    }

    .WhatsAppGradient {
        width: 100%;
    }

    .description {
        margin-bottom: 0;
    }

    .Advertisement img {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .caption {
        font-size: 16px;
    }

    .date {
        padding-top: 2%;
    }

    .name {
        right: 10%;
    }
}

@media (max-width: 850px) {
    .gradient-content {
        display: flex;
        flex-direction: column-reverse;
        padding-top: 0;
        padding-right: 25px;
        padding-left: 25px;
    }

    .ArticleImg {
        width: 100%;
        padding-top: 20px;
    }

    .time {
        padding-top: 30px;
    }
}



/*footer*/
/* Green Footer (Above the Main Footer) */
.green-footer {
    width: 100%;
    background: #02544c;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: white;
    height: 40px;
}

    .green-footer::before {
        content: '';
        background: #02544c;
        width: 100%;
        position: absolute;
        left: 0;
        top: -20px;
        height: 40px;
        border-radius: 50%;
        z-index: -1;
    }

/* Main Footer (Sits at the bottom of the page) */
.main-footer {
    width: 100%;
    height: auto;
    background-color: rgba(114, 114, 116, 0.107);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.footer-socials {
    display: flex;
    gap: 10px;
}


@media (max-width: 768px) {
    .green-footer .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 1px;
    }

    .green-footer {
        height: 90px;
    }

    .main-footer .container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 20px;
    }
}



.fixed-span {
    position: fixed;
    left: 10px;
    /* Distance from the left */
    bottom: 10px;
    /* Distance from the top */
    background-color: #aac9c7;
    color: #02544c;
    font-size: 16px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    z-index: 999;
    cursor: pointer;
}

    .fixed-span:hover {
        background-color: #001c18;
        color: white;
    }





#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
    display: none;
    transition: opacity 0.3s ease;
}

    #overlay.active {
        display: block;
        opacity: 1;
    }


.BtnBuy {
    background-color: #02544c;
    color: white;
    padding: 1px 10px;
    border-radius: 15px;
    padding-top: 5px;
    cursor: pointer;
    text-decoration: none;
}

    .BtnBuy:hover {
        color: white;
    }
