/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    direction: rtl;
    scroll-behavior: smooth;
}

body {
    font-family: 'Heebo', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    background-image: url('../assets/wallpaper.png');
    background-repeat: repeat;
    background-size: 200px 200px;
    background-attachment: fixed;
    overflow-x: hidden;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Secular One', 'Heebo', sans-serif;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #2c3e50;
    letter-spacing: 0.5px;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 95, 191, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 95, 191, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #8b5fbf;
    border: 2px solid rgba(255, 255, 255, 0.9);
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: #8b5fbf;
    color: white;
    border-color: #8b5fbf;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 95, 191, 0.3);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo {
    height: 55px;
    width: auto;
}



.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #8b5fbf;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 0;
    height: 2px;
    background: #8b5fbf;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #8b5fbf;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    overflow: hidden;
}

/* Multi-Layer Parallax System */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    will-change: transform;
    pointer-events: none;
}

/* Parallax Background Images with Purple Theme Integration */
.parallax-stars {
    background-image: url('../assets/parallax/stars.png');
    z-index: 1;
    filter: saturate(1.2) brightness(0.8);
    opacity: 0.6;
}

.parallax-mountains-behind {
    background-image: url('../assets/parallax/mountains_behind.png');
    z-index: 2;
    filter: saturate(0.9) brightness(0.7) contrast(1.1);
    opacity: 0.8;
}

.parallax-moon {
    background-image: url('../assets/parallax/moon.png');
    background-size: auto;
    background-position: 20% 30%; /* Position moon behind Hebrew title */
    z-index: 3;
    filter: saturate(0.7) brightness(1.1);
    opacity: 0.7;
}

.parallax-mountains-front {
    background-image: url('../assets/parallax/mountains_front.png');
    z-index: 4;
    filter: saturate(1.1) brightness(0.6) contrast(1.2);
    opacity: 0.9;
}

/* Musical Notes Layer */
.musical-notes-layer {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    pointer-events: none;
}

.floating-note {
    position: absolute;
    color: rgba(255, 255, 255, 0.3);
    font-size: 1.5rem;
    animation: float-musical 8s ease-in-out infinite;
}

.note-1 {
    top: 15%;
    right: 10%;
    animation-delay: 0s;
}

.note-2 {
    top: 25%;
    left: 15%;
    animation-delay: 1.5s;
}

.note-3 {
    top: 45%;
    right: 25%;
    animation-delay: 3s;
    font-size: 1.8rem;
}

.note-4 {
    top: 65%;
    left: 8%;
    animation-delay: 4.5s;
}

.note-5 {
    top: 35%;
    right: 40%;
    animation-delay: 6s;
    font-size: 1.2rem;
}

@keyframes float-musical {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-15px) rotate(5deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) rotate(-3deg);
        opacity: 0.4;
    }
    75% { 
        transform: translateY(-20px) rotate(8deg);
        opacity: 0.5;
    }
}

/* Accessibility: Respect user's reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .parallax-layer {
        transform: none !important;
    }
    
    .floating-note {
        animation: none;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

/* All parallax layer definitions are above in the main hero section */

/* Old parallax elements removed - now using multi-layer image-based parallax */

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 5; /* Above all parallax layers */
    will-change: transform; /* Optimize for smooth parallax */
}

.hero-content {
    position: relative;
    z-index: 6; /* Above overlay and all parallax layers */
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    transform: translateZ(0); /* Create a new stacking context for smoother parallax */
    padding: 100px 20px 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    color: white;
}

.hero-title {
    margin-bottom: 30px;
}

.title-main {
    display: block;
    font-size: 3.8rem;
    font-weight: 400;
    margin-bottom: 15px;
    color: #FFFFFF;
    text-shadow: 
        0 3px 6px rgba(0, 0, 0, 0.6),
        0 6px 15px rgba(139, 95, 191, 0.4),
        0 0 40px rgba(255, 255, 255, 0.3),
        0 1px 0 rgba(255, 255, 255, 0.2);
    animation: musical-breathe-solid 6s ease-in-out infinite;
    position: relative;
    letter-spacing: 1px;
}

.title-subtitle {
    display: block;
    font-size: 1.3rem;
    font-weight: 300;
    font-family: 'Heebo', sans-serif;
    color: #E6D7FF;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(255, 255, 255, 0.1);
    opacity: 0.95;
    word-spacing: 3px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 40px;
    color: #F5F0FF;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 255, 255, 0.1);
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-video {
    position: relative;
}

.video-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16/9;
    max-width: 700px;
    width: 100%;
}

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

.video-container video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0 0 20px 20px;
}

.video-container video::-webkit-media-controls-play-button,
.video-container video::-webkit-media-controls-volume-slider,
.video-container video::-webkit-media-controls-timeline {
    filter: brightness(1.2);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-container:hover .video-overlay {
    opacity: 1;
}

.video-play-btn {
    display: none;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7; /* Above all hero elements */
}

.scroll-arrow {
    color: white;
    font-size: 24px;
    animation: musical-pulse 1.5s ease-in-out infinite;
}

@keyframes musical-pulse {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translateY(-8px) scale(1.1);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-12px) scale(1.2);
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-8px) scale(1.1);
        opacity: 0.8;
    }
}

/* Musical breathing animation for hero text */
@keyframes musical-breathe-solid {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 
            0 3px 6px rgba(0, 0, 0, 0.6),
            0 6px 15px rgba(139, 95, 191, 0.4),
            0 0 40px rgba(255, 255, 255, 0.3),
            0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% { 
        transform: scale(1.02);
        text-shadow: 
            0 3px 8px rgba(0, 0, 0, 0.7),
            0 8px 20px rgba(139, 95, 191, 0.5),
            0 0 50px rgba(255, 255, 255, 0.4),
            0 1px 0 rgba(255, 255, 255, 0.3);
    }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.8rem;
    color: #2c3e50;
    margin-bottom: 20px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    border-radius: 2px;
    animation: pulse-gentle 3s ease-in-out infinite;
}

/* Add subtle musical rhythm animation */
@keyframes pulse-gentle {
    0%, 100% { 
        transform: translateX(-50%) scaleX(1);
        opacity: 1;
    }
    50% { 
        transform: translateX(-50%) scaleX(1.1);
        opacity: 0.8;
    }
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.96);
    position: relative;
}

/* Musical note decorations for sections */
.about::before {
    content: '♪';
    position: absolute;
    top: 65px;
    right: 5%;
    font-size: 2.5rem;
    color: #8b5fbf;
    opacity: 0.25;
    transform: rotate(15deg);
    z-index: 1;
    text-shadow: 0 0 10px rgba(139, 95, 191, 0.3);
}

.about::after {
    content: '♫';
    position: absolute;
    bottom: 50px;
    left: 8%;
    font-size: 2rem;
    color: #b19cd9;
    opacity: 0.25;
    transform: rotate(-10deg);
    z-index: 1;
    text-shadow: 0 0 10px rgba(177, 156, 217, 0.3);
}

/* Musical staff lines background - using background pattern on the section */
.about {
    background-image: 
        linear-gradient(0deg, rgba(139, 95, 191, 0.02) 1px, transparent 1px);
    background-size: 20px 60px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-story h3 {
    color: #8b5fbf;
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.about-story p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 25px;
}

.about-highlights {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

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

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.highlight-content p {
    color: #666;
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.08);
    margin: 0;
    padding: 0;
    line-height: 0;
    transition: all 0.3s ease;
}

.about-image:hover {
    box-shadow: 
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 8px 25px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.about-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}

/* Mobile image - hidden by default, shown only on mobile */
.about-image-mobile {
    display: none;
    margin-bottom: 30px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.08);
}

.about-img-mobile {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    display: block;
    margin: 0;
    padding: 0;
}





/* Videos Section */
.videos {
    padding: 100px 0;
    background: rgba(248, 249, 250, 0.96);
    position: relative;
}

.videos::before {
    content: '\f001';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 60px;
    right: 6%;
    font-size: 3rem;
    color: #8b5fbf;
    opacity: 0.35;
    transform: rotate(12deg);
    text-shadow: 0 0 15px rgba(139, 95, 191, 0.4);
}

.videos::after {
    content: '\f130';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 40px;
    left: 5%;
    font-size: 2rem;
    color: #b19cd9;
    opacity: 0.2;
    transform: rotate(-8deg);
    text-shadow: 0 0 10px rgba(177, 156, 217, 0.3);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.video-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.video-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(139, 95, 191, 0.2);
}



.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

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

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 70px;
    height: 70px;
    background: white;
    border: none;
    border-radius: 50%;
    color: #8b5fbf;
    font-size: 24px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.video-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

.video-info h3 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1.2rem;
    line-height: 1.3;
}

.video-info p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.96);
    position: relative;
}

.services::before {
    content: '\f025';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 40px;
    left: 3%;
    font-size: 2.2rem;
    color: #8b5fbf;
    opacity: 0.22;
    transform: rotate(-5deg);
    text-shadow: 0 0 10px rgba(139, 95, 191, 0.3);
}

.services::after {
    content: '\f7a6';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    bottom: 40px;
    right: 4%;
    font-size: 2.2rem;
    color: #b19cd9;
    opacity: 0.22;
    transform: rotate(8deg);
    text-shadow: 0 0 10px rgba(177, 156, 217, 0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.service-card {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: #8b5fbf;
    box-shadow: 0 15px 35px rgba(139, 95, 191, 0.15);
}

.service-card.featured {
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    color: white;
    transform: scale(1.05);
    position: relative;
    overflow: visible;
    animation: musical-glow 4s ease-in-out infinite;
}

.service-card.featured::before {
    content: '♪ ♫ ♪';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 1.4rem;
    opacity: 0.3;
    animation: float-notes 6s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

@keyframes musical-glow {
    0%, 100% { box-shadow: 0 15px 35px rgba(139, 95, 191, 0.3); }
    50% { box-shadow: 0 20px 45px rgba(177, 156, 217, 0.4); }
}

@keyframes float-notes {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-5px) rotate(5deg); }
    66% { transform: translateY(-2px) rotate(-3deg); }
}

.service-card.featured .service-icon,
.service-card.featured h3,
.service-card.featured p,
.service-card.featured li {
    color: white;
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #ff6b6b;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    z-index: 10;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 25px;
}

.service-card.featured .service-icon {
    background: white;
    color: #8b5fbf;
}

.service-card h3 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.service-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    text-align: right;
}

.service-features li {
    color: #555;
    margin-bottom: 10px;
    position: relative;
    padding-right: 25px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: #8b5fbf;
    font-weight: bold;
}

.service-card.featured .service-features li::before {
    color: white;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: rgba(248, 249, 250, 0.96);
    position: relative;
}

.testimonials::before {
    content: '♬';
    position: absolute;
    top: 70px;
    left: 4%;
    font-size: 2.2rem;
    color: #8b5fbf;
    opacity: 0.22;
    transform: rotate(-12deg);
    text-shadow: 0 0 10px rgba(139, 95, 191, 0.3);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 25px;
}

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: #ffd700;
    font-size: 18px;
    margin-left: 2px;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin: 0;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    flex-shrink: 0;
}

.author-info h4 {
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: rgba(255, 255, 255, 0.96);
    position: relative;
}

.contact::before {
    content: '\f001';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 45px;
    right: 7%;
    font-size: 2.4rem;
    color: #8b5fbf;
    opacity: 0.32;
    transform: rotate(20deg);
    text-shadow: 0 0 15px rgba(139, 95, 191, 0.4);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.contact-details p {
    margin: 0;
}

.contact-details a {
    color: #8b5fbf;
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}



/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e0e6ed;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Heebo', sans-serif;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8b5fbf;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    margin-top: 25px;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 20px;
    border-radius: 8px;
}

.footer-logo p {
    color: #bdc3c7;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #8b5fbf;
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 10px;
}



.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #34495e;
}

.footer-bottom p {
    color: #bdc3c7;
    margin: 0;
}

/* Video Modal */
.video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.video-modal-content {
    position: relative;
    margin: 5% auto;
    width: 80%;
    max-width: 800px;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    left: -40px;
    color: white;
    font-size: 35px;
    font-weight: bold;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001;
}

.video-modal-close:hover {
    opacity: 0.7;
}

#modal-video {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: linear-gradient(135deg, #f8f9fa 0%, rgba(255, 255, 255, 0.98) 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s ease;
        box-shadow: 0 10px 27px rgba(139, 95, 191, 0.1);
        padding: 20px 0;
        gap: 15px;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        right: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .title-main {
        font-size: 2.5rem;
        /* Simplified effects for mobile performance */
        animation: none;
        color: #FFFFFF;
        text-shadow: 
            0 2px 5px rgba(0, 0, 0, 0.7),
            0 4px 12px rgba(139, 95, 191, 0.4),
            0 0 25px rgba(255, 255, 255, 0.2);
        letter-spacing: 0.5px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .scroll-indicator {
        bottom: 10px; /* Move scroll indicator down on mobile to avoid video overlap */
    }

    /* Optimize parallax for mobile performance */
    .parallax-layer {
        /* Disable complex filters on mobile for better performance */
        filter: none;
        opacity: 0.6;
    }

    .parallax-stars {
        /* Keep stars but reduce intensity */
        filter: brightness(0.8);
        opacity: 0.5;
    }

    .parallax-moon {
        background-position: top 15% right 10%;
        opacity: 0.7;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-img {
        height: 400px;
    }

    /* Hide desktop image on mobile */
    .about-image {
        display: none;
    }

    /* Show mobile image on mobile */
    .about-image-mobile {
        display: block;
    }



    .services-grid {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Mobile music app inspired video cards */
    .video-card {
        border-radius: 15px;
        transform: none;
        transition: all 0.2s ease;
    }

    .video-card:active {
        transform: scale(0.98);
        box-shadow: 0 5px 20px rgba(139, 95, 191, 0.2);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .container {
        padding: 0 15px;
    }

    .video-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .video-modal-close {
        top: -35px;
        left: -10px;
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .title-main {
        font-size: 2rem;
        /* Even more simplified for small screens */
        color: #FFFFFF;
        text-shadow: 
            0 2px 4px rgba(0, 0, 0, 0.8),
            0 4px 10px rgba(139, 95, 191, 0.3),
            0 0 20px rgba(255, 255, 255, 0.2);
        letter-spacing: 0px;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}

/* Smooth Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* Parallax Performance Optimization */
body:not(.parallax-active) .parallax-layer {
    transform: none !important;
    will-change: auto;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .parallax-layer {
        transform: none !important;
        filter: none !important;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #8b5fbf;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .video-modal,
    .scroll-indicator,
    .chatbot-widget {
        display: none;
    }
    
    .hero {
        min-height: auto;
        padding: 50px 0;
    }
    
    .section {
        padding: 30px 0;
    }
}

/* ========================
   CHATBOT WIDGET STYLES
   ======================== */

.chatbot-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    font-family: 'Heebo', sans-serif;
    direction: rtl;
}

/* Chat Toggle Button */
.chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7a4db0 0%, #8b5fbf 50%, #b19cd9 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 
        0 4px 15px rgba(139, 95, 191, 0.4),
        0 0 20px rgba(177, 156, 217, 0.2),
        0 0 0 2px rgba(139, 95, 191, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: visible;
    animation: subtle-pulse 3s ease-in-out infinite;
}

.chat-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 6px 25px rgba(139, 95, 191, 0.5),
        0 0 30px rgba(177, 156, 217, 0.3),
        0 0 0 3px rgba(139, 95, 191, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.chat-toggle i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.chat-toggle .fa-comments {
    opacity: 1;
}

.chat-toggle .fa-times {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(90deg);
}

.chat-toggle.active .fa-comments {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg);
}

.chat-toggle.active .fa-times {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
}

/* Chat Modal */
.chat-modal {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 380px;
    max-width: calc(100vw - 40px);
    height: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid rgba(139, 95, 191, 0.1);
}

.chat-modal.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    padding: 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.chat-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.chat-status {
    font-size: 12px;
    opacity: 0.9;
}

.chat-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-settings {
    position: absolute;
    top: 15px;
    right: 50px;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.chat-settings:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Chat Messages */
.chat-messages {
    height: 340px;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(139, 95, 191, 0.3);
    border-radius: 3px;
}

.message {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.bot-message .message-avatar {
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    color: white;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-avatar {
    background: #e9ecef;
    color: #6c757d;
}

.message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 250px;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bot-message .message-content {
    border-bottom-left-radius: 6px;
}

.user-message .message-content {
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    color: white;
    border-bottom-right-radius: 6px;
}

.message-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
    display: block;
}

/* Chat Input Container */
.chat-input-container {
    background: white;
    border-top: 1px solid #eee;
}

/* Typing Indicator */
.chat-typing {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6c757d;
    background: #f8f9fa;
}

.typing-indicator {
    display: flex;
    gap: 2px;
}

.typing-indicator span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #8b5fbf;
    animation: typingDots 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

/* Chat Input */
.chat-input {
    display: flex;
    padding: 15px 20px;
    gap: 10px;
    align-items: center;
}

.chat-input input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 25px;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
    direction: rtl;
    text-align: right;
}

.chat-input input:focus {
    border-color: #8b5fbf;
}

.chat-input input::placeholder {
    color: #999;
}

.chat-send {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8b5fbf 0%, #b19cd9 100%);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.chat-send:hover:not(:disabled) {
    transform: scale(1.05);
}

.chat-send:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Chat Suggestions */
.chat-suggestions {
    padding: 10px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.suggestion-btn {
    background: none;
    border: 1px solid #8b5fbf;
    color: #8b5fbf;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: right;
    direction: rtl;
}

.suggestion-btn:hover {
    background: #8b5fbf;
    color: white;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .chatbot-widget {
        bottom: 15px;
        left: 15px;
    }
    
    .chat-modal {
        width: calc(100vw - 30px);
        height: 70vh;
        max-height: 500px;
        bottom: 70px;
    }
    
    .chat-messages {
        height: calc(70vh - 160px);
        max-height: 340px;
    }
    
    .chat-toggle {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .chat-modal {
        width: calc(100vw - 20px);
        left: -5px;
        bottom: 65px;
    }
    
    .message-content {
        max-width: 200px;
    }
}

/* Subtle Pulse Animation for Chat Button */
@keyframes subtle-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 4px 15px rgba(139, 95, 191, 0.4),
            0 0 20px rgba(177, 156, 217, 0.2),
            0 0 0 2px rgba(139, 95, 191, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: scale(1.03);
        box-shadow: 
            0 5px 18px rgba(139, 95, 191, 0.5),
            0 0 25px rgba(177, 156, 217, 0.3),
            0 0 0 3px rgba(139, 95, 191, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
}

/* Subtle glowing ring effect around chat button */
.chat-toggle::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    background: linear-gradient(45deg, 
        transparent, 
        rgba(139, 95, 191, 0.2), 
        rgba(177, 156, 217, 0.15),
        transparent,
        rgba(139, 95, 191, 0.2),
        transparent
    );
    animation: gentle-ring-glow 4s linear infinite;
    z-index: -1;
}

@keyframes gentle-ring-glow {
    0% {
        transform: rotate(0deg);
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: rotate(360deg);
        opacity: 0.4;
    }
}

/* Subtle musical note floating effect */
.chat-toggle::after {
    content: '♪';
    position: absolute;
    top: -8px;
    right: -3px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    animation: gentle-note-float 4s infinite;
    z-index: 2;
}

@keyframes gentle-note-float {
    0%, 85%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.8);
    }
    15%, 70% {
        opacity: 0.5;
        transform: translateY(-8px) scale(1);
    }
}
