:root {
    --baseLineHeight: 1.5;
    --pinkLight: #ffecf0;
    --blue: #1769ff;

    --redTick: url("data:image/svg+xml,%3Csvg width='18' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.552.134 5.717 10.97 1.448 6.701 0 8.149l5.717 5.717L18 1.583 16.552.134Z' fill='%23EA455F'/%3E%3C/svg%3E%0A");

    --whiteTick: url("data:image/svg+xml,%3Csvg width='18' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.552.134 5.717 10.97 1.448 6.701 0 8.149l5.717 5.717L18 1.583 16.552.134Z' fill='%23FFFFFF'/%3E%3C/svg%3E%0A");

    --goldTick: url("data:image/svg+xml,%3Csvg width='18' height='14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M16.552.134 5.717 10.97 1.448 6.701 0 8.149l5.717 5.717L18 1.583 16.552.134Z' fill='%23FFD700'/%3E%3C/svg%3E%0A");

    --close: url("data:image/svg+xml,%3Csvg width='18' height='18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18 1.414 16.586 0 9 7.586 1.414 0 0 1.414 7.586 9 0 16.586 1.414 18 9 10.414 16.586 18 18 16.586 10.414 9 18 1.414Z' fill='%23B1B8C9'/%3E%3C/svg%3E");
}

/* Overall */
body {
    margin: 0;
    padding: 0;
    font-family: Tajawal;
    font-size: 1.375rem;
    height: 100%;
    width: 100%;
    color: #624223;
    text-align: right;
}

button {
    background: linear-gradient(90deg, #bb8532, #f4dc81, #bb8532);
    color: white;
    padding: 1rem 5rem;
    font-weight: bold;
    font-family: Tajawal;
    border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

button:hover {
    transform: scale(1.2);
}

input[type="submit"] {
    background: linear-gradient(90deg, #bb8532, #f4dc81, #bb8532);
    color: white;
    padding: 1rem 5rem;
    font-weight: bold;
    font-family: Tajawal;
    border-radius: 16px;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 1.5rem;
    margin-top: 2rem;
}

span {
    font-weight: bold;
    background: linear-gradient(90deg, #f4d66a, #bb8532);
    -webkit-background-clip: text;
    color: transparent;
    background-clip: text;
}

/* Buy Course Popup */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background-color: #fff;
    padding: 5rem 10rem;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    max-height: 60vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    cursor: pointer;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    padding: 10px 0;
}

.progress-bar:before {
    content: "";
    position: absolute;
    top: 30%;
    left: 10%;
    right: 10%;
    height: 2px;
    background-color: #ccc;
    z-index: 0;
}

.progress-bar .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.progress-bar .step .step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
}

.progress-bar .step.active .step-icon {
    background-color: #007bff;
    color: white;
}

.progress-bar .step .step-label {
    margin-top: 5px;
    text-align: center;
    font-size: 12px;
}

.form-container {
    background-color: #f5f1e1;
    padding: 3rem;
    border-radius: 8px;
}

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-bottom: 5px;
}

form input {
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.safe-payment {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid #ccc;
}

.safe-payment img {
    width: 50%;
    height: auto;
}

.iti__country-list .iti__country-name {
    color: #333;
}


/* Whatsapp bubbble */
.whatsapp-bubble {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.whatsapp-bubble:hover {
    transform: scale(1.1);
}

.whatsapp-bubble img {
    width: 50%;
    height: auto;
    max-width: 100%;
    display: block;
}

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: sticky;
    top: 0;
    z-index: 99;
    background-color: white;
    transition: transform 0.3s ease;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 1;
}

/* Hamburger Menu */
.hamburger {
    position: relative;
    display: block;
    width: 35px;
    cursor: pointer;
    appearance: none;
    background: none;
    outline: none;
    border: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.hamburger .bar,
.hamburger:after,
.hamburger:before {
    content: '';
    display: block;
    width: 100%;
    height: 5px;
    background-color: rgb(68, 41, 41);
    margin: 6px 0;
    transition: 0.4s;
}

.hamburger.is-active:before {
    transform: rotate(-45deg) translate(-8px, 6px);
}

.hamburger.is-active:after {
    transform: rotate(45deg) translate(-9px, -8px);
}

.hamburger.is-active .bar {
    opacity: 0;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    min-height: 100vh;
    display: block;
    z-index: 98;
    background-color: white;
    padding-top: 200px;
    transition: 0.4s;
}

.mobile-nav.is-active {
    left: 0;
}

.mobile-nav a {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto 16px;
    text-align: center;
    width: fit-content;
    color: #624223;
    text-decoration: none;
    font-weight: bold;
}

.mobile-nav a:hover {
    color: #bb8532;
}

header div img {
    max-width: 150px;
}

nav ul {
    list-style-type: none;
    display: flex;
}

header nav ul li {
    padding: 0 1rem;
    border-right: solid 1px #8a6e4b;
}

nav ul li:last-child {
    border: none;
}

header nav ul li a {
    color: #8a6e4b;
    text-decoration: none;
    padding: 10px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    transform: scale(1.2);
    color: #bb8532;
}

/* Banner */
.banner-container {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    filter: brightness(0.8);
}

.banner-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/rana-jamal2.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% 12%;
    z-index: 1;
}

.banner-text-container {
    margin-right: 10%;
    margin-left: 60%;
    position: relative;
    z-index: 2;
    color: #fff;
}

.banner-title {
    margin: 0;
    filter: brightness(1.5);
}

/* Features & About Course */
.benefits-and-about-course-container {
    background: linear-gradient(to bottom, #ffffff 10%, #f5f1e1 80%, #ffffff 100%);
    padding-bottom: 4rem;
}

/* Features */
.features-section-container {
    text-align: center;
    padding-top: 10rem;
}

.features-container {
    display: flex;
    justify-content: center;
    margin: 0 6rem;
}

.single-feature-container {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    border-radius: 10px;
    margin-left: 4rem;
    padding: 1rem;
    flex: 1;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: var(--delay, 0s);
}

.single-feature-container.show {
    opacity: 1;
    transform: scale(1);
}

.features-title {
    margin: 0 0 2rem 0;
}

.single-feature-title {
    margin: 0;
}

/* About course */
.about-course-container {
    margin: 10rem 10%;
    display: flex;
}

.about-course-container img {
    width: 50%;
    border-radius: 1rem;
    margin-right: 4rem;
    object-fit: contain;
}

.about-course-information-container {
    margin-right: 0;
}

.about-course-information-container ul li {
    direction: rtl;
}

/* About me */
.about-me-container {
    margin: 5rem 10rem 10rem 10rem;
    display: flex;
    align-items: center;
    border: 1px solid #8a6e4b;
    padding: 20px;
    position: relative;
    background-color: #f5f1e1;
}

.about-me-content-container {
    display: flex;
    align-items: center;
    padding: 20px;
}

.about-me-content-container h2 {
    font-size: 2rem;
    margin: 0;
}

.about-me-content-container .quote {
    font-style: italic;
    font-weight: bold;
    margin-top: 10px;
}

.about-me-description-container {
    width: 75%;
}

.about-me-experience-container {
    flex: 1;
    text-align: center;
    padding-left: 2rem;
    margin-left: 2rem;
    border-left: solid 1px #8a6e4b;
}

.about-me-experience-container .years {
    font-size: 3rem;
    color: #8a6e4b;
}

.about-me-container img {
    width: 30%;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: 0.2s;
}

.about-me-container img.show {
    opacity: 1;
    transform: scale(1);
}

/* Testimonials & Video */
.section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f5f1e1;
}

.stats {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.stat {
    font-family: Poppins;
    margin: 0 20px;
}

.stat h4 {
    font-size: 3rem;
    margin: 0;
}

.stat p {
    margin: 5px 0 0;
}

#customers-testimonials .item {
    text-align: center;
    margin-bottom: 80px;
    opacity: .2;
    -webkit-transform: scale3d(0.8, 0.8, 1);
    transform: scale3d(0.8, 0.8, 1);
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

#customers-testimonials .owl-item.active.center .item {
    opacity: 1;
    -webkit-transform: scale3d(1.0, 1.0, 1);
    transform: scale3d(1.0, 1.0, 1);
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot.active span,
#customers-testimonials.owl-carousel .owl-dots .owl-dot:hover span {
    background: #624223;
    transform: translate3d(0px, -50%, 0px) scale(0.7);
}

#customers-testimonials.owl-carousel .owl-dots {
    display: inline-block;
    width: 100%;
    text-align: center;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
}

#customers-testimonials.owl-carousel .owl-dots .owl-dot span {
    background: #8a6e4b;
    display: inline-block;
    height: 20px;
    margin: 0 2px 5px;
    transform: translate3d(0px, -50%, 0px) scale(0.3);
    transform-origin: 50% 50% 0;
    transition: all 250ms ease-out 0s;
    width: 20px;
    border-radius: 50%;
}

.video {
    position: relative;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #f5f1e1 60%, #ffffff 50%);
    text-align: center;
    margin-bottom: 10rem;
}

#video {
    width: 100%;
}

.video-container {
    width: 60rem;
    height: 30rem;
    margin: 0 auto;
    opacity: 0;
    transform: scale(0);
    transition: all 0.5s ease-out;
}

.video-container.show {
    opacity: 1;
    transform: scale(1);
}

/* Newsletter */
.newsletter-container {
    background-color: #f5f1e1;
}

.newsletter-section {
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    margin: 1rem auto;
    padding: 5rem;
    max-width: 600px;
}

.newsletter-section h4 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter-input {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.newsletter-input input {
    border-radius: 5px 0 0 5px;
    border: 1px solid #ccc;
    padding: 0.75rem;
    width: 60%;
    max-width: 500px;
    font-size: 1em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.newsletter-input input:focus {
    border-color: #8a6e4b;
    outline: none;
}

.newsletter-input button {
    border: none;
    border-radius: 0 5px 5px 0;
    color: #fff;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
}

/* Countdown Section */
.countdown-section {
    text-align: center;
    margin-top: 5rem;
    padding: 50px 20px;
    position: relative;
    color: black;
}

.countdown {
    display: flex;
    justify-content: center;
    font-size: 2em;
    margin-bottom: 30px;
}

.countdown div {
    margin: 0 2rem;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown div.show {
    opacity: 1;
    transform: scale(1);
}

.countdown span {
    display: block;
    font-size: 3em;
    font-weight: bold;
}

.countdown-section h2 {
    color: #8a6e4b;
    font-weight: bold;
    font-size: 3rem;
}

/* Pricing Section */
.plans {
    width: 96%;
    max-width: 1128px;
    margin: 0 auto;
}

.planItem__container {
    display: flex;
    gap: 10%;
    margin-bottom: 10rem;
    
}

.planItem {
    --border: 1px solid #e6e6e6;
    --bgColor: #fff;
    --boxShadow: none;

    &__container {
        --direction: column;
        display: grid;
        grid-auto-flow: var(--direction);
        grid-auto-columns: 1fr;
        gap: 1.5rem;
    }

    background-color: var(--bgColor);
    border: var(--border);
    border-radius: 1rem;
    box-shadow: var(--boxShadow);
    padding: 2rem 1.5rem;
    display: inline-flex;
    flex-direction: column;

    .price {
        --priceMargin: 2rem 0;
    }
}

.planItem {
    position: relative;
    background: #1769ff;
    color: white;
}

.choose-plan {
    margin-top: auto;
    padding: 1rem;
    color: black;
    
}

.choose-plan:hover {
    color: white;
}

.card {
    --titleColor: #000;
    --descColor: var(--baseColor);

    &__header {
        display: flex;
        gap: 1rem;
        align-items: right;
    }

    &__icon {
        width: 2.625rem;
        height: 2.625rem;
    }
}

.price {
    --color: white;
    --priceMargin: 0;
    color: var(--color);
    gap: 0.5625rem;
    font-weight: 600;
    font-size: 2rem;
    margin: var(--priceMargin);
}

.featureList {
    --color: white;
    --icon: var(--whiteTick);
    --height: 0.875rem;
    margin: 0 0 2.75rem;
    padding: 0;
    font-weight: 500;
    list-style: none;

    li {
        color: var(--color);
        margin-bottom: 2rem;
        display: flex;
        gap: 1rem;
        direction: rtl;
        position: relative;
        padding-right: 2rem;

        &:before {
            content: "";
            background-image: var(--icon);
            background-size: cover;
            display: block;
            width: 1.125rem;
            height: var(--height);
            position: absolute;
            right: 0;
            top: 0.5rem;
        }

        &:last-child {
            margin-bottom: 0;
        }
    }

    /* Special color for the tick */
    .special-tick:before {
        background-image: var(--goldTick); /* Use a different tick image or color */
    }
}



.offer-badge {
    position: absolute;
    border-radius: 1rem;
    top: -20px;
    right: -5px;
    background: linear-gradient(90deg, #bb8532, #f4dc81, #bb8532);
    color: #fff;
    padding: 10px 25px;
    transform: rotate(30deg);
    animation: pulse 3s ease-in-out infinite;
}


@keyframes pulse {
    0% {
        transform: rotate(30deg) scale(1);
    }

    50% {
        transform: rotate(30deg) scale(1.1);
    }

    100% {
        transform: rotate(30deg) scale(1);
    }
}

/* Keyframes for popIn animation */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Faq Newsletter Contact Wrapper */
.faq-newsletter-contact-wrapper {
    background-color: #f5f1e1;
}

/* FAQ Section */
.faq-section {
    background-color: #f5f1e1;
    padding: 0 0 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
    position: relative;
}

.faq-title {
    margin-top: 2rem;
    font-size: 2rem;
}

.faq-title-last {
    margin-top: 2rem;
    font-size: 2rem;
    margin-right: -100px;
}


.faq {
    max-width: 700px;
    margin-top: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid black;
    cursor: pointer;
}

.question {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.question h4 {
    font-size: 1.8rem;
}

.answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.2s ease;
}

.answer p {
    padding-top: 1rem;
    line-height: 1.6;
    font-size: 1.4rem;
}

.faq.active .answer {
    max-height: 300px;
    animation: fade 1s ease-in-out;
}

.faq.active svg {
    transform: rotate(180deg);
}

svg {
    transition: transform 0.5s ease-in;
}

@keyframes fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0px);
    }
}

/* Contact Section */
.contact-section {
    background-color: #f5f1e1;
    padding: 50px 20px;
    text-align: center;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-section input[type="text"],
.contact-section input[type="email"],
.contact-section textarea {
    width: 80%;
    max-width: 500px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.contact-section input[type="text"]:focus,
.contact-section input[type="email"]:focus,
.contact-section textarea:focus {
    border-color: #8a6e4b;
    outline: none;
}

.contact-section textarea {
    min-height: 150px;
}

/* Footer Section */
.footer {
    display: flex;
    background-color: #131217;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

footer .footer-information-container {
    flex: 1;
}

footer .social-media-container {
    flex: 1;
}

footer .contact-information-container {
    flex: 1;
}

.social-media-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    flex: 1;
}

.social-media-single-container {
    display: flex;
    align-items: center;
}

.social-media-text {
    font-family: Poppins;
    font-size: 1rem;
    margin: 0;
}

.contact-icon {
    max-width: 25px;
    margin-right: 1rem;
}

.information-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.information-container p {
    font-family: Poppins;
}

.copyright {
    font-family: Poppins;
    text-align: center;
    font-size: 0.875rem;
    padding: 0.5rem;
    color: white;
    background-color: black;
    margin: 0;
}

/* Media Queries */
@media (min-width: 767px) {
    .mobile-nav {
        display: none;
    }

    .hamburger {
        display: none;
    }
}

@media screen and (max-width: 1200px) {
    .header div {
        margin-right: 5rem;
    }

    .banner-text-container {
        margin-right: 5%;
        margin-left: 55%;
    }

    .about-course-container {
        margin: 5rem;
    }

    .about-me-container {
        margin: 5rem;
    }
}

@media (max-width: 1030px) {
    header nav ul li {
        padding: 0;
    }

    header nav ul {
        padding: 0;
    }
}

@media screen and (max-width: 992px) {
    .header div {
        margin-right: 2rem;
    }

    .banner-text-container {
        margin-right: 2%;
        margin-left: 50%;
    }

    .features-section-container {
        padding-top: 4rem;
    }

    .features-container {
        flex-direction: column;
        margin: 0 2rem;
    }

    .single-feature-container {
        margin: 1rem 2rem;
    }

    .about-course-container {
        margin: 2rem;
        flex-direction: column;
    }

    .about-course-container img {
        margin: 0 auto 2rem;
    }

    .about-me-container {
        margin: 2rem;
        flex-direction: column-reverse;
    }

    .about-me-container img {
        width: 60%;
        margin-bottom: 1rem;
    }

    .about-me-content-container {
        padding: 1rem;
        flex-direction: column;
    }

    .about-me-description-container {
        width: 100%;
    }

    .about-me-experience-container {
        margin: 2rem 0 0;
        border-left: none;
        border-top: solid 1px #8a6e4b;
        padding-left: 0;
        padding-top: 1rem;
    }

    .countdown {
        font-size: 1em;
    }

    .video-container {
        width: 90%;
    }

    .footer-information-container {
        display: none;
    }

    footer {
        font-size: 0.75rem;
    }

    .contact-icon {
        max-width: 30px;
        margin-right: 1rem;
    }
}

@media screen and (max-width: 768px) {
    header {
        justify-content: space-around;
    }

    .header div img {
        max-width: 100px;
    }

    .banner-text-container {
        padding: 1rem;
        font-size: 1rem;
    }

    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #f5f1ed;
        padding: 1rem;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    }

    .banner-text-container button {
        font-size: 1rem;
    }

    .features-container {
        margin: 0;
    }

    .countdown-section {
        padding: 1rem;
        margin-bottom: 4rem;
    }

    .countdown div {
        margin: 0 1rem;
    }

    .stat h4 {
        font-size: 2rem;
        margin: 0;
    }

    .popup-content {
        padding: 5rem 1rem;
    }

    .plansHero {
        padding: 5rem 0 0;
    }

    .faq-section {
        padding: 2rem;
    }

    .newsletter-container {
        margin: 1rem;
    }

    .newsletter-section {
        padding: 2rem;
    }

    button {
        padding: 1rem;
    }

    .about-me-experience-container .years {
        font-size: 2rem;
    }
}

@media screen and (max-width: 640px) {
    .about-course-container img {
        width: 100%;
    }
    .plans {
        max-width: 480px;
        width: 90%;
    }

    .planItem__container {
        display: block;
        --direction: row;
    }

    .planItem {
        margin: 2rem 0;
    }

    .planItem h2 {
        margin: 0;
    }

    .planItem li {
        margin-bottom: 16px;
    }
}

@media screen and (max-width: 580px) {
    .faq-title-last {
        margin-right: 0;
    }
 }