/* ======== הגדרות בסיס ופונט ======== */
body {
    margin: 0;
    font-family: 'Assistant', sans-serif;
    background-color: #f8f3ea; /* רקע חם בז' */
    color: #333; /* צבע טקסט כהה */
    direction: rtl; /* כיוון האתר RTL */
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto; /* ממקם במרכז */
}

/* ======== החלק הכחול העליון ======== */
.top-section {
    background-image: url('images/hero1.png?v=0.2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: 90px; /* ריפוד עליון כדי לא להסתיר תוכן מאחורי ה-header הקבוע */
    padding-bottom: 100px; /* ריפוד תחתון כדי לתת מקום לחלק הלבן לעלות */
    position: relative;
    overflow: hidden;
}

/* ======== Background Icons ======== */
.background-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.icon {
    position: absolute;
    opacity: 0.15;
    color: white;
    font-size: 24px;
    animation: float 6s ease-in-out infinite;
}

.icon:nth-child(1) { top: 10%; left: 5%; animation-delay: 0s; }
.icon:nth-child(2) { top: 15%; right: 8%; animation-delay: 1s; }
.icon:nth-child(3) { top: 25%; left: 12%; animation-delay: 2s; }
.icon:nth-child(4) { top: 35%; right: 15%; animation-delay: 3s; }
.icon:nth-child(5) { top: 45%; left: 8%; animation-delay: 4s; }
.icon:nth-child(6) { top: 20%; right: 25%; animation-delay: 5s; }
.icon:nth-child(7) { top: 50%; left: 20%; animation-delay: 1.5s; }
.icon:nth-child(8) { top: 30%; right: 35%; animation-delay: 2.5s; }
.icon:nth-child(9) { top: 60%; left: 15%; animation-delay: 3.5s; }
.icon:nth-child(10) { top: 40%; right: 45%; animation-delay: 4.5s; }

/* Icon Shapes */
.icon-triangle::before {
    content: "▲";
    font-size: 28px;
}

.icon-globe::before {
    content: "🌐";
    font-size: 24px;
}

.icon-gamepad::before {
    content: "🎮";
    font-size: 22px;
}

.icon-circle::before {
    content: "●";
    font-size: 20px;
}

.icon-lines::before {
    content: "≡";
    font-size: 26px;
    transform: rotate(45deg);
    display: inline-block;
}

.icon-star::before {
    content: "★";
    font-size: 24px;
}

.icon-hexagon::before {
    content: "⬡";
    font-size: 22px;
}

.icon-diamond::before {
    content: "◆";
    font-size: 20px;
}

.icon-wave::before {
    content: "≈";
    font-size: 26px;
    transform: rotate(15deg);
    display: inline-block;
}

.icon-arrow::before {
    content: "→";
    font-size: 24px;
    transform: rotate(30deg);
    display: inline-block;
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* ======== Falling Stars ======== */
.falling-stars-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.falling-star {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: fallingStar 2s linear forwards;
}

.falling-star::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, white, transparent);
    transform: translateX(-50px);
}

.falling-star::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100px;
    background: linear-gradient(180deg, transparent, white, transparent);
    transform: translateY(-50px);
}

@keyframes fallingStar {
    0% {
        opacity: 0;
        transform: translateY(-100px) translateX(0px);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(50px);
    }
}


/* ======== Header (סרגל הכלים) ======== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.95) 0%, rgba(124, 58, 237, 0.85) 20%, rgba(124, 58, 237, 0.75) 40%, rgba(124, 58, 237, 0.6) 70%, rgba(124, 58, 237, 0) 100%);
    box-shadow: none;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.98) 0%, rgba(124, 58, 237, 0.9) 20%, rgba(124, 58, 237, 0.8) 40%, rgba(124, 58, 237, 0.65) 70%, rgba(124, 58, 237, 0) 100%);
    box-shadow: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.nav-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    height: 55px;
}

.logo img {
    height: 100%;
    width: auto;
}

/* Desktop Menu */
.desktop-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.desktop-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 22px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.8), 0 0 20px rgba(167, 139, 250, 0.6), 0 0 30px rgba(124, 58, 237, 0.4);
}

.desktop-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    transition: left 0.3s ease;
    z-index: -1;
}

.desktop-menu li a:hover::before {
    left: 0;
}

.desktop-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-shadow: 0 0 15px rgba(167, 139, 250, 1), 0 0 25px rgba(167, 139, 250, 0.8), 0 0 35px rgba(124, 58, 237, 0.6);
}

.menu-icon {
    font-size: 68px;
    display: inline-block;
}

.menu-icon-img {
    width: 68px;
    height: 68px;
    display: inline-block;
    vertical-align: middle;
}

.menu-icon-parents {
    width: 52px;
    height: 52px;
}

/* Play Button in Header */
.btn-play {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(-180deg, #a78bfa, #7c3aed);
    color: white;
    text-decoration: none;
    padding: 18px 40px;
    border-radius: 35px;
    font-weight: 700;
    font-size: 22px;
    border: 3px solid #5b21b6;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.8), 0 0 20px rgba(167, 139, 250, 0.6), 0 0 30px rgba(124, 58, 237, 0.4);
}

.btn-play:hover {
    background: linear-gradient(-180deg, #7c3aed, #a78bfa);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.6);
    transform: translateY(-2px);
    text-shadow: 0 0 15px rgba(167, 139, 250, 1), 0 0 25px rgba(167, 139, 250, 0.8), 0 0 35px rgba(124, 58, 237, 0.6);
}

.play-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-play:hover .play-icon {
    animation: playPulse 1s infinite;
}

@keyframes playPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.hamburger {
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.open .line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-btn.open .line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.open .line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 280px;
    background: linear-gradient(180deg, rgba(0, 115, 251, 0.98) 0%, rgba(0, 115, 251, 0.9) 30%, rgba(0, 115, 251, 0.7) 60%, rgba(0, 115, 251, 0.4) 85%, rgba(0, 115, 251, 0.1) 100%);
    padding: 20px 0;
    border-radius: 0 0 0 20px;
    box-shadow: -5px 5px 30px rgba(0, 0, 0, 0.3);
    transition: right 0.4s ease;
    z-index: 999;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu li:last-child {
    border-bottom: none;
}

.mobile-menu li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    text-decoration: none;
    padding: 18px 25px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(167, 139, 250, 0.8), 0 0 20px rgba(167, 139, 250, 0.6), 0 0 30px rgba(124, 58, 237, 0.4);
}

.mobile-menu li a:hover {
    background: rgba(255, 255, 255, 0.15);
    padding-right: 30px;
    text-shadow: 0 0 15px rgba(167, 139, 250, 1), 0 0 25px rgba(167, 139, 250, 0.8), 0 0 35px rgba(124, 58, 237, 0.6);
}

/* ======== עיצוב כפתורים כללי ======== */
.btn {
    text-decoration: none;
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

/* ======== Hero Section (אזור ראשי) ======== */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 150px 0; /* ריפוד כדי להרחיק מהתפריט ומלמטה */
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-text h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 500px;
    margin-right: 0;
    margin-left: auto;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 450px;
    opacity: 0.9;
    margin-right: 0;
    margin-left: auto;
}

/* כפתור Join for Free */
.btn-join {
    background: linear-gradient(-180deg, #FFD548, #FF7200);
    font-size: 28px;
    padding: 25px 60px;
    display: inline-block;
    border: 3px solid #AF3F00;
    box-shadow: 0px 0px 15px rgba(255, 200, 0, 0.6);
    transition: all 0.3s ease;
    font-weight: 700;
    margin-top: 200px;
}

/* תמונת ה-Hero */
.hero-image-placeholder {
    flex-shrink: 0;
    animation: fadeInUp 1s ease-out;
}

.hero-image-placeholder img {
    max-width: 650px;
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-join:hover {
    background: linear-gradient(-180deg, #FF7200, #FFD548);
    box-shadow: 0px 0px 25px rgba(255, 200, 0, 0.8);
    transform: translateY(-2px);
}

/* ======== החלק הלבן התחתון ======== */
.content-section {
    background-color: #f8f3ea;
    color: #333; /* צבע טקסט כהה עבור התוכן הלבן */
    
    /* הפינות העגולות למעלה */
    border-radius: 50px 50px 0 0; 
    margin-top: -50px; /* מושך את החלק הלבן "מעל" הכחול */
    
    padding: 60px 0 80px 0; /* ריפוד פנימי (עליון ותחתון) */
    position: relative; /* נדרש כדי שה-margin-top יעבוד נכון */
    z-index: 1;
}

/* ======== כותרת סקשן ======== */
.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 38px;
    font-weight: 800;
    color: #ff6200;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6200, transparent);
    width: 40%;
    margin: auto;
    margin-top: 60px;
}

.section-title .star {
    display: inline-block;
    margin: 0 30px;
    font-size: 32px;
    animation: starTwinkle 2s infinite ease-in-out;
}

.section-title .star:first-child {
    animation-delay: 0s;
}

.section-title .star:last-child {
    animation-delay: 1s;
}

@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes iconBounce {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) scale(1.1);
        opacity: 1;
    }
}

/* ======== Programs Section (אזור הקורסים) ======== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background-color: white; 
    border-radius: 20px;
    padding: 25px;
    box-shadow: 12px 12px 40px rgba(255, 150, 100, 0.15), -12px -12px 40px rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.6s ease-out;
    display: flex;
    flex-direction: column;
}

.card:nth-child(1) {
    animation-delay: 0.1s;
}

.card:nth-child(2) {
    animation-delay: 0.2s;
}

.card:nth-child(3) {
    animation-delay: 0.3s;
}

.card:nth-child(4) {
    animation-delay: 0.4s;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.card:hover {
    box-shadow: 15px 15px 50px rgba(255, 100, 50, 0.25), -15px -15px 50px rgba(255, 255, 255, 1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0073FB, #00a2ff);
}

.card:nth-child(2)::before {
    background: linear-gradient(90deg, #ff6200, #ffb02a);
}

.card:nth-child(3)::before {
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
}

.card:nth-child(4)::before {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.card:nth-child(2) .card-number {
    background: linear-gradient(135deg, #fed7aa, #fdba74);
    color: #ff6200;
    box-shadow: 0 4px 10px rgba(255, 98, 0, 0.2);
}

.card:nth-child(3) .card-number {
    background: linear-gradient(135deg, #e9d5ff, #d8b4fe);
    color: #7c3aed;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0073FB;
    border-radius: 50%;
    font-weight: 700;
    font-size: 20px;
    margin-left: 15px;
    box-shadow: 0 4px 10px rgba(0, 115, 251, 0.2);
}

.card h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #333;
}

.card-image-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-radius: 15px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card:nth-child(2) .card-image-placeholder {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

.card:nth-child(3) .card-image-placeholder {
    background: linear-gradient(135deg, #e9d5ff 0%, #d8b4fe 100%);
}

.card:nth-child(4) .card-image-placeholder {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.card-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0;
    flex: 1;
}

.card-icon {
    font-size: 80px;
    animation: float 3s ease-in-out infinite;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 15px;
    color: #555;
    text-align: right;
    margin: 0;
    line-height: 1.6;
}

.card-btn {
    display: inline-block;
    text-decoration: none;
    color: white;
    background: linear-gradient(-180deg, #0073FB, #0061ff);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 115, 251, 0.3);
    align-self: flex-start;
    margin-top: auto;
}

.card-btn:hover {
    background: linear-gradient(-180deg, #0061ff, #0073FB);
    box-shadow: 0 6px 18px rgba(0, 115, 251, 0.5);
}

.card:nth-child(2) .card-btn {
    background: linear-gradient(-180deg, #ff6200, #ff8c00);
    box-shadow: 0 4px 12px rgba(255, 98, 0, 0.3);
}

.card:nth-child(2) .card-btn:hover {
    background: linear-gradient(-180deg, #ff8c00, #ff6200);
    box-shadow: 0 6px 18px rgba(255, 98, 0, 0.5);
}

.card:nth-child(3) .card-btn {
    background: linear-gradient(-180deg, #7c3aed, #9333ea);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.card:nth-child(3) .card-btn:hover {
    background: linear-gradient(-180deg, #9333ea, #7c3aed);
    box-shadow: 0 6px 18px rgba(124, 58, 237, 0.5);
}

.card:nth-child(4) .card-btn {
    background: linear-gradient(-180deg, #10b981, #059669);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.card:nth-child(4) .card-btn:hover {
    background: linear-gradient(-180deg, #059669, #10b981);
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* ======== FAQ Section ======== */
.faq-section {
    background: linear-gradient(135deg, #f8f3ea 0%, #fff9f0 100%);
    padding: 80px 0;
    position: relative;
}

.faq-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.faq-title h2 {
    font-size: 48px;
    font-weight: 800;
    color: #7c3aed;
    margin: 0;
    display: inline-block;
    position: relative;
}

.faq-icon-title {
    color: #7c3aed;
    margin: 0 30px;
    animation: iconBounce 2s infinite ease-in-out;
    display: inline-block;
    vertical-align: middle;
}

.faq-icon-title svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.faq-icon-title:first-child {
    animation-delay: 0s;
}

.faq-icon-title:last-child {
    animation-delay: 1s;
}

.faq-title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #7c3aed, transparent);
    width: 40%;
    margin: auto;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.2);
    transform: translateY(-2px);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    background: linear-gradient(135deg, #f8f3ea 0%, #fff9f0 100%);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #e9d5ff 0%, #f3e8ff 100%);
}

.faq-question h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #7c3aed;
    flex: 1;
}

.faq-icon {
    font-size: 24px;
    font-weight: bold;
    color: #7c3aed;
    transition: transform 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.1);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    background: rgba(124, 58, 237, 0.2);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

/* ======== Blog Section ======== */
.blog-section {
    background: linear-gradient(135deg, #f8f3ea 0%, #fff9f0 100%);
    padding: 80px 0;
    position: relative;
}

.blog-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.blog-title h2 {
    font-size: 48px;
    font-weight: 800;
    color: #ff6200;
    margin: 0;
    display: inline-block;
    position: relative;
}

.blog-icon-title {
    color: #ff6200;
    margin: 0 30px;
    animation: iconBounce 2s infinite ease-in-out;
    display: inline-block;
    vertical-align: middle;
}

.blog-icon-title svg {
    width: 40px;
    height: 40px;
    fill: currentColor;
}

.blog-icon-title:first-child {
    animation-delay: 0s;
}

.blog-icon-title:last-child {
    animation-delay: 1s;
}

.blog-title::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff6200, transparent);
    width: 40%;
    margin: auto;
}

.blog-content {
    max-width: 1000px;
    margin: 0 auto;
}

.blog-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 98, 0, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 300px;
}

.blog-card:hover {
    box-shadow: 0 12px 40px rgba(255, 98, 0, 0.25);
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #ff6200, #ff8c00);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(255, 98, 0, 0.4);
    animation: pulse 2s infinite;
}

.blog-info {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.blog-date {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #0073FB;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0, 115, 251, 0.2);
}

.blog-category {
    background: linear-gradient(135deg, #e9d5ff, #d8b4fe);
    color: #7c3aed;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(124, 58, 237, 0.2);
}

.blog-info h3 {
    font-size: 28px;
    font-weight: 800;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
}

.blog-info p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
    flex: 1;
}

.blog-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff6200, #ff8c00);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 98, 0, 0.3);
    align-self: flex-start;
}

.blog-btn:hover {
    background: linear-gradient(135deg, #ff8c00, #ff6200);
    box-shadow: 0 6px 20px rgba(255, 98, 0, 0.5);
    transform: translateY(-2px);
}

/* Blog Loading and Error States */
.blog-loading {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 98, 0, 0.15);
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff6200;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.blog-loading p {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.blog-error {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 98, 0, 0.15);
}

.blog-error p {
    font-size: 18px;
    color: #e74c3c;
    margin: 0;
}

/* ======== Wave Separators ======== */
.wave-separator,
.wave-separator-bottom {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

/* ======== About Section ======== */
.about-section {
    background: linear-gradient(135deg, #f8f3ea 0%, #fff9f0 100%);
    padding: 80px 0;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 42px;
    font-weight: 800;
    color: #7c3aed;
    margin-bottom: 25px;
    position: relative;
}

.about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #7c3aed, #a78bfa);
    border-radius: 2px;
}

.about-text p {
    font-size: 22px;
    line-height: 1.8;
    color: #7c3aed;
    margin-bottom: 20px;
    font-weight: 600;
}

.about-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    max-width: 100%;
    height: auto;
}

.feature-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 8px 8px 30px rgba(124, 58, 237, 0.15), -8px -8px 30px rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #7c3aed, #a78bfa, #c4b5fd);
    border-radius: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.feature-box:hover::before {
    opacity: 0.3;
}

.feature-box:hover {
    transform: translateX(-5px);
    box-shadow: 12px 12px 40px rgba(124, 58, 237, 0.25), -12px -12px 40px rgba(255, 255, 255, 1);
    border-color: rgba(124, 58, 237, 0.3);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.feature-box h3 {
    font-size: 22px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.feature-box p {
    font-size: 16px;
    color: #666;
    margin: 0;
}

/* ======== Footer ======== */
.footer {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
    padding: 60px 0 20px 0;
    position: relative;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-section h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* ======== Responsive Design ======== */
@media (max-width: 1024px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-container {
        padding: 12px 25px;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding: 40px 0 30px 0;
    }
    
    .hero-text h1 {
        font-size: 38px;
        margin-right: auto;
        margin-left: auto;
    }
    
    .hero-text p {
        font-size: 16px;
        margin-right: auto;
        margin-left: auto;
    }
    
    .hero-image-placeholder img {
        max-width: 100%;
    }
    
    .btn-play {
        padding: 10px 22px;
        font-size: 14px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-title .star {
        margin: 0 15px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    
    .card-btn {
        align-self: stretch;
        text-align: center;
    }
    
    .content-section {
        padding: 40px 0 60px 0;
    }
    
    .about-section {
        padding: 50px 20px;
    }
    
    .faq-section {
        padding: 50px 20px;
    }
    
    .faq-title h2 {
        font-size: 36px;
    }
    
    .faq-icon-title {
        margin: 0 20px;
    }
    
    .faq-icon-title svg {
        width: 32px;
        height: 32px;
    }
    
    .faq-question h3 {
        font-size: 18px;
    }
    
    .faq-question {
        padding: 20px 25px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px 25px;
    }
    
    .blog-section {
        padding: 50px 20px;
    }
    
    .blog-title h2 {
        font-size: 36px;
    }
    
    .blog-icon-title {
        margin: 0 20px;
    }
    
    .blog-icon-title svg {
        width: 32px;
        height: 32px;
    }
    
    .blog-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .blog-info {
        padding: 30px;
    }
    
    .blog-info h3 {
        font-size: 24px;
    }
    
    .blog-info p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .logo {
        height: 45px;
    }
    
    .mobile-menu {
        width: 100%;
        border-radius: 0;
    }
    
    .faq-title h2 {
        font-size: 28px;
    }
    
    .faq-icon-title {
        margin: 0 15px;
    }
    
    .faq-icon-title svg {
        width: 28px;
        height: 28px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    
    .blog-title h2 {
        font-size: 28px;
    }
    
    .blog-icon-title {
        margin: 0 15px;
    }
    
    .blog-icon-title svg {
        width: 28px;
        height: 28px;
    }
    
    .blog-info {
        padding: 20px;
    }
    
    .blog-info h3 {
        font-size: 20px;
    }
    
    .blog-info p {
        font-size: 14px;
    }
    
    .blog-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
}
.btn-join:hover {

    background-color: #ffb02a;
}



/* ======== החלק הלבן התחתון ======== */

.content-section {

    background-color: white;
    color: #333; /* צבע טקסט כהה עבור התוכן הלבן */

    

    /* הפינות העגולות למעלה */

    border-radius: 40px 40px 0 0; 
    margin-top: -40px; /* מושך את החלק הלבן "מעל" הכחול */
    

    padding: 40px 0 60px 0; /* ריפוד פנימי (עליון ותחתון) */
    position: relative; /* נדרש כדי שה-margin-top יעבוד נכון */

    z-index: 1;

}



/* ======== Programs Section (אזור הקורסים) ======== */

.programs-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));

    gap: 30px;

}



.card {

    background-color: white; 

    border-radius: 20px;

    padding: 25px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); /* צל עדין */
}



.card-header {

    display: flex;

    align-items: center;

    margin-bottom: 20px;

}



.card-number {

    display: flex;

    align-items: center;

    justify-content: center;

    width: 40px;
    height: 40px;
    background-color: #e3f2fd; /* רקע תכלת למספר */
    color: #007BFF; /* צבע כחול למספר */
    border-radius: 50%;

    font-weight: 700;

    font-size: 18px;
    margin-right: 15px;
}



.card h3 {

    margin: 0;

    font-size: 20px;
    font-weight: 600;
    color: #333; /* צבע כותרת כהה */
}



.card-body {

    /* מקום שמור לתמונות הקורסים */
    height: 150px; 
    background-color: #f4f4f4; /* צבע אפרפר זמני */
    border-radius: 10px;
}