/*  todolist
    todo darkmode
    todo favicon
    todo delete temp class
*/

* { 
    margin:0;
    padding:0;
    box-sizing: border-box;
    font-family: var(--myfont);
}


:root {
    /* todo global colors with light &dark mode */
    /* --bg-light:   rgb(253, 253, 253); */
    --bg-light:     #f6f2fa;
    --bg-dark:      #1c053a;
    --bg-lightc3:   #B88AE6;

    --fg-lightc5:   #631DB0;
    --fg-lightc6:   #552594;
    --fg-lightc6l:  #55259430;
    --fg-lightc6lc2:#55259480;
    --fg-lightc7:   #320074;
    --fg-lightc7l:  rgba(50, 0, 116, 0.726);
    --fg-lightc8:   #1c053a;
    --fg-contrast: #FF5D73;
    --fg-contrastc: #f28d9a;
    --heart-color:  #c34a5c;
    --grad-light1: linear-gradient(37deg, var(--fg-lightc5) 0%, var(--bg-lightc3) 100%);
    --myfont: system-ui, -apple-system, BlinkMacSystemFont;
    --mx-width: 1600px;
    --facebook-main: #1877F2;
    --instagram-main: #E1306C;
    --linkedin-main: #0077B5;
    --x-main: #000000;
    --telegram-main: #24A1DE;
    /* logo color palette */
    --logo-light: #1c053a;
    --span12-light: #631DB0; 
    --hy-light: #1c053a;
    --span3-light: #1c053a;

    --logo-dark: #f6f2fa;
    --span12-dark: #A062DD;
    --hy-dark: #f6f2fa;
    --span3-dark: #B88AE6;
}

body {
    background-color: var(--bg-light);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* scroll to top icon (button) */
.scroll-to-top {
    position: fixed;
    z-index: 1028343; /*some high number to place it above all elements*/
    bottom: 6%;
    right: 3%;
    font-size: 60px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    border-radius: 50%;
    background-color: var(--fg-lightc6lc2);
    color: var(--bg-light);
    transition: all 0.3s ease-in-out;
}

.scroll-to-top i {
    transition: all 0.3s ease-in-out;
}

.scroll-to-top:hover i {
    animation: scroll 0.3s ease-in-out infinite alternate;
}

.scroll-to-top:hover {
    background-color: var(--bg-dark);
}

@keyframes scroll {
    from {
        transform: translateY(0); /* No vertical movement initially */
    }
    
    to {
        transform: translateY(-4px); /* Move element up by 4px */
    }
}


/* styling the focus block */
.focus-block {
    position: absolute;
    width: 100%;
    height: 155%;
    left: 0;
    top: 0;
    background-color: var(--fg-lightc6l);
    z-index: 999;
    pointer-events: all;
    /* make it appear when share button is pressed */
    display: none; 
}

/* the fixed box div */
.fixediv {
    display: flex;
    background-color: var(--bg-light);
    padding: 10px 20px 5px 0px;
    padding-left: 60px;
    border-radius: 0px 0px 20px 20px;
    box-shadow: 0px -5px 19px 10px #99999524;
    align-content: center;
    justify-content: space-between;
    flex-wrap: wrap;
    /* to fix the bar in its position */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 99999;
}

.fixediv .buttons {
    overflow: hidden;
    position: relative; /* to adjust the background gradient*/
    display: flex;
    font-size: 24px;
    font-weight: bold;
    background: var(--bg-light);
    box-shadow: 0px 3px 25px 1px #2f2f2e20;
    border-radius: 30px;
    padding: 10px;
    margin: 0px 10px 15px 10px;
    cursor: pointer;
    transition: all .3s ease-in-out;

}

.fixediv .buttons:hover {
    box-shadow: 0px 3px 30px 1px var(--fg-lightc6);
    color: var(--bg-light);
}

.fixediv .buttons::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: inherit;
    background-image: var(--grad-light1);
    z-index: 0;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.fixediv .buttons:hover::before {
    opacity: 1;
}

.fixediv .buttons i,
.fixediv .buttons p{
    z-index: 1;
}

.fixediv .buttons i {
    font-size: 36px;
    margin-right: 20px;
}

.fixediv .back:hover i {
    transition-duration: .1s;
    transform: translate(-5px, 0px);
    color: var(--bg-light);
}

.fixediv .fav i {
    color: var(--heart-color);
    position: relative;
}

/* styling for add to favorites button's icons */
.fixediv .fav i::after {
    content: "\ede2";
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity .2s ease-in;
}

.fixediv .fav:hover i::after {
    opacity: 1;
}

.darkmode-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2px;
    width: 70px;
    height: 70px;
    background-color: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out; /* Add transition for background color */
}

.darkmode-button .sun {
    width: 50%;
    height: 50%;
    background-color: var(--bg-lightc3);
    border: solid 2px var(--bg-dark);
    border-radius: 50%;
    z-index: 2;
    transition: background-color, border-color, scale .3s ease-in-out;
}

.darkmode-button .moon {
    content: "";
    position: absolute;
    background-color: var(--bg-light);
    width: 50%;
    height: 50%;
    border-radius: 50%;
    top: -33%;
    left: 91%;
    /* transform: translate(-104%, 96%); */
    z-index: 3;
    transition: transform .4s ease-out;
}

.darkmode-button .lines {
    position: absolute;
    width: 80%;
    height: 4%;
    border-radius: 10px;
    background-color: var(--bg-light);
    transition: all .3s ease-in-out;
    animation: rotate 10s linear 0s infinite running;
}
.darkmode-button .l2 {
    transform: rotate(90deg);
}
.darkmode-button .l3 {
    width: 70%;
    transform: rotate(45deg);
}
.darkmode-button .l4 {
    width: 70%;
    transform: rotate(135deg);
}

@keyframes rotate {
    to {
        rotate: 360deg;
    }
}

.darkmode-button.dark {
    background-color: var(--bg-light);
}
.darkmode-button .lines.dark {
    width: 0%;
}

.darkmode-button .sun.dark {
    background-color: var(--bg-dark);
    border-color: transparent;
    scale: 1.2;
}

.darkmode-button .moon.dark {
    transform: translate(-104%, 96%);
}

/*! end of darkmode button*/

.prev {
    margin-top: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    background-color: var(--bg-light);
    max-width: 1900px;
    position: relative;
    margin-bottom: 40px;
    border-radius: 20px;
    box-shadow: 0px 0px 45px -30px var(--fg-lightc6);
}

.prev-container .prev-box .boximage video {
    position: relative;
    object-fit: cover;
    width: 700px;
}

.prev-container .prev-box .boximage {
    display: flex;
    position: relative;
    justify-content: center;
    overflow: hidden;
    width: fit-content;
    height: fit-content;
    border-radius: 20px;
    box-shadow: 5px 0px 45px -11px var(--fg-lightc6);
}

.prev-container {
    display: flex;
    background-color: var(--bg-light);
    flex-direction: row;
    gap: 60px;
    padding: 20px 0px 20px 0px;
    border-radius: 10px;
}

.prev-container .course-info {
    width: auto;
    min-width: 300px;
    max-width: 500px;
    padding: 15px
}

.course-info p {
    font-family: "Open Sans", sans-serif;
    font-weight: 500;

}

.course-info .name {
    font-size: 36px;
    margin-bottom: 15px;
    text-decoration: underline;
    color: var(--fg-lightc7);
}

.course-info .des, 
.course-info .info, 
.course-info .instructor {
    margin-left: 20px;
    margin-bottom: 20px;
    max-width: 400px;
} 

/* info box for widgets containing information about the course */
.info { 
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.info-box {
    display: flex;
    gap: 10px;
    width: fit-content;
    border-radius: 35px;
    justify-content: center;
    align-items: center;
    align-content: center;
    padding: 5px;
    padding-right: 10px;
    margin-bottom: 3px;
}

.info-box i {
    font-size: 27px;
    align-self: center;
    margin-left: 5px;
}

.info .dura {
    background-color: #c4696050;
    color: #723d39;
    box-shadow: 0px 0px 20px 1px #c4696050;
}
.info .lang {
    background-color: #53d89350;
    color: #2b6d4b;
    box-shadow: 0px 0px 20px 1px #53d89350;
}
.info .vids {
    background-color: #9ea54450;
    box-shadow: 0px 0px 20px 1px #9ea54450;
    color: #5f6329;
}
.info .stud {
    background-color: #a9d4d650;
    box-shadow: 0px 0px 20px 1px #a9d4d650;
    color: #2e5b5e;
}

.course-info .instructor {
    font-size: 20px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-content: center;
    align-items: end;
}

.course-info .instructor i {
    font-size: 25px;
    background-color: #00130D07;
    border-radius: 50%;
}

.course-info .des i {
    background-color: #00130D10;
    border-radius: 50%;
}

.rating .stars i {
    font-size: 30px;
}

.rating {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 10px;
    background-color: var(--bg-light);
    box-shadow: 0px 3px 20px -9px var(--fg-lightc6);
    color: var(--fg-lightc7);
    border-radius: 40px;
    padding: 20px;
}

.rating span {
    font-size: 20px;
    font-weight: 660;
    font-family: "Open Sans", sans-serif;
}

.on-sale {
    padding: 2px;
    border-radius: 15px;
    color: var(--fg-lightc6);
}

.enroll {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.enroll button  {
    position: relative; /* to adjust the background gradient*/
    display: flex;
    font-size: 30px;
    font-weight: 600;
    background: var(--bg-light);
    box-shadow: 0px 3px 30px 1px var(--fg-lightc6l);
    border-radius: 30px;
    padding: 10px;
    margin: 0px 10px 15px 10px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    font-family: var(--myfont);
    color: var(--fg-lightc7);
}

.enroll button::before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: inherit;
    background-image: var(--grad-light1);
    z-index: 0;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.enroll button .txt {
    z-index: 4;
}

.enroll button:hover {
    box-shadow: 0px 3px 33px -4px var(--fg-lightc6);
    color: var(--bg-light);
}

.enroll button:hover::before {
    opacity: 1;
}

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

.additional-buttons ul {
    display: flex;
    gap: 40px;
    list-style-type: none;
    font-size: 40px;
    position: relative;
}

.additional-buttons li {
    background-color: var(--bg-light);
    border-radius: 50%;
    transition: all .3s ease-in-out;
    margin: 10px 10px 20px 10px;
    padding: 5px 10px 20px 10px;
    width: 60px;
    height: 60px;
    cursor: pointer;
    position: relative;
    box-shadow: 0px 0px 20px -10px var(--fg-lightc6);
}

.additional-buttons li.share {
    color: var(--fg-lightc5);
    border: solid 1px var(--fg-lightc5);
}

.additional-buttons li.add-to-fav {
    color: var(--heart-color);
    border: solid 1px var(--heart-color);
    box-shadow: 0px 0px 20px -10px var(--heart-color);
}

.additional-buttons li.write-a-comment {
    color: var(--fg-lightc8);
    border: solid 1px var(--fg-lightc8);
    box-shadow: 0px 0px 20px -10px black;
    
}

.additional-buttons li.write-a-comment i {
    position: absolute;
    top: 10px;
    
}

.additional-buttons li.share i {
    position: absolute;
    bottom: 9px;
    
}

.additional-buttons li.share:hover {
    background-color: var(--fg-lightc5);
}

.additional-buttons li.add-to-fav:hover {
    background-color: var(--heart-color);
}

.additional-buttons li.write-a-comment:hover {
    background-color: var(--fg-lightc8);    
}

.additional-buttons li:hover i {
    color: var(--bg-light);
}

/* textbox above each button */
.additional-buttons li::before {
    content: "ToolTip";
    position: absolute;
    left: 25%;
    top: -30px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    background-color: var(--fg-lightc6lc2);
    color: var(--bg-light);
    padding: 4px;
    border-radius: 3px;
    transition: all .3s ease-in-out;
    opacity: 0;
}

.additional-buttons li:hover::before {
    opacity: 1;
}

.additional-buttons .write-a-comment::before {
    content: "Comments";
    left: -8px;
}

.additional-buttons .add-to-fav::before {
    content: "Fav";
}

.additional-buttons .share::before {
    content: "Share";
    left: 6px;
}

.details-box h1 {
    position: relative;
    width: fit-content;
    font-size: 36px;
    margin-bottom: 20px;
    left: -80px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
    color: var(--fg-lightc6);
}

.details-box h2 {
    position: relative;
    width: fit-content;
    font-size: 30px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

.details-box h3 {
    position: relative;
    width: fit-content;
    font-size: 24px;
    font-weight: 500;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

/* ! for sliding right effect */
.details-box h1::before {
    content: "";
    position: absolute;
    width: 0%;
    height: 5%;
    border-radius: 7%;
    background-color: #300b53; /*todo change color*/
    left: 0;
    top: 100%;
    transition: .3s ease-in-out;
}

.details-box h1:hover::before {
    width: 100%;
}

/* detail-box main box containing arrow icon and text */
.detail-box {
    position: relative;
    font-size: 26px;
    width: fit-content;
    padding: 6px 6px 6px 8px;
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    align-content: center;
}
.detail-box i {
    content: "\ea50";
    color: var(--fg-lightc7);
    font-family: "boxicons"; 
    font-size: 1.3em;
    font-weight: 300;
    position: absolute;
    margin-right: 10px;
    left: -30px;
    top: 10%;
    transition: all .3s;
    cursor: pointer;
}

/*! Helper classes */
.new-box {
    padding: 20px 20% 0px 20%;
    background-color: var(--bg-light);
    display: flex;
    gap: 30px;
    flex-direction: column;
    width: 120%;
    max-width: fit-content;
}

::selection{ /* edits selected text's color */
    color: #fff;
    background: #7d2ae8;
}

.details-box {
    gap: 15px !important;
}

.padding20 {
    padding-left: 20px;
}

.no-animation {
    animation: none !important;
}

.link-hover:hover {
    cursor: pointer;
    opacity: .8;
    text-decoration: underline;
}

@keyframes move-right {
    from {
        left: -30px;
    }
    to {
        left: -20px;
    }
}

.hidden-by-default {
    max-height: 0px;
    overflow: hidden;
    transition: max-height .3s ease-in-out;

}

.hidden-by-default.showallc,
.hidden-by-default.comment {
    display: none;

}
.hidden-by-default.show {
    max-height: 3000px; /*! fit content doesn't allow transition to work*/
}

/* to change the display styling int the above section */
.display-initial {
    display: initial;
}
/*!  End of helper classes */


.details-box li, 
.details-box p {
    position: relative;
    color: var(--fg-lightc6);
    padding: 10px;
    list-style-type: none;
    font-size: 18px;
    letter-spacing: 1px; /* increase letter spacing */
    word-spacing: 2px; /* increase word spacing */
    line-height: 1.5; /* set line height */
    opacity: .8;
    margin-left: 40px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;

}

.details-box li::before, 
.details-box p::before {
    content: ".";
    position: absolute;
    color: var(--fg-lightc6lc2);
    opacity: .8;
    left: -15px;
    font-size: 65px;
    top: -50px; 
    font-family: 'boxicons';

}

.course-obj li::before {
    content: "\ea41";
    font-size: 22px;
    left: -15px;
    top: 6px;
}

.course-content h3 {
    margin-left: 30px;
    color: var(--fg-lightc7);
    background-color: var(--bg-dark);
    border-radius: 30px;
    margin-bottom: 10px;
}

.details-box h2 {
    margin-left: 30px;
    color: var(--fg-lightc8);
}

.flexx {
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

.instructors-box {
    display: flex;
    align-content: center;
    align-items: center;
    gap: 20px;
    margin: 5px 30px 5px 30px;
    overflow-y: hidden;
    overflow-x: auto;
}

.instructors-box .instructor {
    position: relative;
    display: flex;
    flex-direction: column;
    width: fit-content;
    background: var(--grad-light1);
    box-shadow: 0px 0px 10px 5px var(--fg-lightc6l);
    padding: 10px;
    margin: 10px;
    border-radius: 15px;
    gap: 10px;
}

.instructor .row1 {
    display: flex;
    flex-direction: row;
}

.instructor .row1 .name {
    font-size: 28px;
    font-weight: 700;
    text-decoration: underline;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
    color: var(--bg-light);
}

.instructor .row1 .pro {
    font-size: 18px;
    font-weight: 500;
    margin-left: 10px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
    color: var(--bg-dark)
}

.ver-row { /* for the vertical row contains*/
    margin: 10px 20px 10px 50px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.rat-s-c { /* for the rating, students, courses section in instructor card*/
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 20px;
    color: var(--fg-lightc7);
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
    font-size: 18px;
}

.rat-s-c i {
    font-size: 22px;
}

.rat-s-c .ins-rating {
    display: flex;
}

.rat-s-c .bx.bxs-user-check {
    font-size: 30px;
}

.instructor .row2 {
    display: flex;
    flex-direction: row;
}

.instructor img {
    width: 130px;
    height: 130px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--bg-light);
}

/* styling for the popup share div */
.popup-share {
    position: absolute;
    left: 50%;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    top: -150%;
    max-width: 380px;
    width: 100%;
    opacity: 0;
    /*prevents interaction*/
    pointer-events: none; 
    box-shadow: 0px 10px 15px rgba(0,0,0,0.1);
    transform: translate(-50%, -50%) scale(1.2);
    transition: top 0s 0.2s ease-in-out,
    opacity 0.2s 0s ease-in-out,
    transform 0.2s 0s ease-in-out;
    z-index: 1999;
}

.popup-share :is(span, p, button){
    font-family: system-ui, -apple-system, BlinkMacSystemFont;
}

.popup-share.show {
    top: 50%;
    opacity: 1;
    pointer-events: auto;
    transform:translate(-50%, -50%) scale(1);
    transition: top 0s 0s ease-in-out,
                opacity 0.2s 0s ease-in-out,
                transform 0.2s 0s ease-in-out;
}

.popup-share :is(header, .icons, .field) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.popup-share header{
    padding-bottom: 15px;
    border-bottom: 1px solid #ebedf9;
}

header span{
    font-size: 21px;
    font-weight: 600;
}

header .close, .icons a {
    display: flex;
    align-items: center;
    border-radius: 50%;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

header .close {
    color: #878787;
    font-size: 17px;
    background: #f2f3fb;
    height: 33px;
    width: 33px;
    cursor: pointer;
}

header .close:hover {
    background: #ebedf9;
}

.popup-share .content {
    margin: 20px 0;
}

.popup-share .icons {
    margin: 15px 0 20px 0;
}

.content p {
    font-size: 16px;
}

.content .icons a {
    height: 50px;
    width: 50px;
    font-size: 20px;
    text-decoration: none;
    border: 1px solid transparent;
}

.icons a i {
    transition: transform 0.3s ease-in-out;
}

/* styling for social media icons */
.icons a:nth-child(1) {
    color: #1877F2;
    border-color: #b7d4fb;
}

.icons a:nth-child(1):hover {
    background: #1877F2;
}

.icons a:nth-child(2) {
    color: #46C1F6;
    border-color: #b6e7fc;
}

.icons a:nth-child(2):hover {
    background: #46C1F6;
}

.icons a:nth-child(3) {
    color: #e1306c;
    border-color: #f5bccf;
}

.icons a:nth-child(3):hover {
    background: #e1306c;
}

.icons a:nth-child(4) {
    color: #25D366;
    border-color: #bef4d2;
}

.icons a:nth-child(4):hover {
    background: #25D366;
}

.icons a:nth-child(5) {
    color: #0088cc;
    border-color: #b3e6ff;
}

.icons a:nth-child(5):hover {
    background: #0088cc;
}

.icons a:hover {
    color: #fff;
    border-color: transparent;
}

.icons a:hover i {
    transform: scale(1.2);
}

.content .field {
    margin: 12px 0 -5px 0;
    height: 45px;
    border-radius: 4px;
    padding: 0 5px;
    border: 1px solid #e1e1e1;
}

.field.active {
    border-color: #7d2ae8;
}

.field i {
    width: 50px;
    font-size: 18px;
    text-align: center;
}

.field.active i {
    color: #7d2ae8;
}

.field input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 15px;
}

.field button {
    color: #fff;
    padding: 5px 18px;
    background: #7d2ae8;
    cursor: pointer;
    border: none;
    border-radius: 4px;
}

.field button:hover {
background: #8d39fa;
}

.comments-section.details-box.new-box .comment {
    display: flex;
    position: relative;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    align-content: center;
    background-color: #fff;
    max-width: var(--mx-width);
    border-radius: 120px;
    box-shadow: 0px 0px 15px -10px var(--fg-lightc8);
    transition: all .2s ease-in;
    overflow: hidden;
}

.comments-section.details-box.new-box .comment:hover {
    transform: translate(0px, -5px);
    box-shadow: 0px 5px 15px -10px var(--fg-lightc8);
}

.comments-section.details-box.new-box img {
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 50%;
    margin: 20px 0px 0px 60px;
}

.comments-section.details-box.new-box .image-rat p {
    font-size: 28px;
    font-family: var(--myfont);
    font-weight: 800;
    padding-left: 20%;
    text-decoration: underline;
}

.comments-section.details-box.new-box .image-rat p::before {
    display: none;
}

.comment-rating {
    position: block;
    left: 23%;
    top: 20%;
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 40px;
    color: var(--fg-lightc7)
}

.rating-comment p::before {
    content: "";
    height: 100%;
    width: 3px;
    top: 0;
    background-color: var(--fg-lightc6lc2);
}

.showallc { /* button to show the hidden comments */
    width: fit-content;
    margin-left: 100px;
    font-family: var(--myfont);
    color: var(--fg-lightc6);
}

/* footer styling */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* background-color: var(--bg-light); */
    background-color: inherit;
    padding: 70px 0;
    border-top: dashed var(--fg-lightc8) 2px;
}

footer .container {
    max-width: 1280px;
    margin:auto;
}

footer .row {
    display: flex;
    flex-wrap: nowrap;
}

footer ul {
    list-style: none;
}

.footer-col {
    width: 25%;
    padding: 0 15px;
}
.footer-col h4 {
	font-size: 18px;
	color: var(--fg-lightc8);
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
    width: fit-content;
}

.footer-col h4::before {
	content: '';
	position: absolute;
	left: 0;
	bottom: -10px;
	background-color: var(--fg-lightc5);
	height: 2px;
	box-sizing: border-box;
	width: 110%;
    border-radius: 50%;
}

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

.footer-col ul li a {
	font-size: 16px;
    font-weight: 400;
	text-transform: capitalize;
	color: var(--fg-lightc6);
	text-decoration: none;
	display: block;
	transition: all 0.3s ease;
}

.footer-col ul li a:hover {
	color: var(--heart-color);
	padding-left: 8px;
}

.footer-col .social-links a {
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: var(--fg-lightc8);
	margin: 0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: var(--bg-light);
	transition: all 0.5s ease;
}

.footer-col .social-links a i {
    font-size: larger;
}

.footer-col .social-links a.facebook:hover {
	color: var(--bg-light);
	background-color: var(--facebook-main);
}
.footer-col .social-links a.telegram:hover {
	color: var(--bg-light);
	background-color: var(--telegram-main);
}
.footer-col .social-links a.instagram:hover {
	color: var(--bg-light);
	background-color: var(--instagram-main);
}
.footer-col .social-links a.linkedin:hover {
	color: var(--bg-light);
	background-color: var(--linkedin-main);
}

.footer-col .social-links a:hover {
	background-color: var(--bg-light);
}


.footer .logo {
    display: flex;
    justify-content: center;
    gap: 2em;
    cursor: pointer;
    /* background-color: var(--bg-light); */
    margin-right: 20px;
}

.footer .logo i {
    font-size: 3em;
    color: var(--logo-light);
}

.logo .span1, 
.logo .span2 {
    color: var(--span12-light);
    font-size: 2em;
}

.logo .span3 {
    color: var(--span3-dark);
    font-size: .8em;
}
.logo .hy {
    color: var(--hy-light);
    font-size: 1.8em;
}

.footer .email-us {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-dark);
    color: var(--bg-light);
    padding: 10px;
    border-radius: 30px;
    border: solid 2px transparent;
    transition: all .3s ease-in-out;
}

.footer .email-us:hover {
    background-color: var(--bg-light);
    color: var(--bg-dark);
    border: solid 2px var(--bg-dark);
    
}

.footer .email-us i {
    font-size: x-large;
}

.footer .copywrite {
    margin-top: 20px;
    color: var(--bg-lightc3);
}