@tailwind base;
@tailwind components;
@tailwind utilities;

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

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

@keyframes marquee {
    0% {
        left: 100%;
    }

    100% {
        left: -100%;
    }
}

@keyframes radar {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    60% {
        opacity: 0.4;
    }

    90% {
        opacity: 0;
    }

    100% {
        transform: scale(3);
    }
}

.tns-outer {
    padding: 0 !important;
    position: relative;
    overflow: visible;
}

.tns-outer [hidden] {
    display: none !important;
}

.tns-outer [aria-controls],
.tns-outer [data-action] {
    cursor: pointer;
}

.tns-slider {
    transition: all 0s;
    display: flex;
}

.tns-slider>.tns-item {
    box-sizing: border-box;
}

.equal-height .tns-item {
    min-height: 100%;
}

.equal-height .tns-item>div {
    height: 100%;
}

.slider-overflow-visible .tns-ovh {
    overflow: visible;
}

.tns-horizontal.tns-subpixel {
    white-space: nowrap;
}

.tns-horizontal.tns-subpixel>.tns-item {
    display: inline-block;
    vertical-align: top;
    white-space: normal;
}

.tns-horizontal.tns-no-subpixel:after {
    content: "";
    display: table;
    clear: both;
}

.tns-horizontal.tns-no-subpixel>.tns-item {
    float: left;
}

.tns-horizontal.tns-carousel.tns-no-subpixel>.tns-item {
    margin-right: -100%;
}

.tns-no-calc {
    position: relative;
    left: 0;
}

.tns-gallery {
    position: relative;
    left: 0;
    min-height: 1px;
}

.tns-gallery>.tns-item {
    position: absolute;
    left: -100%;
    transition: transform 0s, opacity 0s;
}

.tns-gallery>.tns-slide-active {
    position: relative;
    left: auto !important;
}

.tns-gallery>.tns-moving {
    transition: all 0.25s;
}

.tns-autowidth {
    display: inline-block;
}

.tns-lazy-img {
    transition: opacity 0.6s;
    opacity: 0.6;
}

.tns-lazy-img.tns-complete {
    opacity: 1;
}

.tns-ah {
    transition: height 0s;
}

.tns-ovh {
    overflow: hidden;
}

.testimonial-container .tns-ovh {
    overflow: visible;
}

.tns-outer [data-action],
.tns-outer .tns-visually-hidden {
    display: none;
}

.tns-visually-hidden {
    position: absolute;
    left: -10000em;
}

.tns-transparent {
    opacity: 0;
    visibility: hidden;
}

.tns-fadeIn {
    opacity: 1;
    filter: alpha(opacity=100);
    z-index: 0;
}

.tns-normal,
.tns-fadeOut {
    opacity: 0;
    filter: alpha(opacity=0);
    z-index: -1;
}

.tns-vpfix {
    white-space: nowrap;
}

.tns-vpfix>div,
.tns-vpfix>li {
    display: inline-block;
}

.tns-t-subp2 {
    margin: 0 auto;
    width: 310px;
    position: relative;
    height: 10px;
    overflow: hidden;
}

.tns-t-ct {
    width: 2333.3333333333%;
    width: calc(100% * 70 / 3);
    position: absolute;
    right: 0;
}

.tns-t-ct:after {
    content: "";
    display: table;
    clear: both;
}

.tns-t-ct>div {
    width: 1.4285714286%;
    width: calc(100% / 70);
    height: 10px;
    float: left;
}

.tns-controls {
    display: inline-flex;
}

.tns-controls button {
    display: block;
    width: 38px;
    height: 38px;
    background-color: rgba(0, 0, 0, 0);
    line-height: 0;
    font-size: 0;
    cursor: pointer;
    color: rgba(0, 0, 0, 0);
    padding: 0;
    border: none;
    outline: none;
    z-index: 99;
    border-radius: 50%;
}

.tns-controls button:focus {
    outline: none;
}

.tns-controls button:disabled {
    opacity: 0.4;
    pointer-events: none;
}

@media (max-width: 990px) {
    .tns-arrows-mobile .tns-controls {
        display: flex;
        justify-content: center;
    }

    .tns-arrows-mobile .tns-controls button {
        left: 0;
        right: 0;
        position: relative;
        margin: 0;
        margin: 0 8px;
    }
}

.top-controls .tns-controls {
    position: absolute;
    right: 0;
    top: -62px;
}

@media (max-width: 767px) {
    .top-controls .tns-controls {
        position: static;
        margin: 0 auto;
        display: flex;
        justify-content: center;
        margin: 25px 0 0;
    }
}

.tns-nav {
    text-align: center;
    position: relative;
    bottom: 0;
    padding: 24px 0 0 0;
}

.tns-nav>[aria-controls] {
    width: 8px;
    height: 8px;
    padding: 0;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(32, 67, 134, 0.33);
    border: 0;
}

.tns-nav>.tns-nav-active {
    background: #204386;
}

.blog-container .tns-controls {
    position: absolute;
    top: -60px;
    right: -5px;
    width: 100%;
    justify-content: flex-end;
}

.blog-container .tns-controls button:first-child {
    margin-right: 16px;
}

.related-course {
    position: relative;
}

.related-course .tns-controls {
    position: absolute;
    bottom: -62px;
    left: 50%;
    transform: translateX(-50%);
}

.tns-controls [data-controls="next"] {
    width: 36px;
    height: 36px;
    background: url(../img/arrow-right-circle.svg);
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
}

.tns-controls [data-controls="prev"] {
    margin-right: 10px;
    width: 36px;
    height: 36px;
    background: url(../img/arrow-left-circle.svg);
    border: none;
    cursor: pointer;
    outline: none;
    padding: 0;
}

.top-videos {
    position: relative;
}

.top-videos .tns-controls {
    position: absolute;
    top: 0%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 32px;
}

@media (max-width: 768px) {
    .top-videos .tns-controls {
        margin-top: 20px;
    }
}

.testimonials-container {
    position: relative;
}

.testimonials-container .tns-outer {
    width: 70%;
}

@media (max-width: 768px) {
    .testimonials-container .tns-outer {
        width: 100%;
    }
}

.testimonials-container .tns-controls {
    display: flex !important;
    position: absolute;
    top: 70%;
    left: -41%;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .testimonials-container .tns-controls {
        left: 11%;
        top: 0%;
    }
}

.top-rated .tns-controls {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}


*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-overflow-scrolling: touch;
    outline: none;
}

html {
    background: #fff;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    -webkit-backface-visibility: hidden;
}

body {
    font-family: "Lato", serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    color: #061623;
    background-color: #fff;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
}

body.overflow {
    overflow: hidden;
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }
}

ul,
ol {
    padding: 0;
    margin: 0;
}

a {
    color: #061623;
    font-weight: 600;
}

a,
button {
    transition: 0.4s ease-out;
    font-family: "Lato", serif;
    font-weight: bold;
}

a,
a:hover,
a:active,
a:focus,
button,
button:hover,
button:active,
button:focus {
    text-decoration: none;
}

button {
    cursor: pointer;
    transition: 0.3s ease;
    font-family: "Lato", serif;
    font-weight: bold;
    font-size: 18px;
}

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

button:hover {
    filter: brightness(0.9);
}

main {
    max-width: 100vw;
}

.manrope {
    font-family: "Lato", serif;
}

h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    font-weight: 500;
    color: #061623;
}

h1 {
    font-family: "Lato", serif;
    color: #fff;
    font-size: 52px;
    font-style: normal;
    font-weight: 600;
    line-height: 56px;
    letter-spacing: 0px;
}

@media (max-width: 768px) {
    h1 {
        text-align: start;
        font-size: 40px;
        line-height: 48px;
    }
}

@media (max-width: 550px) {
    h1 {
        text-align: center;
    }
}

h2 {
    color: #111441;
    font-family: "Lato", serif;
    font-size: 44px;
    font-style: normal;
    font-weight: 600;
    line-height: 58px;
}

@media (max-width: 768px) {
    h2 {
        font-size: 24px;
        font-weight: 700;
        line-height: 32px;
    }
}

h3 {
    font-size: 28px;
    font-weight: 700;
    line-height: 38px;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    h3 {
        font-size: 24px;
        font-weight: 700;
        line-height: 34px;
        letter-spacing: -0.5px;
    }
}

h4 {
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
}

h5 {
    color: #111441;
    font-size: 20px;
    font-style: normal;
    font-weight: bold;
    line-height: 26px;
}

@media (max-width: 768px) {
    h5 {
        font-size: 20px;
        line-height: 32px;
    }
}

h6 {
    color: #111441;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}

p,
li {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: -0.2px;
    color: #061623;
}

.font-body {
    font-family: "Lato", serif;
}

.font-heading {
    font-family: "Lato", serif;
}

.nav-link {
    color: #fff;
    /* text-transform: uppercase; */
    font-family: "Lato", serif;
    font-weight: normal;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

img,
video {
    max-width: 100%;
    vertical-align: middle;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

.container {
    max-width: 1240px;
}

.small-container {
    max-width: 1070px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0 16px;
}

@media (max-width: 1300px) {
    .small-container {
        max-width: 100%;
    }
}

.row {
    display: flex;
    margin: 0 -16px;
    flex-wrap: wrap;
}

.button-unstyled {
    background-color: rgba(0, 0, 0, 0);
    border: none;
    padding: 0;
}

.button {
    @apply inline-flex items-center justify-center;
    transition: 0.4s ease-out;
}

.button div .button-content-hover {
    position: absolute;
    inset: 0;
    transform: translateY(100%) skewY(18deg);
    transform-origin: left center;
    transition: 0.4s ease-out;
}

.button div .button-content {
    transform: translateY(0) skew(0);
    transition: 0.4s ease-out;
    display: inline-block;
}

.button:hover div .button-content-hover {
    transform: translateY(0%) skewY(0);
}

.button:hover div .button-content {
    opacity: 0;
    transform: translateY(-100%) skew(-18deg);
    transition: 0.4s ease-out;
}

.section-pad {
    padding: 100px 0;
}

@media (max-width: 767px) {
    .section-pad {
        padding: 60px 0;
    }
}

.heading {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
}

@media (max-width: 1200px) {
    .heading {
        font-size: 38px;
    }
}

@media (max-width: 767px) {
    .heading {
        font-size: 28px;
    }
}

.rigi-hero {
    position: relative;
}

.rigi-hero::before {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/hero-pattern-l.svg");
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    width: 467px;
    height: 654px;
}

@media (max-width: 768px) {
    .rigi-hero::before {
        background-image: url("../img/rigi/hero-pattern-mweb.svg");
        top: -13%;
        left: -24%;
        background-size: 500px 600px;
    }
}

.rigi-hero::after {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/hero-pattern-r.svg");
    background-repeat: no-repeat;
    top: 0;
    right: 0;
    width: 467px;
    height: 654px;
}

@media (max-width: 768px) {
    .rigi-hero::after {
        display: none;
    }
}

.video-top-overlay {
    position: absolute;
    top: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0) 100%);
    width: 100%;
    height: 80px;
}

.zap-list {
    list-style-type: none;
    padding-left: 0;
}

.zap-list li {
    padding-left: 36px;
    @apply mb-3 text-base relative last:mb-0;
}

.zap-list li::before {
    content: url("../img/rigi/zap.svg");
    position: absolute;
    left: 0;
}

@media (max-width: 767px) {
    .zap-list li {
        @apply text-sm;
    }
}

.greentick-list {
    list-style-type: none;
    padding-left: 0;
}

.greentick-list li {
    padding-left: 36px;
    @apply mb-2 text-base font-medium relative last:mb-0;
}

.greentick-list li::before {
    content: url("../img/rigi/green-tick.svg");
    position: absolute;
    left: 0;
}

@media (max-width: 767px) {
    .greentick-list li {
        @apply text-sm mb-[12px];
    }
}

.special-discount::before {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/discount-star.svg");
    background-repeat: no-repeat;
    top: -10%;
    left: -5%;
    width: 175px;
    height: 175px;
    z-index: 0;
}

.special-discount::after {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/discount-grid.svg");
    background-repeat: no-repeat;
    top: -8%;
    right: 0%;
    width: 488px;
    height: 518px;
    z-index: 0;
}

.course-benefits {
    position: relative;
    overflow: hidden;
}

.course-benefits:before {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/benefits-grid.svg");
    background-repeat: no-repeat;
    top: -10%;
    left: -5%;
    width: 655px;
    height: 918px;
    z-index: 0;
}

.course-benefits:after {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/benefits-grid.svg");
    background-repeat: no-repeat;
    top: -10%;
    right: 0%;
    width: 655px;
    height: 918px;
    z-index: 0;
}

@media (max-width: 768px) {
    .course-benefits:after {
        display: none;
    }
}

.community {
    position: relative;
    background-image: url("../img/rigi/round-glow.svg");
    background-repeat: no-repeat;
    background-position: center;
    overflow: hidden;
}

.community::before {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/community-l.png");
    background-repeat: no-repeat;
    top: 2%;
    left: 0%;
    width: 234px;
    height: 577px;
    z-index: 0;
}

@media (max-width: 768px) {
    .community::before {
        background-size: 120px 290px;
        top: 3%;
        left: -15%;
    }
}

.community::after {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/community-r.png");
    background-repeat: no-repeat;
    top: 2%;
    right: 0%;
    width: 234px;
    height: 577px;
    z-index: 0;
}

@media (max-width: 768px) {
    .community::after {
        background-size: 120px 290px;
        right: -40%;
    }
}

.achievement-grid::after {
    content: "";
    position: absolute;
    background-image: url("../img/rigi/dark-grid.svg");
    background-repeat: no-repeat;
    top: 22%;
    right: 0%;
    width: 189px;
    height: 518px;
    z-index: 0;
}

@media (max-width: 768px) {
    .achievement-grid::after {
        top: -92%;
        background-size: 189px 300px;
    }
}

.achievement-grid.active {
    min-width: 610px;
    transition: all 0.4s ease-out;
}

@media (max-width: 768px) {
    .achievement-grid.active {
        min-width: 100%;
        min-height: 365px;
    }
}

.achievement-grid.active .overlay-grid {
    transition: all 0.4s ease-out;
    opacity: 1;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 10;
}

.course-content-center::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 80%;
    background-color: rgba(112, 67, 227, 0.19);
    top: 0;
    left: 50%;
    z-index: 0;
}

.nav-dropdown-open {
    transform: translateY(0%);
}

.nav-area a:not(.button) {
    transition: 0.4s ease-out;
}

.nav-area .hamburger {
    display: none;
}

@media (max-width: 1200px) {
    .nav-area ul {
        position: fixed;
        top: 40px;
        bottom: 0;
        width: 100%;
        height: 100vh;
        overflow: auto;
        width: 360px;
        right: 0;
        background-color: #111441;
        padding: 40px 0 30px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transform: translateX(100%);
        transition: 0.4s ease-out;
    }

    .nav-area ul li {
        margin: 0;
        width: 100%;
    }

    .nav-area ul li a:not(.button) {
        font-size: 16px;
        display: block;
        padding: 12px 16px;
        border-bottom: 1px solid #f7f7f2;
    }

    .nav-area ul li.button-wrapper {
        flex: 1;
        display: flex;
        align-items: flex-end;
        padding: 0 20px 24px;
    }

    .nav-area ul li.button-wrapper a {
        width: 100%;
    }

    .nav-area .hamburger {
        display: flex;
        flex-direction: column;
        gap: 3px;
        width: 32px;
        height: 32px;
        padding: 7px;
        margin-left: auto;
    }

    .nav-area .hamburger span {
        width: 100%;
        height: 3px;
        border-radius: 30px;
        background-color: #fff;
        transition: 0.3s ease-out;
    }
}

@media (max-width: 1200px) and (max-width: 768px) {
    .nav-area .hamburger span {
        background-color: #fff;
    }
}

@media (max-width: 1200px) {
    .nav-area .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 1px);
    }

    .nav-area .hamburger.active span:nth-child(2) {
        transform: scale(0);
    }

    .nav-area .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -3px);
        width: 100%;
    }

    .nav-area.nav-open ul {
        transform: translateX(0);
    }
}

@media (max-width: 520px) {
    .nav-area ul {
        width: 100%;
    }
}

.show-footer-banner {
    transform: translateY(0%);
}

.visible-popup {
    transform: translateY(0px) !important;
    opacity: 1;
    z-index: 10;
}

.visible-popup .popup-slider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background-color: #7043e3;
    transform-origin: left;
}

@media (max-width: 768px) {
    .visible-popup {
        transform: translateY(0%);
    }
}

@keyframes countdown {
    0% {
        width: 100%;
    }

    100% {
        width: 0%;
    }
}

.animate {
    animation: countdown 15s linear forwards;
}

.win-win-book {
    position: relative;
}

.win-win-book::after {
    background: url(../img/pattern.png);
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    left: -10%;
    content: "";
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .win-win-book::after {
        background: url(../img/circle-mobile.png);
        left: -27%;
        top: 26%;
    }
}

.triangle-shape {
    margin-top: -120px;
    transform: scale(1.5);
}

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    background: url(../img/gradient.png);
    width: 100%;
    height: 676px;
    background-size: 100%;
    background-repeat: no-repeat;
    bottom: -30%;
    right: -50%;
}

@media (max-width: 768px) {
    .hero-section::after {
        background: none;
    }
}

@media (max-width: 550px) {
    .hero-section::after {
        background: url(../img/gradient-mobile.png);
        bottom: -7%;
        right: -25%;
    }
}

.hero-section-dark {
    position: relative;
    overflow: hidden;
}

.hero-section-dark::after {
    content: "";
    position: absolute;
    background: #1d205a;
    opacity: 0.7;
    width: 100%;
    height: 676px;
    background-size: 100%;
    background-repeat: no-repeat;
    bottom: -30%;
    right: -50%;
    filter: blur(250px);
}

.marketing-mastery {
    position: relative;
    overflow: hidden;
}

.marketing-mastery::after {
    content: "";
    position: absolute;
    background: url(../img/abstract-gradient.png);
    width: 100%;
    height: 676px;
    background-size: 100%;
    background-repeat: no-repeat;
    bottom: -132%;
    right: -42%;
    border-radius: 36px;
}

@media (max-width: 768px) {
    .marketing-mastery::after {
        display: none;
    }
}

@media (max-width: 550px) {
    .marketing-mastery-wrapper {
        position: relative;
        overflow: hidden;
    }

    .marketing-mastery-wrapper::after {
        content: "";
        position: absolute;
        background: url(../img/gradient-mobile.png);
        width: 100%;
        height: 676px;
        background-size: 100%;
        background-repeat: no-repeat;
        bottom: -22%;
        right: -14%;
        border-radius: 36px;
    }
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content.expanded {
    max-height: 1000px;
}

.accordion-icon {
    transition: transform 0.3s ease-in-out;
}

.rotate {
    transform: rotate(180deg);
}

 .yellow-underline::after {
     content: "";
     display: block;
     width: 80px;
     /* Adjust based on the image size */
     height: 30px;
     /* Adjust based on the image size */
     background-image: url('../img/vector_watch.webp');
     /* Path to your SVG or image */
     background-size: contain;
     /* Adjust to fit the image */
     background-repeat: no-repeat;
     background-position: center;
     margin-top: 10px;
     margin-left: auto;
     margin-right: auto;
 }

 swiper-container::part(button-prev) {
     color: white;
 }

 swiper-container::part(button-next) {
     color: white;
 }

 swiper-container::part(bullet-active) {
     background-color: black;
 }
 .text-gradient{
      background: linear-gradient(to right, #F6346D, #FE7A58);
  -webkit-background-clip: text;
  color: transparent;
 }

 .fml-gradient{
    background: rgb(252,134,50);
    background: linear-gradient(145deg, rgba(252,134,50,1) 0%, rgba(240,46,37,1) 100%);
 }

 .fml-text-gradient{
    background: rgb(252,134,50);
    background: linear-gradient(145deg, rgba(252,134,50,1) 0%, rgba(240,46,37,1) 100%);
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
 }

 .black-gradient{
    background: rgb(0,0,0);
    background: linear-gradient(140deg, rgba(0,0,0,1) 0%, rgba(56,56,56,1) 100%);
 }