/* --- RESET & VARIABLES --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --font-body: 'Cairo', sans-serif;
    --font-heading: 'Cairo', sans-serif;
    --color-lime: #d4f639;
    --color-lime-hover: #c2e62b;
    --color-dark: #C6A65D;
    --color-purple: #361f3d;
    --color-text-light: #f4f4f4;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-light);
    background-color: var(--color-dark);
    line-height: 1.8;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    background-color: var(--color-lime);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    font-family: var(--font-body);
}

.btn:hover {
    background-color: var(--color-lime-hover);
    transform: translateY(-2px);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

/* --- HEADER --- */
header {
    text-align: center;
    padding: 20px 0;
    background: #000;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    /* letter-spacing: 3px; */
    color: #fff;
    text-decoration: none;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1512290923902-8a9f81dc236c?w=1200&h=800&fit=crop');
    background-size: cover;
    background-position: center;
    padding: 60px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-content {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text-box {
    background: rgba(20, 20, 20, 0.95);
    padding: 40px 30px;
    border-radius: 4px;
    text-align: center;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-text-box h1 {
    font-size: 2.2rem;
    margin: 15px 0;
    color: #fff;
}

.hero-text-box p {
    margin-bottom: 25px;
    font-size: 1rem;
    color: #ddd;
}

.form-group {
    margin-bottom: 15px;
    text-align: right;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    text-align: right;
}

.hero-tablet-container {
    position: relative;
    width: 300px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-tablet {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 12px solid #000;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    transform: rotate(-30deg);
    position: relative;
    z-index: 1;
}

/* --- VIDEO SECTION --- */
.video-section {
    background: #111;
    padding: 40px 0;
    text-align: center;
}

.video-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(100, 50, 150, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
}

.play-button::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 20px solid #fff;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.play-button:hover {
    background: rgba(100, 50, 150, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

/* --- CURRICULUM SECTION --- */
.curriculum {
    background-color: var(--color-purple);
    padding: 80px 0;
    text-align: center;
}

.curriculum h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #fff;
}

.day-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.day-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day-img-container {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s;
}

.day-card:hover .day-img-container {
    transform: scale(1.05);
}

.day-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.day-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-lime);
}

.day-card ul {
    list-style: none;
    text-align: right;
    padding-right: 20px;
}

.day-card ul li {
    margin-bottom: 8px;
    position: relative;
    font-size: 0.95rem;
    color: #e0e0e0;
}

.day-card ul li::before {
    content: "•";
    color: var(--color-lime);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-right: -1em;
}

.day-card strong {
    color: #fff;
}

/* --- TESTIMONIALS CAROUSEL --- */
.testimonials {
    position: relative;
    padding: 80px 0 60px;
    background: url('https://images.unsplash.com/photo-1544717305-2782549b5136?w=1200&h=800&fit=crop') no-repeat center center/cover;
    text-align: center;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #787569bf;
    z-index: 1;
}

.testimonials-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.swiper-slide {
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    backdrop-filter: blur(5px);
    border-radius: 15px;
    text-align: center;
}

.swiper-button-next,
.swiper-button-prev {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
}

.swiper-button-next {
    left: -80px !important;
    display: none;
}

.swiper-button-prev {
    right: -80px !important;
    display: none;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-lime);
    color: var(--color-dark);
}

.review-text {
    font-size: 1.1rem;
    color: #eee;
    margin-bottom: 20px;
    line-height: 1.8;
}

.swiper-pagination {
    bottom: -50px !important;
    position: relative !important;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: var(--color-lime);
}

/* --- IMAGE BANNER --- */
.image-banner {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    direction: rtl;
}

.image-banner__bg {
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1506126613408-eca07ce68773?w=1400&h=600&fit=crop') no-repeat center center / cover;
    z-index: 0;
}

.image-banner__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, rgba(26, 10, 36, 0.85) 40%, rgba(26, 10, 36, 0.2) 100%);
}

.image-banner__content {
    position: relative;
    z-index: 1;
    max-width: 480px;
    padding: 60px 60px 60px 20px;
    text-align: right;
}

.image-banner__content h2 {
    font-size: 2.2rem;
    color: var(--color-lime);
    margin-bottom: 16px;
    line-height: 1.4;
}

.image-banner__content p {
    font-size: 1.1rem;
    color: #e8e8e8;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .image-banner {
        justify-content: center;
        min-height: 360px;
    }

    .image-banner__bg::after {
        background: rgba(26, 10, 36, 0.75);
    }

    .image-banner__content {
        padding: 40px 24px;
        text-align: center;
    }

    .image-banner__content h2 {
        font-size: 1.6rem;
    }


    .hero-tablet {
        width: 68%;
        height: 70%;
        object-fit: cover;
        border: 12px solid #000;
        border-radius: 15px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
        transform: rotate(-25deg);
        position: relative;
        z-index: 1;
    }

    .hero-text-box h1,
    .curriculum h2 ,
    .testimonials h2{
        font-size: 2rem;
    }

    .btn {
        font-size: 0.8rem;
    }
}

/* --- FOOTER CTA --- */
.footer-cta {
    background: var(--color-purple);
    padding: 80px 0 40px;
    text-align: center;
}

.arrow-icon {
    width: 70px;
    height: 70px;
    background: var(--color-lime);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 0 20px rgba(106, 58, 133, 0.5);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.footer-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.footer-cta p {
    margin-bottom: 30px;
    color: white;
}

.footer-form {
    max-width: 500px;
    margin: 0 auto;
}

.footer-links {
    margin-top: 50px;
    font-size: 0.8rem;
    color: white;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
}

/* --- DESKTOP MEDIA QUERIES --- */
@media (min-width: 992px) {
    .hero-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        padding-top: 40px;
    }

    .hero-text-box {
        width: 100%;
        text-align: right;
        margin-top: 80px;
        position: relative;
        z-index: 10;
    }

    .hero-text-box h1 {
        font-size: 3rem;
    }

    .hero-tablet-container {
        width: 335px;
        height: 450px;
        position: absolute;
        left: 15%;
        top: 30%;
        transform: translateY(-50%);
        z-index: 500;
    }

    .day-grid {
        grid-template-columns: repeat(4, 1fr);
        text-align: center;
    }

    .day-grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .day-card {
        align-items: center;
    }

    .day-card ul {
        text-align: right;
        display: inline-block;
        padding-right: 0;
    }

    .day-card ul li::before {
        margin-right: -1em;
    }
}

/* --- HOMEPAGE LISTING --- */
.listing-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 60px 0;
}

.listing-hero__inner {
    width: 100%;
}

.listing-hero__text {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.listing-hero__badge {
    display: inline-block;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .2);
    padding: 5px 18px;
    border-radius: 30px;
    font-size: .8rem;
    color: var(--color-lime);
    /* letter-spacing: .5px; */
    margin-bottom: 18px;
}

.listing-hero__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, .5);
}

.listing-hero__sub {
    font-size: 1.15rem;
    color: var(--color-lime);
    margin-bottom: 12px;
    font-weight: 600;
}

.listing-hero__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, .8);
    max-width: 520px;
    margin: 0 auto 28px;
    line-height: 1.8;
}

.listing-hero__cta {
    font-size: 1rem;
    padding: 14px 36px;
}

/* --- COURSES GRID --- */
.courses-section {
    background: var(--color-dark);
    padding: 80px 0 100px;
}

.courses-section__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    text-align: center;
    margin-bottom: 48px;
    color: #fff;
}

.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 700px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Course card */
.course-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: transform .35s, box-shadow .35s;
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55);
}

.course-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .5s;
}

.course-card:hover .course-card__bg {
    transform: scale(1.05);
}

.course-card__overlay {
    position: absolute;
    inset: 0;
}

.course-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 20px;
}

.course-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: flex-start;
}

.course-card__badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
    /* letter-spacing: .3px; */
}

.course-card__sub-badge {
    display: inline-block;
    background: rgba(255, 255, 255, .15);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .72rem;
    border: 1px solid rgba(255, 255, 255, .25);
}

.course-card__bottom {
    margin-top: auto;
}

.course-card__title {
    font-size: 1.55rem;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .5);
    line-height: 1.3;
}

.course-card__desc {
    font-size: .88rem;
    color: rgba(255, 255, 255, .75);
    margin-bottom: 14px;
    line-height: 1.5;
}

.course-card__price {
    margin-bottom: 14px;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.price-highlight {
    font-size: 1.5rem;
    font-weight: 900;
}

.price-original {
    font-size: .9rem;
    color: white;
    text-decoration: line-through;
}

.course-card__cta {
    display: inline-block;
    padding: 11px 26px;
    font-size: .9rem;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

.course-card__cta:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

/* --- SITE FOOTER --- */
.site-footer {
    background: var(--color-lime);
    padding: 24px 0;
    text-align: center;
    color: white;
    font-size: .82rem;
}
