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

body {
    font-family: 'Heebo', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden; /* Prevent horizontal scroll */
    position: relative; /* Fix for mobile scrolling issues */
    margin: 0; /* Remove default margin */
    padding: 0; /* Remove default padding */
}

/* Desktop body - ensure no conflicts with header */
@media (min-width: 1025px) {
    body {
        position: static !important; /* Ensure body doesn't interfere with fixed header */
        overflow-x: hidden;
        overflow-y: auto;
    }
    
    /* Ensure header stays fixed on desktop */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
    
    /* Ensure navbar stays fixed on desktop */
    .navbar {
        position: relative !important;
        z-index: 1001 !important;
    }
    
    /* Ensure nav-menu stays visible on desktop */
    .nav-menu {
        position: static !important;
        z-index: 1001 !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* Mobile-specific body fixes */
@media (max-width: 768px) {
    body {
        -webkit-text-size-adjust: 100%; /* Prevent text zoom on iOS */
        -webkit-tap-highlight-color: transparent; /* Remove tap highlights */
        overflow-x: hidden !important; /* Force prevent horizontal scroll */
        overflow-y: auto; /* Ensure vertical scroll works */
        padding-top: 70px; /* Space for fixed header */
        text-align: center; /* מרכוז כללי לכל התוכן */
    }
    
    /* מרכוז כל הקונטיינרים במובייל */
    .container {
        text-align: center;
        margin: 0 auto;
    }
    
    .container {
        padding: 0 20px; /* וידוא שהתוכן לא נדחק לקצוות המסך */
        margin: 0 auto; /* מרכוז התוכן */
        width: 100%; /* רוחב מלא */
        max-width: none; /* ביטול הגבלת הרוחב המקסימלי במובייל */
    }
}

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

/* Color Variables - Based on Business Card */
:root {
    --primary-burgundy: #7A1B4A;
    --secondary-pink: #E85A9C;
    --accent-yellow: #F5C842;
    --dark-burgundy: #4A1129;
    --light-pink: #F7A8CD;
    --bright-pink: #FF6B9D;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #666;
    --text-dark: #333;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 8px 32px rgba(31, 38, 135, 0.2);
    --shadow-hover: 0 12px 40px rgba(31, 38, 135, 0.3);
}

/* Header and Navigation - Modern Glass Effect */
.header {
    background: linear-gradient(135deg, var(--primary-burgundy), var(--secondary-pink));
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    height: 80px; /* Back to original height */
}

/* Mobile header adjustments */
@media (max-width: 768px) {
    .header {
        height: 70px;
        padding: 0.8rem 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
}

@media (max-width: 480px) {
    .header {
        height: 65px;
        padding: 0.7rem 0;
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1000;
    }
}

.navbar {
    display: flex;
    justify-content: space-between; /* Space between elements */
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 20;
    height: 100%; /* Full height of header */
}

/* Mobile navbar fixes */
@media (max-width: 768px) {
    .navbar {
        height: 100%; /* Ensure full height */
        align-items: center; /* Center vertically */
        padding: 0 15px; /* Less horizontal padding */
        min-height: 70px; /* Minimum height for proper centering */
        display: flex;
        justify-content: center; /* Center the content */
        position: relative; /* Allow absolute positioning for hamburger */
    }
    
    .nav-brand {
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: center; /* Center the logo */
        order: 0; /* Reset order for mobile */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-burgundy);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        z-index: 999;
        order: 0; /* Reset order for mobile */
        margin: 0; /* Reset margin for mobile */
    }
    
    .brand-logo {
        height: 50px;
        max-width: 70px;
        object-fit: contain;
    }
    
    .hamburger {
        display: flex;
        align-items: center;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        position: absolute; /* Position hamburger absolutely */
        right: 15px; /* Place on the right side */
        top: 50%;
        transform: translateY(-50%); /* Center vertically */
    }
}

@media (max-width: 480px) {
    .navbar {
        min-height: 65px; /* Adjust for smaller mobile header */
        align-items: center;
        display: flex;
        justify-content: center; /* Center the content */
        position: relative; /* Allow absolute positioning for hamburger */
    }
    
    .nav-brand {
        display: flex;
        align-items: center;
        height: 100%;
        justify-content: center; /* Center the logo */
        order: 0; /* Reset order for mobile */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 65px;
        flex-direction: column;
        background: var(--primary-burgundy);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        z-index: 999;
        order: 0; /* Reset order for mobile */
        margin: 0; /* Reset margin for mobile */
    }
    
    .brand-logo {
        height: 65px; /* הגדלת הלוגו גם בנייד קטן */
        max-width: 100px; /* הגדלת הרוחב */
        object-fit: contain;
    }
    
    .hamburger {
        display: flex;
        align-items: center;
        height: 100%;
        flex-direction: column;
        justify-content: center;
        position: absolute; /* Position hamburger absolutely */
        right: 15px; /* Place on the right side */
        top: 50%;
        transform: translateY(-50%); /* Center vertically */
    }
}

.brand-logo {
    height: 70px; /* הגדלת הלוגו גם בדסקטופ */
    width: auto;
    max-width: 140px; /* הרחבת הרוחב המקסימלי */
    object-fit: contain;
    transition: all 0.3s ease;
    filter: brightness(1.1);
}

.brand-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.nav-brand {
    display: flex;
    align-items: center;
    position: relative;
    /* Logo positioned on the right side */
    order: 2; /* Place logo after menu */
    z-index: 25; /* Above menu but below hamburger */
}

.nav-brand h2 {
    display: none; /* Hide only the text, keep logo visible */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem; /* Less gap between menu items */
    position: static; /* Change from absolute to static */
    order: 1; /* Place menu before logo */
    margin: 0 auto; /* Center the menu */
    z-index: 1001; /* Higher z-index to ensure it stays on top */
    height: auto;
    align-items: center;
    /* Ensure menu stays centered regardless of logo position */
    pointer-events: auto;
    visibility: visible !important; /* Force visibility */
    opacity: 1 !important; /* Force opacity */
    transform: none !important; /* Prevent transforms */
}

.nav-menu li {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600; /* Slightly bolder */
    font-size: 0.95rem; /* Slightly smaller */
    transition: all 0.3s ease;
    padding: 0.7rem 1.2rem; /* More compact padding */
    border-radius: 8px; /* Less rounded corners */
    background: transparent; /* Remove glass background */
    border: 1px solid transparent; /* Thinner border */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1 !important;
    animation: none !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3); /* Better text visibility */
    height: 40px; /* Fixed height for consistent alignment */
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-yellow);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    width: 80%; /* Underline effect on hover */
}

.nav-menu a:hover {
    background: rgba(255, 255, 255, 0.08); /* Even more subtle background */
    border-color: var(--accent-yellow); /* Yellow border on hover */
    color: var(--accent-yellow); /* Yellow text on hover */
    transform: translateY(-1px); /* Gentler lift effect */
    box-shadow: 0 2px 8px rgba(245, 200, 66, 0.2); /* Softer yellow glow */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 1002; /* Higher z-index than menu and header */
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section - Modern Design */
.hero {
    background: radial-gradient(ellipse at top, var(--primary-burgundy) 0%, var(--dark-burgundy) 100%);
    min-height: 100vh;
    min-height: -webkit-fill-available; /* iOS Safari fix */
    display: flex;
    align-items: center;
    padding-top: 100px; /* Increased from 80px for better spacing */
    position: relative;
    overflow: hidden;
    z-index: 0; /* Ensure hero doesn't cover other sections */
}

/* Mobile hero fixes */
@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        padding-top: 70px; /* הקטנת המרווח העליון */
    }
    
    .hero::before {
        animation: none !important; /* Completely disable the gradient animation */
        opacity: 0.05 !important; /* Make it very subtle */
        transform: none !important; /* No transforms */
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        padding-top: 75px; /* הקטנת המרווח גם לנייד קטן */
    }
    
    .hero::before {
        animation: none !important; /* Completely disable the gradient animation */
        opacity: 0.05 !important; /* Make it very subtle */
        transform: none !important; /* No transforms */
    }
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--secondary-pink) 0%, transparent 30%, transparent 70%, var(--accent-yellow) 100%);
    opacity: 0.1;
    animation: gradientShift 8s ease-in-out infinite;
}

/* Decorative circles and ribbons */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 15%;
    width: 200px;
    height: 200px;
    border: 2px solid rgba(245, 200, 66, 0.3);
    border-radius: 50%;
    animation: floatDecor 6s ease-in-out infinite;
    z-index: 1;
}

.hero-container::before {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 150px;
    height: 150px;
    border: 1px solid rgba(232, 90, 156, 0.4);
    border-radius: 50%;
    animation: floatDecor 8s ease-in-out infinite reverse;
    z-index: 1;
}

.hero-container::after {
    content: '';
    position: absolute;
    top: 20%;
    left: 5%;
    width: 300px;
    height: 8px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(245, 200, 66, 0.2) 20%, 
        rgba(232, 90, 156, 0.3) 50%, 
        rgba(245, 200, 66, 0.2) 80%, 
        transparent);
    border-radius: 4px;
    transform: rotate(-15deg);
    animation: ribbonFloat 10s ease-in-out infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { opacity: 0.1; transform: translateX(0) translateY(0); }
    50% { opacity: 0.2; transform: translateX(20px) translateY(-20px); }
}

@keyframes floatDecor {
    0%, 100% { 
        transform: translateY(0px) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-15px) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes ribbonFloat {
    0%, 100% { 
        transform: rotate(-15deg) translateY(0px);
        opacity: 0.4;
    }
    33% { 
        transform: rotate(-12deg) translateY(-8px);
        opacity: 0.6;
    }
    66% { 
        transform: rotate(-18deg) translateY(5px);
        opacity: 0.5;
    }
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.3);
    /* Removed animation to keep title static */
    opacity: 1;
    visibility: visible;
    white-space: nowrap; /* Prevent text wrapping */
    overflow: visible; /* Allow text to extend if needed */
}

@keyframes titleGlow {
    from { text-shadow: 0 4px 20px rgba(0,0,0,0.3); }
    to { text-shadow: 0 4px 30px rgba(245, 200, 66, 0.4); }
}

.highlight {
    background: linear-gradient(45deg, var(--accent-yellow), var(--bright-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    opacity: 1;
    visibility: visible;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(45deg, var(--accent-yellow), var(--bright-pink));
    border-radius: 2px;
    /* Kept subtle glow effect for the underline */
    animation: underlineGlow 2s ease-in-out infinite alternate;
}

@keyframes underlineGlow {
    from { box-shadow: 0 0 5px var(--accent-yellow); }
    to { box-shadow: 0 0 15px var(--bright-pink); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-top: 1rem; /* Add some top padding for better spacing */
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--light-pink);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-slogan {
    font-size: 1.3rem;
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.no-break {
    white-space: nowrap !important; /* מונע שבירת שורה במקום הזה */
    display: inline !important; /* וידוא שזה נשאר inline */
}

.hero-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(-5px);
    color: var(--accent-yellow);
}

.contact-item i {
    font-size: 1.2rem;
    width: 20px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Modern Hero Buttons */
.btn {
    padding: 1rem 2rem; /* More refined padding */
    border-radius: 16px; /* Less rounded, more elegant */
    text-decoration: none;
    font-weight: 500; /* Lighter weight */
    font-size: 1rem; /* Standard refined size */
    transition: all 0.3s ease; /* Smoother transition */
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.3px; /* Subtle spacing */
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.4s ease; /* Smoother animation */
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-yellow), var(--secondary-pink));
    color: var(--dark-burgundy);
    box-shadow: 0 4px 16px rgba(245, 200, 66, 0.25); /* Softer shadow */
    font-weight: 600; /* Keep button importance */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle border */
}

.btn-primary:hover {
    transform: translateY(-3px); /* Gentle lift */
    box-shadow: 0 6px 20px rgba(245, 200, 66, 0.35); /* Refined glow */
    color: var(--dark-burgundy);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--white);
    border: 1px solid var(--glass-border); /* Thinner border */
    backdrop-filter: blur(15px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15); /* Subtle background increase */
    color: var(--accent-yellow);
    transform: translateY(-3px); /* Gentle lift */
    border-color: var(--accent-yellow);
    box-shadow: 0 4px 12px rgba(245, 200, 66, 0.2); /* Soft glow */
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    border: 1px solid rgba(37, 211, 102, 0.3);
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.btn-whatsapp i {
    font-size: 1.1rem;
}

.btn-whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    border-color: #25D366;
}

/* Modern Glass Image Container */
.image-container {
    position: relative;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25), 
        rgba(232, 90, 156, 0.15), 
        rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(122, 27, 74, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Profile Image Styling */
.profile-image {
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    border: 3px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s ease;
    z-index: 2;
    position: relative;
}

.image-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, 
        var(--accent-yellow), 
        var(--secondary-pink), 
        var(--primary-burgundy), 
        var(--accent-yellow));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.image-container:hover {
    transform: scale(1.03) translateY(-5px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.35), 
        rgba(245, 200, 66, 0.2), 
        rgba(232, 90, 156, 0.2));
    box-shadow: 
        0 15px 45px rgba(122, 27, 74, 0.25),
        0 5px 15px rgba(245, 200, 66, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(245, 200, 66, 0.6);
}

.image-container:hover .profile-image {
    transform: scale(1.02);
    border-color: rgba(245, 200, 66, 0.7);
}

.image-container:hover::before {
    opacity: 0.8;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    will-change: transform; /* Optimize for animations */
}

/* Add decorative rings around the image */
.floating-elements::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed rgba(245, 200, 66, 0.4);
    border-radius: 50%;
    animation: rotateRing 20s linear infinite;
}

.floating-elements::after {
    content: '';
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    border: 1px dotted rgba(232, 90, 156, 0.3);
    border-radius: 50%;
    animation: rotateRing 25s linear infinite reverse;
}

/* Disable floating elements on mobile */
@media (max-width: 768px) {
    .floating-elements {
        display: none !important;
        will-change: auto;
    }
    
    /* Disable all decorative elements on mobile */
    .hero::after,
    .hero-container::before,
    .hero-container::after,
    .about::before,
    .about::after {
        display: none !important;
    }
    
    .floating-elements::before,
    .floating-elements::after {
        display: none !important;
    }
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: modernFloat 5s infinite ease-in-out;
    transition: all 0.3s ease;
}

.floating-circle.pink {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, 
        rgba(232, 90, 156, 0.7), 
        rgba(247, 168, 205, 0.5));
    top: 18%;
    right: 8%;
    animation-delay: 0s;
    box-shadow: 
        0 6px 20px rgba(232, 90, 156, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.floating-circle.purple {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, 
        rgba(122, 27, 74, 0.8), 
        rgba(74, 17, 41, 0.6));
    bottom: 18%;
    left: 12%;
    animation-delay: 1.8s;
    box-shadow: 
        0 6px 20px rgba(122, 27, 74, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.floating-circle.orange {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, 
        rgba(245, 200, 66, 0.9), 
        rgba(255, 223, 0, 0.6));
    top: 58%;
    right: 18%;
    animation-delay: 3.2s;
    box-shadow: 
        0 6px 20px rgba(245, 200, 66, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.floating-circle:hover {
    transform: scale(1.1);
    backdrop-filter: blur(15px);
}

@keyframes modernFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.8;
    }
    25% { 
        transform: translateY(-12px) rotate(2deg); 
        opacity: 1;
    }
    50% { 
        transform: translateY(-20px) rotate(0deg); 
        opacity: 0.9;
    }
    75% { 
        transform: translateY(-8px) rotate(-2deg); 
        opacity: 1;
    }
}

@keyframes rotateRing {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes decorMove {
    0%, 100% { 
        transform: rotate(25deg) translateX(0px);
        opacity: 0.3;
    }
    50% { 
        transform: rotate(28deg) translateX(10px);
        opacity: 0.5;
    }
}

@keyframes pulseDecor {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
    scroll-margin-top: 100px; /* Adjusted to match new hero padding */
    position: relative;
    z-index: 0; /* Lower z-index to ensure header stays above */
}

/* Mobile scroll margin adjustments */
@media (max-width: 768px) {
    section {
        scroll-margin-top: 70px;
    }
}

@media (max-width: 480px) {
    section {
        scroll-margin-top: 65px;
    }
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
}

/* About Section */
.about {
    background: var(--light-gray);
    padding-top: 7rem; /* Added extra padding to prevent hero overlap */
    position: relative;
    z-index: 0; /* Lower z-index to ensure header stays above */
    overflow: hidden;
}

/* Decorative elements for about section */
.about::before {
    content: '';
    position: absolute;
    top: 5%;
    right: 8%;
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(122, 27, 74, 0.2), 
        rgba(232, 90, 156, 0.3), 
        transparent);
    border-radius: 2px;
    transform: rotate(25deg);
    animation: decorMove 12s ease-in-out infinite;
}

.about::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    border: 1px solid rgba(245, 200, 66, 0.3);
    border-radius: 50%;
    animation: pulseDecor 8s ease-in-out infinite;
}

/* Mobile-specific fixes */
@media (max-width: 768px) {
    .about {
        padding-top: 6rem; /* Better spacing for tablets */
        margin-top: 0;
        padding-left: 20px; /* וידוא רווח מצד שמאל */
        padding-right: 20px; /* וידוא רווח מצד ימין */
    }
    
    /* הוספת padding לכל הסקשנים במובייל */
    section {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center; /* מרכוז כל התוכן במובייל */
    }
    
    /* וידוא שהhero-container מיושר נכון */
    .hero-container {
        padding: 0 20px;
        margin: 0 auto;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .about {
        padding-top: 5rem; /* Better spacing for mobile */
        padding-left: 20px; /* וידוא רווח מצד שמאל */
        padding-right: 20px; /* וידוא רווח מצד ימין */
        margin-top: 0;
    }
    
    /* הוספת padding לכל הסקשנים במובייל קטן */
    section {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center; /* מרכוז כל התוכן במובייל קטן */
    }
    
    /* וידוא שההדר לא מפריע למיקום התוכן */
    .container {
        padding: 0 20px;
        margin: 0 auto;
        width: calc(100% - 40px); /* רוחב מלא פחות padding */
        max-width: none;
    }
    
    /* וידוא שהhero-container מיושר נכון גם במובייל קטן */
    .hero-container {
        padding: 0 20px;
        margin: 0 auto;
        width: 100%;
        max-width: none;
    }
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-burgundy);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.skills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    justify-items: center;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
    aspect-ratio: 1;
    text-align: center;
}

.skill-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.skill-item i {
    font-size: 2.5rem;
    color: var(--primary-burgundy);
    margin-bottom: 0.8rem;
}

.skill-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.3;
}

/* Services Section */
.services {
    background: var(--white);
    padding: 5rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}
.service-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(122, 27, 74, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    height: 350px; /* Fixed height for all cards */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-burgundy), var(--secondary-pink), var(--accent-yellow));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(122, 27, 74, 0.2);
    border-color: var(--primary-burgundy);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-burgundy), var(--secondary-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 8px 25px rgba(122, 27, 74, 0.3);
    transition: all 0.4s ease;
}

.service-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(45deg, var(--accent-yellow), var(--secondary-pink));
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover .service-icon::after {
    opacity: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary-burgundy);
    font-weight: 600;
    line-height: 1.3;
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    flex-grow: 1;
}

/* Responsive adjustments for services */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-card {
        height: 340px; /* Fixed height for tablet view */
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 פריטים בשורה בטאבלט גדול */
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem 1rem;
        height: 320px; /* Slightly smaller height for mobile */
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-card p {
        font-size: 0.9rem;
    }
}

/* Why Choose Section */
.why-choose {
    background: linear-gradient(135deg, var(--light-gray), rgba(139, 0, 0, 0.05));
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--accent-yellow), var(--secondary-pink));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.feature-icon i {
    font-size: 2.5rem;
    color: var(--text-dark);
}

.feature-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-item p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Portfolio Section */
.portfolio {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 פריטים בשורה אחת בדסקטופ */
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-item {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.portfolio-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-burgundy), var(--secondary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image {
    color: var(--white);
    font-size: 4rem;
}

.portfolio-content {
    padding: 2rem;
    text-align: center;
}

.portfolio-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.portfolio-content p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Contact Section */
/* Contact Section - Modern Glass Design */
.contact {
    background: radial-gradient(ellipse at bottom, var(--primary-burgundy) 0%, var(--dark-burgundy) 100%);
    color: var(--white);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(245, 200, 66, 0.1) 50%, transparent 70%);
    pointer-events: none;
}

.contact-form {
    background: var(--glass-bg);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem 1.8rem;
    border: 2px solid var(--glass-border);
    border-radius: 16px;
    background: var(--glass-bg);
    color: var(--white);
    font-size: 1rem;
    font-family: 'Heebo', sans-serif;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    direction: rtl; /* RTL direction for Hebrew */
    text-align: right; /* Right align text */
}

/* Special handling for phone number inputs */
.form-group input[type="tel"],
.form-group input[name*="phone"],
.form-group input[name*="טלפון"],
.form-group input[placeholder*="טלפון"],
.form-group input[placeholder*="נייד"] {
    direction: ltr; /* LTR for phone numbers */
    text-align: right; /* Keep right alignment for Hebrew layout */
    font-family: 'Arial', sans-serif; /* Better number display */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(245, 200, 66, 0.3);
    transform: scale(1.02);
}

.contact .section-title,
.contact .section-subtitle {
    color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-item-large {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: var(--glass-bg);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.contact-item-large:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.contact-item-large i {
    font-size: 2rem;
    color: var(--accent-yellow);
}

.contact-item-large h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item-large a {
    color: var(--accent-yellow);
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.contact-item-large a:hover {
    color: var(--white);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.social-link {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, var(--accent-yellow), var(--secondary-pink));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--dark-burgundy);
}

.social-link i {
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

/* Updates Group Styling */
.updates-group {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    text-align: center;
}

.updates-text {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.updates-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.updates-link:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.updates-link i {
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.btn-full {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--dark-burgundy);
    color: var(--white);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: center; /* Center content by default */
    align-items: center;
    margin-bottom: 2rem;
    text-align: center; /* Center text alignment */
}

.footer-brand {
    display: flex;
    align-items: center;
    flex-direction: column; /* Stack logo and text vertically */
    gap: 1rem;
}

.footer-logo-section {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the logo horizontally */
    gap: 1rem;
    width: 100%; /* Take full width */
    flex-direction: column; /* Stack logo and text vertically for better alignment */
}

.footer-logo {
    height: 60px;
    width: auto;
    max-width: 80px;
    object-fit: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
    margin: 0 auto; /* Center the logo */
    display: block;
}

.footer-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%; /* Ensure full width */
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.footer-text p {
    color: var(--light-pink);
    margin: 0 auto; /* Center with auto margins */
    text-align: center;
    width: 100%; /* Ensure full width */
    display: block;
}

.footer-text {
    text-align: center; /* Center align the text container */
    width: 100%; /* Take full width */
    display: flex;
    flex-direction: column;
    align-items: center; /* Center all children horizontally */
    justify-content: center; /* Center vertically if needed */
}

.footer-links {
    display: none; /* Hide footer links completely */
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-yellow);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-bottom p {
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        align-items: center;
        height: 100%;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1002; /* Higher z-index than menu and header */
    }
    
    .brand-logo {
        height: 70px; /* הגדלת הלוגו במובייל */
        max-width: 110px; /* הרחבת הרוחב המקסימלי */
    }
    
    .navbar {
        justify-content: center; /* Center the logo */
        position: relative;
        padding: 0 20px; /* הוספת padding לוודא שהתוכן לא נדחק לקצוות */
    }
    
    .nav-brand {
        justify-content: center; /* Center the logo brand */
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--primary-burgundy);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        z-index: 1001; /* Higher z-index for mobile menu */
        transform: none; /* Reset transform for mobile */
    }
    
    .footer-logo {
        height: 60px; /* הגדלת הלוגו בפוטר */
        max-width: 80px;
    }
    
    .footer-content {
        justify-content: center; /* Center footer content on mobile */
        text-align: center;
    }
    
    .footer-brand {
        flex-direction: column; /* Stack vertically on mobile */
        gap: 0.5rem;
    }
    
    .footer-links {
        display: none !important; /* Force hide footer links on mobile */
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem; /* הקטנת הרווח בין התמונה לטקסט */
        padding: 1rem 10px 0 10px; /* padding סימטרי מכל הצדדים */
        margin: 0 auto; /* מרכוז התוכן */
        width: 100%; /* רוחב מלא */
        max-width: 100%; /* ביטול הגבלת רוחב */
        display: flex;
        flex-direction: column;
        align-items: center; /* מרכוז כל האלמנטים */
        justify-content: center; /* מרכוז אנכי */
    }
    
    /* Change order for mobile - image first, then text */
    .hero-text {
        order: 2;
        margin-top: 0.5rem; /* הקטנת המרווח */
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-description {
        word-spacing: 0.1em; /* הגדלת רווח בין מילים כדי למנוע שבירות לא טובות */
        text-align: center; /* מרכוז הטקסט במובייל */
        hyphens: none; /* ביטול מקפים אוטומטיים */
        margin: 0 auto; /* מרכוז הפסקה */
        max-width: 90%; /* הגבלת רוחב לקריאות טובה יותר */
    }
    
    .hero-description .no-break {
        white-space: nowrap !important; /* וידוא שהמילים הללו לא נשברות */
        display: inline !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
        white-space: nowrap; /* Keep text in one line on tablets */
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* הסתרת כפתורי הטלפון והאימייל ב-Hero במובייל */
    .hero-contact {
        display: none; /* הסתרה מלאה במובייל */
    }
    
    /* שיפור היישור של פריטי הקשר במובייל */
    .contact-item-large {
        display: flex;
        align-items: center; /* יישור אנכי למרכז */
        justify-content: flex-start; /* יישור אופקי לתחילה */
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: right; /* יישור טקסט לימין */
        margin: 0 auto 1.5rem auto; /* מרכוז הקוביה */
        max-width: 320px; /* רוחב קטן יותר מהטופס */
        width: 100%; /* רוחב מלא עד המקסימום */
    }
    
    .contact-item-large i {
        font-size: 2.2rem; /* הגדלת האייקון קצת */
        flex-shrink: 0; /* מניעת התכווצות האייקון */
        width: 40px; /* רוחב קבוע לאייקון */
        text-align: center; /* מרכוז האייקון */
    }
    
    .contact-item-large div {
        flex: 1; /* תופס את כל השטח הנותר */
        text-align: right; /* יישור הטקסט לימין */
    }
    
    .contact-item-large h3 {
        margin-bottom: 0.3rem; /* קיצור המרווח */
        font-size: 1.1rem; /* התאמת גודל הגופן */
    }
    
    .contact-item-large a {
        font-size: 1rem; /* התאמת גודל הגופן */
        word-break: break-all; /* שבירת מילים ארוכות */
    }
    
    /* שיפור הטופס במובייל - פריסה מלאה */
    .contact-form {
        width: 100%; /* רוחב מלא */
        max-width: 100%; /* בטלת הגבלת רוחב */
        margin: 0; /* ללא שוליים */
        border-radius: 0; /* ללא עיגול פינות - נראה טבעי במובייל */
        padding: 1.5rem 1rem; /* ריווח פנימי נוח */
        box-sizing: border-box; /* כלולות בתוך הרוחב */
    }
    
    .form-group input,
    .form-group textarea {
        padding: 1rem 1.2rem; /* padding נוח יותר */
        font-size: 1.1rem; /* גופן קצת יותר גדול */
        border-radius: 12px; /* פינות פחות עגולות */
        min-height: 50px; /* גובה מינימלי לשדות */
        width: 100%; /* רוחב מלא */
        box-sizing: border-box; /* כלולות בתוך הרוחב */
    }
    
    .form-group textarea {
        min-height: 120px; /* גובה מינימלי לtextarea */
        resize: vertical; /* אפשר שינוי גובה בלבד */
    }
    
    .form-group {
        margin-bottom: 1.5rem; /* רווח טוב בין השדות */
        width: 100%; /* רוחב מלא לקבוצת השדות */
    }
    
    .hero-buttons {
        justify-content: center;
        gap: 1.5rem; /* הגדלת הרווח בין הכפתורים */
        margin-top: 2.5rem; /* הגדלת המרווח מהטקסט לכפתורים */
    }
    
    /* שיפור הכפתורים למובייל */
    .btn {
        padding: 1.2rem 2.5rem; /* הגדלת הכפתורים במובייל */
        font-size: 1.1rem; /* גופן קצת יותר גדול */
        min-width: 200px; /* רוחב מינימלי לכפתורים */
        font-weight: 600; /* הדגשה חזקה יותר */
    }
    
    .skills {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .skill-item {
        max-width: none;
        aspect-ratio: 1.2;
    }
    
    .features-grid {
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        gap: 1.5rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 פריטים בשורה בטאבלט */
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 65px; /* Space for smaller fixed header */
    }
    
    .hamburger {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .navbar {
        justify-content: center;
    }
    
    .nav-brand {
        justify-content: center;
    }
    
    .footer-links {
        display: none !important; /* Force hide footer links on small mobile too */
    }
    
    .hero-title {
        font-size: 1.8rem; /* Smaller font to fit "Marketing with hugs" in one line */
        white-space: nowrap; /* Keep text in one line on mobile */
    }
    
    .hero-description {
        font-size: 1.1rem; /* גופן קצת יותר קטן במובייל קטן */
        word-spacing: 0.15em; /* רווח גדול יותר בין מילים */
        text-align: center; /* יישור למרכז במובייל קטן */
        line-height: 1.6; /* קו פחות גבוה למניעת שבירות */
        hyphens: none; /* ביטול מקפים */
    }
    
    .skills {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        justify-items: center; /* מרכוז הפריטים בגריד */
        margin: 0 auto; /* מרכוז הגריד עצמו */
    }
    
    .skill-item {
        max-width: none;
        aspect-ratio: 1.1;
        padding: 1rem 0.5rem;
    }
    
    .skill-item i {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .skill-item span {
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        justify-items: center;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr; /* פריט אחד בשורה במובייל קטן */
    }
    
    .hero-buttons {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem; /* רווח טוב בין הכפתורים */
        width: 100%; /* רוחב מלא */
        padding: 0 20px; /* padding לצדדים */
        margin-top: 3rem; /* מרווח גדול יותר במובייל קטן */
    }
    
    /* שיפור הכפתורים למובייל קטן */
    .btn {
        padding: 1.3rem 2rem; /* כפתורים גדולים יותר */
        font-size: 1.2rem; /* טקסט גדול יותר */
        width: 100%; /* רוחב מלא של הכפתור */
        max-width: 280px; /* רוחב מקסימלי */
        font-weight: 700; /* הדגשה חזקה */
        letter-spacing: 0.5px; /* רווח טוב בין אותיות */
        border-radius: 20px; /* פינות עגולות יותר */
        box-shadow: 0 6px 20px rgba(0,0,0,0.15); /* צל חזק יותר */
    }
    
    .btn-primary {
        background: linear-gradient(135deg, var(--accent-yellow), var(--secondary-pink));
        box-shadow: 0 6px 25px rgba(245, 200, 66, 0.4); /* צל זהוב חזק */
    }
    
    .btn-secondary {
        background: var(--glass-bg);
        border: 2px solid var(--glass-border); /* גבול עבה יותר */
        box-shadow: 0 6px 20px rgba(255,255,255,0.1); /* צל לבן עדין */
    }
    
    .btn-whatsapp {
        background: linear-gradient(135deg, #25D366, #128C7E);
        box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
        border: 2px solid rgba(37, 211, 102, 0.3);
    }
    
    /* שיפור אפקטי מגע למובייל */
    .btn:active {
        transform: scale(0.98); /* אפקט לחיצה */
        transition: transform 0.1s ease;
    }
    
    .btn-primary:active {
        box-shadow: 0 4px 15px rgba(245, 200, 66, 0.5);
    }
    
    .btn-secondary:active {
        background: rgba(255, 255, 255, 0.2);
        border-color: var(--accent-yellow);
    }
    
    .btn-whatsapp:active {
        background: linear-gradient(135deg, #075E54, #0D4D40);
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.6);
    }
    
    /* שיפור contact במובייל קטן */
    .contact-item-large {
        padding: 1.2rem; /* padding קטן יותר */
        gap: 1rem; /* רווח קטן יותר */
        max-width: 280px; /* רוחב קטן יותר מהטופס */
        margin: 0 auto 1rem auto; /* מרווח קטן יותר בין הפריטים */
    }
    
    .contact-item-large i {
        font-size: 2rem; /* אייקון קטן יותר */
        width: 35px; /* רוחב קטן יותר */
    }
    
    .contact-item-large h3 {
        font-size: 1rem; /* גופן קטן יותר */
        margin-bottom: 0.2rem;
    }
    
    .contact-item-large a {
        font-size: 0.95rem; /* גופן קטן יותר */
    }
    
    /* שיפור הטופס במובייל קטן - פריסה מלאה */
    .contact-form {
        width: 100%; /* רוחב מלא */
        max-width: 100%; /* בטלת הגבלת רוחב */
        margin: 0; /* ללא שוליים כלל */
        border-radius: 0; /* ללא עיגול פינות */
        padding: 1.5rem 0.8rem; /* ריווח פנימי מותאם */
        box-sizing: border-box; /* כלולות בתוך הרוחב */
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15); /* צל עמוק יותר */
        backdrop-filter: blur(25px); /* טשטוש רקע חזק יותר */
    }
    
    /* הגדרת השדות במובייל */
    .form-group {
        margin-bottom: 1.5rem; /* מרווח גדול יותר בין שדות */
        padding: 0 0.5rem; /* שוליים פנימיים לשדות */
    }
    
    /* צמצום השוליים של הקונטיינר במקטע קשר */
    .contact .container {
        padding: 0; /* ללא שוליים כלל במובייל */
        max-width: 100%; /* רוחב מלא */
    }
    
    .contact {
        padding: 3rem 0; /* padding רק למעלה ולמטה */
    }
    
    /* עיצוב השדות במובייל */
    .form-group input,
    .form-group textarea {
        padding: 1.5rem 1.2rem; /* padding גדול ונוח למגע */
        font-size: 1.1rem; /* גופן קריא אבל לא ענק */
        border-radius: 15px; /* פינות עגולות */
        min-height: 60px; /* גובה גדול לנוחות מגע */
        border-width: 2px; /* גבול בולט */
        width: 100%; /* רוחב מלא */
        box-sizing: border-box; /* כולל padding ברוחב */
        transition: all 0.3s ease; /* אנימציה חלקה */
    }
    
    
    /* עיצוב מיוחד ל-textarea */
    .form-group textarea {
        min-height: 120px; /* גובה מותאם למובייל */
        line-height: 1.6; /* מרווח שורות נוח לקריאה */
        resize: vertical; /* אפשר שינוי גובה בלבד */
        font-family: inherit; /* שמירה על הגופן */
    }
    
    /* שיפור כפתור השליחה במובייל */
    .contact-form .btn {
        width: 100%; /* רוחב מלא */
        padding: 1.5rem 2rem; /* padding גדול */
        font-size: 1.2rem; /* טקסט בולט */
        margin-top: 1rem; /* מרווח מהשדה האחרון */
        border-radius: 15px; /* התאמה לעיצוב השדות */
        min-height: 60px; /* גובה זהה לשדות */
        font-weight: 700; /* טקסט עבה */
        letter-spacing: 0.5px; /* מרווח אותיות */
    }
    
    /* שיפור placeholder במובייל */
    .form-group input::placeholder,
    .form-group textarea::placeholder {
        font-size: 1rem; /* גופן קטן יותר לplaceholder */
        opacity: 0.7; /* שקיפות עדינה */
    }
    
    .form-group {
        margin-bottom: 1.8rem; /* רווח גדול יותר בין השדות */
    }
    
    /* שיפור כפתור השליחה במובייל */
    .btn-full {
        padding: 1.3rem 2rem; /* כפתור גדול יותר */
        font-size: 1.3rem; /* טקסט גדול יותר */
        font-weight: 700; /* הדגשה חזקה */
        border-radius: 12px; /* פינות מותאמות */
    }
    
    /* עיצוב מובייל לאזור העדכונים - מותאם לגודל contact-item-large */
    .updates-group {
        margin: 1.5rem auto;
        padding: 1.2rem;
        border-radius: 15px; /* פינות כמו contact-item-large */
        background: var(--glass-bg);
        backdrop-filter: blur(15px);
        border: 1px solid var(--glass-border);
        box-shadow: 0 3px 15px rgba(0,0,0,0.08); /* צל עדין יותר */
        max-width: 320px; /* רוחב זהה לcontact-item-large */
        width: 100%;
    }
    
    .updates-text {
        font-size: 0.9rem; /* גודל דומה לcontact-item-large h3 */
        margin-bottom: 1rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.9);
    }
    
    .updates-link {
        padding: 0.8rem 1.2rem; /* padding קטן יותר */
        font-size: 0.95rem; /* גודל דומה לcontact-item-large a */
        width: 100%;
        max-width: 280px; /* רוחב קטן יותר */
        justify-content: center;
        border-radius: 10px; /* פינות קטנות יותר */
        font-weight: 600;
        background: rgba(37, 211, 102, 0.12); /* רקע עדין יותר */
        border: 1px solid rgba(37, 211, 102, 0.25); /* גבול דק יותר */
        box-shadow: 0 2px 8px rgba(37, 211, 102, 0.1); /* צל עדין יותר */
        transition: all 0.3s ease;
    }
    
    .updates-link:hover {
        background: rgba(37, 211, 102, 0.2);
        border-color: rgba(37, 211, 102, 0.4);
        box-shadow: 0 3px 12px rgba(37, 211, 102, 0.2);
    }
    
    .image-container {
        width: 300px;
        height: 300px;
        transform: none !important; /* Disable all transforms */
        animation: none !important; /* Disable all animations */
        will-change: auto !important; /* Reset GPU acceleration */
        position: relative !important;
        overflow: hidden !important;
        margin: 0 auto; /* מרכוז התמונה */
        display: block; /* וידוא שמרכוז עובד */
    }
    
    .profile-image {
        width: 250px;
        height: 250px;
        margin: 0 auto; /* מרכוז התמונה */
        display: block; /* וידוא שמרכוז עובד */
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem; /* Even smaller for very small screens */
        white-space: nowrap;
    }
    
    /* שיפורים מיוחדים לטופס במסכים קטנים מאוד - פריסה מלאה */
    .contact-form {
        width: 100%; /* רוחב מלא */
        max-width: 100%; /* בטלת הגבלת רוחב */
        margin: 0; /* ללא שוליים */
        border-radius: 0; /* ללא עיגול פינות */
        padding: 1.2rem 0.6rem; /* ריווח פנימי מותאם */
        box-sizing: border-box; /* כלולות בתוך הרוחב */
    }
    
    .form-group input,
    .form-group textarea {
        font-size: 1rem; /* גופן מותאם למסכים קטנים */
        padding: 1.2rem 1rem; /* padding מותאם */
        width: 100%; /* רוחב מלא */
        box-sizing: border-box; /* כלולות בתוך הרוחב */
    }
    
    .contact-form .btn {
        width: 100%; /* רוחב מלא */
        padding: 1.3rem 1.5rem; /* padding מותאם */
        font-size: 1.1rem; /* גופן מותאם */
        min-height: 55px; /* גובה מותאם */
    }
    
    .contact .container {
        padding: 0; /* ללא שוליים כלל */
        max-width: 100%; /* רוחב מלא */
    }
    
    /* עיצוב מיוחד לאזור העדכונים במסכים קטנים מאוד */
    .updates-group {
        margin: 1.2rem 0.5rem;
        padding: 1rem;
        border-radius: 12px;
        max-width: 100%;
    }
    
    .updates-text {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .updates-link {
        padding: 0.7rem 1rem; /* padding קטן יותר */
        font-size: 0.9rem; /* גופן קטן יותר */
        max-width: 100%;
        border-radius: 8px;
    }
    
    .contact {
        padding: 2rem 0; /* padding קטן יותר למעלה ולמטה */
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    position: static !important; /* Ensure HTML doesn't interfere with fixed header */
}

/* Desktop HTML - ensure no conflicts with header */
@media (min-width: 1025px) {
    html {
        position: static !important;
        overflow-x: hidden;
        overflow-y: auto;
        scroll-behavior: smooth;
    }
}

/* Better mobile scrolling */
@media (max-width: 768px) {
    html {
        scroll-behavior: auto !important; /* Force disable smooth scroll on mobile */
    }
    
    body {
        -webkit-overflow-scrolling: touch; /* iOS smooth scrolling */
        overscroll-behavior: contain; /* Prevent bounce scrolling */
    }
    
    /* Fix for mobile viewport issues */
    html, body {
        height: 100%;
        min-height: 100vh;
        min-height: -webkit-fill-available; /* iOS Safari fix */
        position: relative; /* Fix scrolling issues */
    }
    
    /* Reduce problematic animations on mobile */
    .floating-circle {
        animation: none; /* Disable floating animations on mobile */
    }
    
    .floating-elements {
        display: none !important; /* Completely hide floating elements on mobile */
        will-change: auto; /* Reset will-change */
    }
    
    .image-container::before {
        animation: none; /* Disable rotating background */
    }
    
    /* Disable hover effects on mobile */
    .image-container:hover {
        transform: none !important;
    }
    
    .image-container:hover .profile-image {
        transform: none !important;
    }
    
    .image-container:hover::before {
        opacity: 0 !important;
    }
    
    /* Disable transforms that might cause jittering */
    .hero::before {
        animation: none;
    }
    
    .hero-image {
        transform: none !important;
        animation: none !important;
    }
    
    /* Fix profile image for mobile */
    .profile-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        object-fit: cover;
        transform: none !important;
        animation: none !important;
    }
    
    /* Disable underline glow animation on mobile */
    .highlight::after {
        animation: none !important;
        box-shadow: 0 0 5px var(--accent-yellow) !important; /* Static glow */
    }
    
    /* Disable all other problematic animations */
    .fade-in-up {
        animation: none !important;
    }
    
    .loading {
        animation: none !important;
        opacity: 1 !important;
    }
    
    .animate-on-scroll {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: none !important;
    }
    
    /* Complete animation and effect disable for mobile */
    .hero {
        background: var(--primary-burgundy) !important; /* Simple solid background */
        overflow: visible !important; /* Remove overflow hidden */
        position: relative !important;
        will-change: auto !important; /* Disable GPU acceleration that might cause issues */
    }
    
    .hero::before {
        display: none !important; /* Completely hide the animated overlay */
    }
    
    /* Disable any remaining keyframe animations */
    @keyframes gradientShift {
        0%, 100% { opacity: 0; transform: none; }
    }
}

/* Loading animation */
.loading {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
