/* .....................................................................................

    **************************** table of contents ********************************

    01. =google fonts
    02. = variables
    03. =overrides variables for - theme dark
    04.=base
    05. =box
    06. =customaized bootstarp classes
    07. =animaton keyframes
    08. =section - padding , titile
    09. =buttons
    10. =pages loader
    11. =circular img
    12. =forms
    13. =video modal
    14. =pagination
    15. =breadcrumb
    16. =tabs
    17. =bubble animation
    18. =style switcher
    19. =header
    20. =footer
    21. =banner section
    22. =fun facts section
    23. =services section
    24. =testimonials section
    25. =bai section
    26. =course details section
    27. =contact section



..................................................................................... */



/* .................................
01. =google fonts
................................. */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');


/* .................................
02. = variables 
.................................*/
:root {
    --orange: hsl(36, 89%, 54%);
    --white: hsl(0, 0%, 100%);
    --WHITE: hsl(0, 0%, 100%);
    --BLACK: hsl(0, 0%, 0%);
    --black-90: hsl(0, 0%, 10%);
    --black-70: hsl (0, 0%, 30%);
    --black-alpha-40: hsla(0, 0%, 0%, 0.4);
    --yellow-light: hsl(44, 95%, 83%);
    --green-light: hsl(158, 68%, 75%);
    --red-light: hsl(0, 84%, 80%);
    --orange-light: hsl(22, 85%, 80%);
    --select-box-bg-color: hsl(0, 0%, 100%);
    --border-color-1: hsl(0, 0%, 90%);

}

/* .................................
03. =overrides variables for - theme dark
................................. */
body.t-dark {
    --body-bg-color: hsl(240, 10%, 19%);
    --black-70: hsl(0, 0%, 87%);
    --black-90: hsl(0, 0%, 100%);
    --shadow: 0 0 10px hsla(0, 0%, 0%, 0.08);
    --white: hsl(240, 8%, 21%);
    --select-box-bg-color: hsl(240, 8%, 21%);
    --border-color-2: hsl(240, 9%, 30%);
    --border-color-1: hsl(240, 9%, 25%);


}

/*.................................
 04.=base
 ................................. */
body {
    background-color: var(--body-bg-color);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    color: var(--black-70);
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--main-color);
    text-decoration: none;
}

a:hover {
    color: var(--main-color);
}

img {
    max-width: 100%;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--black-90);
    line-height: 1.3;
}

h3 {
    font-size: 20px;

}

::selection {
    color: var(--WHITE);
    background-color: var(--main-color);
}

/*.................................
 05. =box
 ................................. */
.box {
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow);
    padding: 30px;

}

/* .................................
06. =customaized bootstarp classes
................................. */
.container {
    --bs-gutter-x: 15px;
    max-width: 1140px;
}

.row {
    --bs-gutter-x: 30px;

}

/*.................................
 07. =animaton keyframes
 ................................. */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes bubble {
    0% {
        transform: translate(0vh);
        opacity: 0;
    }

    5%,
    95% {
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh);
        opacity: 0;
    }
}

@keyframes loader {
    0% {
        transform: rotate(0deg);
    }

    25%,
    50% {
        transform: rotate(180deg);
    }

    75%,
    100% {
        transform: rotate(360deg);
    }
}

@keyframes loaderIn {

    0%,
    25%,
    100% {
        height: 0%;
    }

    50%,
    75% {
        height: 100%;
    }
}

/*.................................
 08. =section - padding , titile
 ................................. */
.section-padding {
    padding: 60px 0;
}

.section-title {
    margin-bottom: 40px;
}

.section-title .title {
    font-size: 20px;
    color: var(--main-color);
    text-transform: capitalize;
}

.section-title .sub-title {
    font-size: 35px;
    font-weight: 600;
    color: var(--black-90);
}

/*.................................
 09. =buttons
 .................................*/
.btn-theme {
    background-color: var(--main-color);
    color: var(--WHITE);
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.btn-theme a {
    background-color: var(--main-color);
    color: var(--WHITE);
    font-size: 16px;
    text-transform: capitalize;
    font-weight: 500;
    padding: 8px 20px;
    transition: all 0.3s ease;
}

.btn-theme:hover {
    color: var(--WHITE);
    background-color: var(--button-hover-color);
}

.btn-theme:hover a {
    color: var(--WHITE);
    background-color: var(--button-hover-color);
}

.btn-theme:focus {
    box-shadow: 0 0 8px var(--main-color);
}

.btn-block {
    width: 100%;
}

.btn-form {
    height: 48px;

}

/* .................................
10. =pages loader
................................. */
.page-loader {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 1001;
    display: flex;
    background-color: var(--white);
    /* opacity: 0.2; */
}

.page-loader.fade-out {
    opacity: 0;
    transition: all 0.6s ease;
}

.page-loader div {
    margin: auto;
    height: 32px;
    width: 32px;
    border: 4px solid var(--main-color);
    position: relative;
    animation: loader 2s linear infinite;
}


.page-loader div::before {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: var(--main-color);
    left: 0;
    top: 0;
    animation: loaderIn 2s linear infinite;
}

/* .................................
11. =circular img
.................................*/
.circular-img {
    max-width: 360px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.circular-img-inner {
    text-align: center;
    border-radius: 0 0 180px 180px;
    overflow: hidden;
}

.circular-img-circle {
    height: 360px;
    width: 360px;
    position: absolute;
    left: 0;
    bottom: 0;
    border-radius: 50%;
}

.circular-img img {
    position: relative;
    z-index: 1;
}

/* .................................
12. =forms 
.................................*/
.form-title {
    font-size: 24px;
    margin: 0 0 30px;
    font-weight: 600;
}

.form-control::placeholder {
    color: var(--black-70);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-control {
    height: 48px;
    border-color: var(--border-color-1);
    color: var(--black-90);
    background-color: transparent;
}

.form-control:focus {
    background-color: transparent;
    border-color: var(--border-color-1);
    color: var(--black-90);
    box-shadow: none;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 13px;
}

select.form-control:focus option {
    background-color: var(--select-box-bg-color);
}

textarea.form-control {
    height: 120px;
    resize: none;
}

/* .................................
13. =video modal 
.................................*/
.video-modal .btn-close {
    height: 35px;
    width: 35px;
    background-image: none;
    border-radius: 50%;
    opacity: 1;
    z-index: 1;
    position: absolute;
    right: 0;
    top: -35px;
    color: var(--WHITE);
    font-size: 16px;
    padding: 0;
}

.video-modal .modal-content {
    border: 0;
}

/* .................................
14. =pagination
................................. */
.page-item.disabled .page-link,
.page-link {
    border: none;
    background-color: transparent;
    color: var(--black-70);
}

.page-item.active .page-link {
    background-color: var(--main-color);
}

.page-link:hover {
    background-color: var(--main-color);
    color: var(--WHITE);
}


/*.................................
 15. =breadcrumb 
 .................................*/
.breadcrumb-nav {
    padding: 10px 0;
}

.breadcrumb-nav .breadcrumb-item {
    font-size: 14px;
    text-transform: capitalize;
}

.breadcrumb-nav .breadcrumb-item+.breadcrumb-item::before,
.breadcrumb-nav .breadcrumb-item.active {
    color: var(--black-70);
}

/*.................................
 16. =tabs 
 .................................*/
.nav-tabs .nav-link {
    background-color: var(--white);
    text-transform: capitalize;
    border-color: var(--border-color-2);
    padding: 5px 12px;
    margin: 0 5px 10px;
    border-radius: 5px;
    color: var(--black-70);
    font-size: 16px;
}

.nav-tabs .nav-link:hover {
    border-color: var(--border-color-2);
}

.nav-tabs .nav-link.active {
    background-color: var(--main-color);
    border-color: transparent;
    color: var(--WHITE);
}

/* .................................
17. =bubble animation 
.................................*/
.bubble-animation-item {
    position: absolute;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    z-index: -1;
}

.bubble-animation-item:nth-child(1) {
    border-color: var(--yellow-light);
    top: 120%;
    left: 10%;
    animation: bubble 30s linear infinite;
}

.bubble-animation-item:nth-child(2) {
    border-color: var(--green-light);
    top: 60%;
    left: 50%;
    animation: bubble 40s linear infinite;
}

.bubble-animation-item:nth-child(3) {
    border-color: var(--red-light);
    top: 90%;
    left: 90%;
    animation: bubble 50s linear infinite;
}

.bubble-animation-item:nth-child(4) {
    border-color: var(--yellow-light);
    top: 80%;
    left: 60%;
    animation: bubble 60s linear infinite;
}

.bubble-animation-item:nth-child(5) {
    border-color: var(--green-light);
    top: 30%;
    left: 10%;
    animation: bubble 70s linear infinite;
}

.bubble-animation-item:nth-child(6) {
    border-color: var(--red-light);
    top: 20%;
    left: 30%;
    animation: bubble 80s linear infinite;
}

.bubble-animation-item:nth-child(7) {
    border-color: var(--yellow-light);
    top: 100%;
    left: 5%;
    animation: bubble 90s linear infinite;
}

.bubble-animation-item:nth-child(8) {
    border-color: var(--green-light);
    top: 110%;
    left: 33%;
    animation: bubble 100s linear infinite;
}

.bubble-animation-item:nth-child(9) {
    border-color: var(--red-light);
    top: 120%;
    left: 65%;
    animation: bubble 110s linear infinite;
}

/* .................................
18. =style switcher 
.................................*/
.style-switcher {
    width: 250px;
    position: fixed;
    height: 100%;
    background-color: var(--white);
    right: -250px;
    top: 0;
    z-index: 10;
    padding: 30px;
    box-shadow: var(--shadow);
    transition: right 0.3s ease;
}

.style-switcher.open {
    right: 0;
}

.style-switcher-toggler {
    height: 40px;
    width: 40px;
    position: absolute;
    top: 28%;
    left: -40px;
    background-color: var(--main-color);
    color: var(--WHITE);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
}

.style-switcher h3 {
    font-size: 18px;
    text-transform: capitalize;
    border-bottom: 1px solid var(--border-color-1);
    padding: 0 0 10px;
}

.style-switcher-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color-1);
}

.theme-colors button {
    height: 30px;
    width: 30px;
    border: none;
    border-radius: 50%;
    vertical-align: middle;
    border-radius: 50%;
    padding: 0;
    position: relative;
}

.theme-colors button::before {
    content: "\f00c";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    color: var(--WHITE);
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;

}

.theme-colors button.active::before {
    opacity: 1;
}

.theme-colors .color-1 {
    background-color: hsl(0, 74%, 61%);
}

.theme-colors .color-2 {
    background-color: hsl(230, 74%, 61%);
}

.theme-colors .color-3 {
    background-color: hsl(36, 74%, 61%);
}

.theme-colors .color-4 {
    background-color: hsl(262, 74%, 61%);
}

.theme-colors .color-5 {
    background-color: hsl(164, 74%, 61%);
}

/* .................................
19. =header 
.................................*/
.header {
    border-bottom: 1px solid var(--border-color-2);
}

.header-logo a {
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--black-70);
}

.header-logo span {
    color: var(--main-color);
}

.header .menu-item {
    display: inline-block;
    margin-left: 40px;
    position: relative;
}

.header .menu-item>a {
    display: block;
    padding: 24px 0;
    font-weight: 400;
    color: var(--black-90);
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.header .sub-menu-item a:hover,
.header .menu-item:hover>a {
    color: var(--main-color);
}

.header .menu-item>a i {
    font-size: 13px;
    margin-left: 3px;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.header .sub-menu {
    position: absolute;
    top: 100%;
    background-color: var(--white);
    left: 0;
    width: 210px;
    padding: 10px 0;
    border-radius: 5px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 2;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
}

@media(min-width: 992px) {
    .header .menu-item:hover>.sub-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

.header .sub-menu-item a {
    display: block;
    padding: 10px 20px;
    color: var(--black-90);
    text-transform: capitalize;
    font-weight: 400;
    transition: color 0.3 ease;
}

.header-backdrop,
.header-close-btn,
.header-hamburger-btn {
    display: none;
}

/* .................................
20. =footer 
.................................*/
.footer-top {
    padding: 50px 0 20px;
    border-top: 1px solid var(--border-color-2);
}

.footer-item {
    margin: 0 0 30px;
}

.footer-item h3 {
    text-transform: capitalize;
    margin: 0 0 20px;
}

.footer-item .footer-logo {
    color: var(--black-70);
    text-transform: uppercase;
}

.footer-item .footer-logo span {
    color: var(--main-color);
}

.footer-item ul li:not(:last-child) {
    margin-bottom: 8px;
}

.footer-item ul a {
    text-transform: capitalize;
    color: var(--black-70);
    transition: color 0.3s ease;
    position: relative;
}

.footer-item ul a:hover {
    color: var(--main-color);
}

.footer-item ul a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 1px;
    background-color: var(--main-color);
    transition: width 0.3s ease;
}

.footer-item ul a:hover::before {
    width: 100%;
}

.footer-item ul a .social-icon {
    margin-right: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color-2);
}

.footer-bottom p {
    font-size: 14px;
}

/* .................................
21. =banner section 
.................................*/
.banner-section {
    padding: 80px 0;
    min-height: 680px;
}

.banner-text h2 {
    font-size: 20px;
    color: var(--main-color);

}

.banner-text h1 {
    font-size: 45px;
    font-weight: 700;

}

.banner-section .circular-img-circle {
    background-color: var(--red-light);
}

/* .................................
22. =fun facts section 
.................................*/
.fun-facts-item {
    padding: 15px 0;
}

.fun-facts-item h2 {
    font-weight: 700;
    font-size: 30px;
    text-transform: uppercase;

}

.fun-facts-item p {
    margin: 0;
    text-transform: uppercase;
}

.fun-facts-item .style-1 {
    color: var(--black-70);
}

.fun-facts-item .style-2 {
    color: var(--green-light);
}

.fun-facts-item .style-3 {
    color: var(--red-light);
}

.fun-facts-item .style-4 {
    color: var(--orange-light);
}

/* .................................
23. =services section (chatgpt)
 .................................*/

/* Main container styling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.container h2 {
    font-size: 35px;
    font-weight: 600;
    color: var(--black-90);
}

.testimonials-section .img-box {
    height: 150px;
    width: 150px;
    background-color: var(--select-box-bg-color);
    margin: 30px auto 50px;
}

/* Services section */
.services {
    text-align: center;
    display: flex;
    padding: 20px;
    margin: 50px;
}

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

/* Individual service card styling */
.cards {
    background-color: var(--bs-gutter-x);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--select-box-bg-color);
    padding: 20px;
    margin: 10px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.cards:hover {
    background-color: var(--orange-light);
    /* color: var(--WHITE);  */
}

.cards .content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards .icon {
    font-size: 40px;
    color: var(--orange);
    /* Use the orange color variable */
}

.cards .title {
    font-size: 18px;
    font-weight: bold;
    margin-top: 10px;
}

.card p {
    font-size: 14px;
    color: var(--black-70);
    /* Use the black-70 color variable */
}

/*.................................
 24. =testimonials section
 ................................. */
.testimonials-section .img-box {
    height: 150px;
    width: 150px;
    background-color: var(--red-light);
    margin: 30px auto 50px;
}

.testimonials-section .img-box::before,
.testimonials-section .img-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--red-light);
    animation: spin 15s linear infinite;
}

.testimonials-section .img-box::before {
    height: 180px;
    width: 180px;
    left: -15px;
    top: -15px;
    border-left: 1px solid transparent;
}

.testimonials-section .img-box::after {
    height: 210px;
    width: 210px;
    left: -30px;
    top: -30px;
    border-right: 1px solid transparent;

}

.testimonials-item h3 {
    text-transform: capitalize;
}

.testimonials-item .text-2 {
    margin: 0;
    text-transform: capitalize;

}

.testimonials-section .carousel-control-prev,
.testimonials-section .carousel-control-next {
    position: relative;
    height: 35px;
    width: 35px;
    background-color: var(--main-color);
    display: inline-block;
    border-radius: 50%;
    margin: 0 4px;
}

.testimonials-section .decoration-circles-item {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.testimonials-section .decoration-circles-item:nth-child(1) {
    left: 10%;
    top: 20%;
    height: 30px;
    width: 30px;
    background-color: var(--yellow-light);
}

.testimonials-section .decoration-circles-item:nth-child(2) {
    left: 40%;
    top: 40%;
    height: 50px;
    width: 50px;
    background-color: var(--green-light);
}

.testimonials-section .decoration-circles-item:nth-child(3) {
    left: 70%;
    top: 70%;
    height: 30px;
    width: 30px;
    background-color: var(--red-light);
}

.testimonials-section .decoration-circles-item:nth-child(4) {
    left: 20%;
    top: 50%;
    height: 20px;
    width: 20px;
    background-color: var(--red-light);
}

.testimonials-section .decoration-imgs-item {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
}

.testimonials-section .decoration-imgs-item:nth-child(1) {
    height: 60px;
    width: 60px;
    left: 20%;
    top: 30%;
    background-color: var(--yellow-light);
}

.testimonials-section .decoration-imgs-item:nth-child(2) {
    height: 80px;
    width: 80px;
    left: 90%;
    top: 40%;
    background-color: var(--yellow-light);
}

.testimonials-section .decoration-imgs-item:nth-child(3) {
    height: 40px;
    width: 40px;
    left: 10%;
    top: 60%;
    background-color: var(--green-light);
}

/*.................................
 25. =bai section
 ................................. */
.bai-section .circular-img-circle {
    background-color: var(--yellow-light);
}

/* .................................
26. =course details section
................................. */

/* course header */
.course-header h2 {
    font-size: 30px;
    margin: 0 0 15px;
    font-weight: 600;
}

.course-header .average-rating {
    font-weight: 600;
    color: var(--orange);
}

.course-header .average-stars i {
    font-size: 14px;
    color: var(--orange);
}

.course-header .rating span {
    vertical-align: middle;
}

.course-header ul li {
    margin: 6px 0 0;
    text-transform: capitalize;
}

.course-header ul li span {
    margin-left: 5px;
}

/* course tabs */
.course-tabs {
    margin: 30px 0 20px;
}

.course-tab .nav-link {
    margin: 0 10px 10px 0;
}

/* course curriculum */
.course-curriculum .accordion-item {
    border-color: var(--border-color-1);
    background-color: transparent;
}

.course-curriculum .accordion-button span {
    position: absolute;
    right: 17px;
    font-size: 14px;
}

.course-curriculum .accordion-button::after {
    content: "\f077";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    background-image: none;
    position: absolute;
    left: 17px;
    top: 50%;
    transform: translateY(-50%);
    height: auto;
    width: auto;
    line-height: 1;
}

.course-curriculum .accordion-button {
    background-color: transparent;
    color: var(--black-90);
    font-weight: 300;
    flex-wrap: wrap;
    padding-left: 50px;
    padding-right: 160px;
    line-height: 1.5;
}

.course-curriculum .accordion-button:focus {
    box-shadow: none;
}

.course-curriculum .accordion-button:not(.collapsed) span {
    font-weight: 500;
}

.course-curriculum .accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(-180deg);
}

.course-curriculum .accordion-button:not(.collapsed) {
    font-weight: 600;
    border-bottom: 1px solid var(--border-color-1);
    transition: none;
    box-shadow: none;
}

.course-curriculum ul li {
    position: relative;
    padding: 0 50px 0 20px;
}

.course-curriculum ul li:not(:last-child) {
    margin-bottom: 10px;
}

.course-curriculum ul li span {
    position: absolute;
    font-size: 14px;
    right: 0;
    top: 0;
}

.course-curriculum ul li i {
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--black-70);
    font-size: 12px;
}

/* course description */
.course-description h4 {
    font-size: 16px;
}


/* course instructor */
.course-instructor .img-box img {
    max-width: 128px;
    margin-bottom: 15px;
}

.course-instructor h4 {
    font-size: 16px;
    text-transform: capitalize;
    margin-bottom: 10px;
}

.course-instructor h4 span {
    font-weight: 300;
}

.course-instructor ul li i {
    color: var(--main-color);
    margin-right: 5px;
}

.course-instructor ul li:not(:last-child) {
    margin-bottom: 5px;
}


/* course reviews */
.rating-summary .average-rating {
    font-size: 40px;
    font-weight: 700;
    color: var(--black-90);
}

.rating-summary .average-stars i {
    color: var(--orange);
}

.rating-summary .rating-bars-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.rating-summary .progress {
    height: 8px;
    background-color: var(--border-color-1);
    width: calc(100% - 120px);
    margin-right: 20px;
    border-radius: 0;
}

.rating-summary .progress-bar {
    background-color: var(--main-color);
}

.rating-summary .star-text {
    min-width: 60px;
    color: var(--orange);
}

.reviews-filter {
    margin: 0 0 35px;
    width: 200px;

}

.reviews-item {
    position: relative;
    margin-bottom: 30px;
    padding-left: 65px;
}

.reviews-item .img-box {
    max-width: 50px;
    border-radius: 50%;
    overflow: hidden;
    position: absolute;
    left: 0;
    top: 0;
}

.reviews-item h4 {
    font-size: 16px;
    font-weight: 500;
    text-transform: capitalize;
    margin: 0 0 5px;
    color: var(--black-90);
}

.reviews-item .stars-rating i {
    color: var(--orange);
    font-size: 14px;
}

.reviews-item .stars-rating .date {
    margin-left: 5px;
    font-size: 14px;
    display: inline-block;
}

.reviews-item p {
    margin: 5px 0 0;
}

/* course sidebar  */
.course-sidebar {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
}

.course-sidebar .img-box::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--black-alpha-40);
}

.course-sidebar .play-icon {
    position: absolute;
    height: 50px;
    width: 50px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--main-color);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--WHITE);
}

.course-sidebar .img-box p {
    position: absolute;
    color: var(--WHITE);
    top: calc(50% + 40px);
    font-weight: 500;
    width: 100%;
}

.course-sidebar .price span {
    margin-right: 8px;
}

.course-sidebar .price-new {
    font-size: 30px;
    font-weight: 700;
    color: var(--black-90);
}

.course-sidebar .price-discount {
    color: var(--main-color);
}

.course-sidebar .features-list {
    margin: 0 0 20px;
}

.course-sidebar .features-list li {
    position: relative;
    padding-left: 21px;
    margin-bottom: 8px;
}

.course-sidebar .features-list li::before {
    content: '';
    height: 6px;
    width: 6px;
    background-color: var(--main-color);
    position: absolute;
    left: 0;
    top: 9px;
    border-radius: 50%;
}

/* .................................
27. =contact section 
.................................*/

.contact-item {
    position: relative;
    padding-left: 55px;
    margin-bottom: 40px;
}

.contact-item .icon-box {
    position: absolute;
    height: 40px;
    width: 40px;
    background-color: var(--main-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    left: 0;
    top: 0;
    color: var(--WHITE);

}














html {
    scroll-behavior: smooth;
}

/* Portfolio Item Styling */
.portfolio-item {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
    height: 100%;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.1);
}

.portfolio-info {
    padding: 20px;
    text-align: center;
}

.portfolio-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    font-weight: 600;
}

.portfolio-info p {
    color: var(--black-70);
    font-size: 14px;
    margin-bottom: 15px;
}

.btn-link {
    color: var(--main-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.btn-link:hover {
    text-decoration: underline;
}


/* New Services/Skills Section Design */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.service-card:hover,
.service-card.active {
    background-color: var(--main-color);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.service-card .icon-wrapper {
    display: inline-block;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(var(--main-color-rgb), 0.1);
    /* Fallback or specific light color */
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card .icon-wrapper .icon {
    font-size: 35px;
    color: var(--main-color);
}

.service-card:hover .icon-wrapper,
.service-card.active .icon-wrapper {
    background-color: var(--white);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--black-90);
    transition: color 0.3s ease;
}

.service-card p {
    color: var(--black-70);
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.service-card:hover h3,
.service-card.active h3,
.service-card:hover p,
.service-card.active p {
    color: var(--white);
}


/* Perfect Design Refinement for Skills Section */
:root {
    --skill-purple: #7B3FE4;
    --skill-purple-light: #E0D3F9;
    --skill-gradient: linear-gradient(135deg, #7B3FE4 0%, #5B2ACB 100%);
    --skill-text-grey: #6c757d;
}

.services-grid {
    gap: 30px;
    padding: 20px;
}

.service-card {
    border-radius: 20px;
    padding: 50px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: none;
    /* Remove any border */
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.service-card .icon-wrapper {
    width: 90px;
    height: 90px;
    background-color: var(--white);
    /* Default white for non-active */
    border-radius: 50%;
    margin: 0 auto 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* Subtle shadow for icon */
}

.service-card .icon-wrapper .icon {
    font-size: 32px;
    color: var(--skill-purple);
}

/* Specific Override for Icons to match the image style (light purple bg circle) */
.service-card:not(.active) .icon-wrapper {
    background-color: #F8F5FF;
    /* Very light purple tint */
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c2c2c;
}

.service-card p {
    color: var(--skill-text-grey);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Active / Highlighted Card Styling */
.service-card.active {
    background: var(--skill-gradient);
    color: #fff;
    box-shadow: 0 20px 50px rgba(123, 63, 228, 0.4);
}

.service-card.active .icon-wrapper {
    background-color: #fff;
}

.service-card.active .icon-wrapper .icon {
    color: var(--skill-purple);
}

.service-card.active h3 {
    color: #fff;
}

.service-card.active p {
    color: rgba(255, 255, 255, 0.9);
}

/* Make titles match the 'Services' look */
.section-title .title {
    color: var(--skill-purple);
    font-size: 16px;
    letter-spacing: 2px;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
    text-transform: uppercase;
}

.section-title .sub-title {
    font-size: 36px;
    font-weight: 800;
    color: #222;
}