body{
    padding:0;
    margin:0;
    font-family:sans-serif;
    display:flex;
    min-height:100vh;
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), 
                url('https://wafiko.co.il/images/helpdesk1.jpg');
    background-size:cover;
    background-repeat:no-repeat;
    background-position:center;
    background-attachment:scroll;
    position: relative;
}

/* Add animated background container */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7)), 
                url('https://wafiko.co.il/images/helpdesk1.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    animation: backgroundSlide 20s infinite;
}

@keyframes backgroundSlide {
    0% {
        background-image: url('https://wafiko.co.il/images/helpdesk1.jpg');
    }
  
    75% {
        background-image: url('https://wafiko.co.il/images/helpdesk2.jpg');
    }
	
	  100% {
        background-image: url('https://wafiko.co.il/images/helpdesk3.jpg');
    }
	
}
  
.sidebar{
    width:100%;
    height:80px;
    background: linear-gradient(90deg, #e3f2fd 0%, #64b5f6 100%);
    padding:10px 0;
    box-shadow:0 2px 6px rgba(0,0,0,0.12);
    display:flex;
    align-items:center;
    flex-direction: row-reverse;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
}
.logo{
    margin-left: 5px;
	margin-right: 5px;
}
.logo-text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: 1px;
    color: white;
    text-align: center;
    margin-left: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    animation: heartbeat 3s infinite;
    opacity: 1;
    /* הוספת תכונות שמאפשרות שטח קבוע */
    display: inline-block;
    min-width: 250px; /* הגדרת רוחב מינימלי קבוע */
    white-space: nowrap; /* מניעת מעברบรรת */
    overflow: hidden; /* הסתרת תוכן חוצה */
    text-overflow: ellipsis; /* הוספת תבליטים אם יש תוספות */
}



@keyframes heartbeat {
    0% { 
        transform: scale(1);
        opacity: 0.9;
    }
    25% { 
        transform: scale(1.05);
        opacity: 1;
    }
    50% { 
        transform: scale(1);
        opacity: 0.9;
    }
    75% { 
        transform: scale(1.05);
        opacity: 1;
    }
    100% { 
        transform: scale(1);
        opacity: 0.9;
    }
}

.menu-list{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:flex-end;
    list-style:none;
    margin:0;
    padding:0;
    gap:8px;
}
.menu-list a{
    color:#fff;
    background:linear-gradient(90deg,#1976d2 0%,#64b5f6 100%);
    border-radius:100px;
    padding:10px 20px;
    font-size:18px;
    font-weight:600;
    letter-spacing:1px;
    text-decoration:none;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    transition:background .18s,color .18s,transform .15s,box-shadow .18s;
}
.menu-list a:hover{
    background:linear-gradient(90deg,#1565c0 0%,#42a5f5 100%);
    box-shadow:0 4px 16px rgba(33,150,243,.22);
    transform:translateY(-3px) scale(1.05);
}
.language-toggle {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: all 0.3s;
    user-select: none;
}
.language-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}
.welcome-card{
    background:linear-gradient(90deg,#e3f2fd 0%,#fffde7 100%);
    color:red;
    border-radius:18px;
    box-shadow:0 4px 16px rgba(33,150,243,.08);
    padding:12px 18px;
    margin:16px auto;
    max-width:500px;
    font-size:18px;
    font-weight:bold;
    font-family:'Segoe UI','Heebo',Arial,sans-serif;
    letter-spacing:1px;
    border:1.5px solid #bbdefb;
    text-align:center;
    transition:box-shadow .2s;
    animation:slideDown 5s cubic-bezier(.34,1.56,.64,1) both;
}
.welcome-card:hover{
    box-shadow:0 8px 32px rgba(33,150,243,.18);
}
form{
    box-sizing:border-box;
}
.about-card {
    background: linear-gradient(90deg, #e3f2fd 0%, #fffde7 100%);
    border-radius: 18px;
    border: 1.5px solid #bbdefb;
    box-shadow: 0 4px 16px rgba(33,150,243,.08);
    padding: 24px;
    max-width: 560px;
    margin: 16px auto;
    animation: slideDown 5s cubic-bezier(.34,1.56,.64,1) both;
    direction: rtl;
    text-align: right;
}
.about-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.about-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: #1976d2;
    text-align: right;
}
.about-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #90caf9;
}
.about-text,
.about-features li {
    text-align: right;
}
.about-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto‑fit, minmax(150px, 1fr));
    gap: 8px;
}
.about-features li {
    background: rgba(25,118,210,.07);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: .9rem;
    color: #1976d2;
}
#contactForm,
#contactFormArabic,
#loginForm,
#loginFormArabic,
#registerForm,
#registerFormArabic{
    max-width:370px;
    width:100%;
    background:linear-gradient(90deg,#e3f2fd 0%,#fffde7 100%);
    border-radius:18px;
    box-shadow:0 4px 16px rgba(33,150,243,.08);
    padding:12px 18px;
    font-size:20px;
    font-weight:bold;
    font-family:'Segoe UI','Heebo',Arial,sans-serif;
    letter-spacing:1px;
    border:1.5px solid #bbdefb;
    text-align:center;
}
#contactForm input,
#contactForm textarea,
#contactFormArabic input,
#contactFormArabic textarea,
#loginForm input,
#loginForm textarea,
#loginFormArabic input,
#loginFormArabic textarea,
#registerForm input,
#registerFormArabic input,
#registerForm textarea,
#registerFormArabic textarea{
    width:90%;
    max-width:100%;
    padding:12px 16px;
    margin:7px 0 20px 0;
    border:1.5px solid #90caf9;
    border-radius:12px;
    background:#f5faff;
    font-size:17px;
    font-family:inherit;
    transition:border .2s,box-shadow .2s;
    box-shadow:0 2px 8px rgba(33,150,243,.07);
    outline:none;
    box-sizing:border-box;
}
#contactForm input:focus,
#contactForm textarea:focus,
#contactFormArabic input:focus,
#contactFormArabic textarea:focus,
#loginForm input:focus,
#loginForm textarea:focus,
#loginFormArabic input:focus,
#loginFormArabic textarea:focus,
#registerForm input:focus,
#registerFormArabic input:focus,
#registerForm textarea:focus,
#registerFormArabic textarea:focus{
    border-color:#1976d2;
    box-shadow:0 4px 16px rgba(33,150,243,.13);
    background:#e3f2fd;
}
#contactForm label,
#contactFormArabic label,
#loginForm label,
#loginFormArabic label,
#registerForm label,
#registerFormArabic label{
    font-size:16px;
    color:#1976d2;
    font-weight:bold;
    margin-bottom:6px;
    display:block;
    text-align:right;
    letter-spacing:1px;
}
#contactForm textarea,
#contactFormArabic textarea,
#loginForm textarea,
#loginFormArabic textarea,
#registerForm textarea,
#registerFormArabic textarea
{
    resize:vertical;
    min-height:50px;
    max-height:200px;
}
#contactForm button[type="submit"],
#contactFormArabic button[type="submit"],
#loginForm button[type="submit"],
#loginFormArabic button[type="submit"],
#registerForm button[type="submit"],
#registerFormArabic button[type="submit"]{
    color:#fff;
    background:linear-gradient(90deg,#1976d2 0%,#64b5f6 100%);
    border:none;
    border-radius:100px;
    padding:12px 25px;
    font-size:16px;
    font-weight:600;
    letter-spacing:1px;
    margin:10px 0;
    box-shadow:0 2px 8px rgba(33,150,243,.12);
    transition:background .18s,color .18s,transform .15s,box-shadow .18s;
    cursor:pointer;
    width:100%;
    box-sizing:border-box;
}
#contactForm button[type="submit"]:hover,
#contactFormArabic button[type="submit"]:hover,
#loginForm button[type="submit"]:hover,
#loginFormArabic button[type="submit"]:hover,
#registerForm button[type="submit"]:hover,
#registerFormArabic button[type="submit"]:hover
{
    background:linear-gradient(90deg,#1565c0 0%,#42a5f5 100%);
    box-shadow:0 4px 16px rgba(33,150,243,.22);
    transform:translateY(-2px) scale(1.07);
}
.password-toggle{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 20px;
}
.password-toggle label{
    margin: 0;
    font-size: 1rem;
    color: #1976d2;
    text-align: right;
}
.password-toggle .input-group{
    display: flex;
    align-items: center;
    width: 100%;
}
.password-toggle .input-group input{
    flex: 1;
    padding-right: 45px;
    box-sizing: border-box;
}
.password-toggle .input-group .toggle-password{
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 6px 10px;
    margin-left: 4px;
    line-height: 1;
    color: #1976d2;
    position: relative;
    z-index: 2;
}
.user-status{
    background:rgba(255,255,255,0.9);
	margin-left:5px;
    padding:8px 15px;
    border-radius:20px;
    font-weight:bold;
    box-shadow:0 2px 8px rgba(0,0,0,.1);
    z-index:1001;
    display:none;
    align-items:center;
    flex-direction:row;
	  min-width: 250px; 

 
}


#logincontent,
#logincontentArabic,
#registercontent,
#registercontentArabic,
#contactcontent,
#contactcontentArabic,
#helpdeskcontent,
#helpdeskcontentArabic,
#aboutcontent,
#aboutcontentArabic,
#packagescontent,
#packagescontentArabic,
#welcomeMsgArabic,
#welcomeMsg{
    width:80%;
    max-width:900px;
    margin:120px auto 0;  
	
  /*  padding:0 15px;*/
    box-sizing:border-box;
}

@keyframes slideDown{
    from{opacity:0;transform:translateY(-500px);}
    to{opacity:1;transform:translateY(0);}
}
.menu-toggle{
    display:none;
}
@media (max-width: 600px){
	
	 body {
        background-attachment: scroll; /* Ensure background scrolls on mobile */
    }
    
    /* Ensure full viewport coverage */
    body::before {
        background-attachment: scroll !important;
    }
	
  .g-recaptcha {
        margin: 10px 0;
        width: 100%;
    }
    
    #contactForm .g-recaptcha,
    #contactFormArabic .g-recaptcha,
    #loginForm .g-recaptcha,
    #loginFormArabic .g-recaptcha,
    #registerForm .g-recaptcha,
    #registerFormArabic .g-recaptcha {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 10px 0;
    }
    
    .g-recaptcha > div {
        width: 100% !important;
        max-width: 304px;
        margin: 0 auto;
        min-width: 250px;
    }
    
    /* Ensure reCAPTCHA container fits mobile screens */
    .g-recaptcha iframe {
        width: 100% !important;
        min-width: 250px;
        max-width: 304px;
    }
	
	  #welcomeMsg .welcome-card,
    #welcomeMsgArabic .welcome-card {
        font-size: 14px !important; /* Reduced from 18px */
        padding: 8px 12px !important; /* Reduced padding */
        margin: 12px auto !important; /* Reduced margin */
    }
    
    #welcomeMsg .welcome-card:nth-child(2),
    #welcomeMsgArabic .welcome-card:nth-child(2) {
        font-size: 16px !important; /* Slightly larger for emphasis */
    }
    
    #welcomeMsg .welcome-card:nth-child(3),
    #welcomeMsgArabic .welcome-card:nth-child(3) {
        font-size: 16px !important; /* Slightly larger for emphasis */
    }
    
    #welcomeMsg .welcome-card:nth-child(4),
    #welcomeMsgArabic .welcome-card:nth-child(4) {
        font-size: 16px !important; /* Slightly larger for emphasis */
    }
    
    #welcomeMsg .welcome-card:nth-child(5),
    #welcomeMsgArabic .welcome-card:nth-child(5) {
        font-size: 16px !important; /* Slightly larger for emphasis */
    }
    
    #welcomeMsg .welcome-card:nth-child(6),
    #welcomeMsgArabic .welcome-card:nth-child(6) {
        font-size: 14px !important; /* Reduced from 18px */
    }
    
    #welcomeMsg .welcome-card:nth-child(7),
    #welcomeMsgArabic .welcome-card:nth-child(7) {
        font-size: 14px !important; /* Reduced from 18px */
    }
    
    #welcomeMsg .welcome-card:nth-child(8),
    #welcomeMsgArabic .welcome-card:nth-child(8) {
        font-size: 14px !important; /* Reduced from 18px */
    }
	
    /* Sidebar will be hidden by default on mobile */
    .sidebar {
        width: 250px;
        height: 100vh;
        transform: translateX(-100%);
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
        transition: transform 0.3s ease;
        background: linear-gradient(90deg, #e3f2fd 0%, #64b5f6 100%);
    }
    
    /* Active class to show sidebar */
    .sidebar.active {
        transform: translateX(0);
    }
    
    /* Menu toggle button */
    .menu-toggle {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1001;
        background: linear-gradient(90deg, #1976d2 0%, #64b5f6 100%);
        color: white;
        border: none;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 15px;
        cursor: pointer;
        box-shadow: 0 2px 8px rgba(0,0,0,0.2);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Sidebar layout for mobile */
    .sidebar {
        flex-direction: column;
        height: 100vh;
        padding: 8px 0;
        align-items: center;
    }
    
    .logo {
        width: 60px; /* Reduced from original */
        height: auto;
    }
    
    /* Menu list vertical */
    .menu-list{
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin-top: 40px;
        padding: 0;
    }
    
    .menu-list a{
        font-size: 14px; /* Smaller text */
        padding: 6px 10px; /* Less padding */
        min-height: 32px; /* Reduced minimum height */
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin: 1px 0; /* Even less spacing between items */
    }

    /* Position menu items */
    .menu-list {
        position: absolute;
        top: 100px;
        right: 0;
        left: 0;
        background: linear-gradient(90deg, #e3f2fd 0%, #64b5f6 100%);
        z-index: 999;
        box-shadow: 0 2px 6px rgba(0,0,0,0.12);
        padding: 5px 0;
    }

    /* Position user status and language toggle */
    .user-status {
        margin: 5px;
        width: auto;
        justify-content: flex-end;
        z-index: 1001;
    }
    
    .language-toggle {
        position: absolute !important;
        top: 10px;
        right: 10px;
        left: auto !important;
        margin: 0;
        z-index: 1001;
		font-size:10px;
    }
    
    /* Login button positioning - reduced size */
    .login-button {
        margin-top: 10px;
        margin-bottom: 5px;
    }
    
    .login-button a {
        font-size: 12px !important;
        padding: 6px 8px !important;
        min-height: 20px !important;
    }
    
    /* Content positioning */
    #welcomeMsg, #welcomeMsgArabic {
        margin-top: 30px;
		
    }
    
  
    /* Responsive adjustments */
    .welcome-card{
        width:90% !important;
        max-width:100% !important;
        padding:8px 6px !important;
        box-sizing:border-box;
    }
    
    #contactForm input,
    #contactFormArabic input,
    #contactForm textarea,
    #contactFormArabic textarea,
    #loginForm input,
    #loginForm textarea,
    #loginFormArabic input,
    #loginFormArabic textarea,
    #registerForm input,
    #registerForm textarea,
    #registerFormArabic input,
    #registerFormArabic textarea{
        width:100% !important;
        max-width:100% !important;
        padding:8px 12px;
        box-sizing:border-box;
    }
    
    .password-toggle .toggle-password{
        font-size:1.2rem;
        padding:4px 6px;
    }
    
    #contactForm button[type="submit"],
    #contactFormArabic button[type="submit"],
    #loginForm button[type="submit"],
    #loginFormArabic button[type="submit"],
    #registerForm button[type="submit"],
    #registerFormArabic button[type="submit"]{
        width:100% !important;
        margin:4px 0 !important;
        padding:8px 15px;
        font-size:14px;
    }
    
    /* Reduce sidebar height to make room for content */
    .sidebar {
        height: calc(100vh - 60px);
    }
    
    /* Adjust menu list to fit better */
    .menu-list {
        top: 100px;
        padding: 0;
    }
    
    .menu-list a {
        padding: 5px 8px;
        min-height: 28px;
        font-size: 12px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(90deg, #1976d2 0%, #64b5f6 100%);
    color: white;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    margin-top: auto;
    z-index: 1000;
    min-height: 40px;
    height: auto;
    box-sizing: border-box;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    align-items: center;
}

.footer-section {
    flex: 1;
    min-width: 100px;
    margin: 3px 5px;
    text-align: center;
    padding: 3px 0;
}

.footer-section h3 {
    margin-bottom: 3px;
    font-size: 0.8rem;
}

.footer-section p {
    margin: 2px 0;
    font-size: 0.8rem;
}

.footer-section a {
    color: white;
    text-decoration: underline;
    font-weight: bold;
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding: 3px 0;
    margin-top: 3px;
    border-top: 1px solid rgba(255,255,255,0.2);
    font-size: 0.6rem;
}

@media (max-width: 600px) {
    .footer {
        min-height: 100px;
        padding: 8px 0;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        padding: 5px 10px;
    }
    
    .footer-section {
        width: 100%;
        margin: 2px 0;
        padding: 2px 0;
    }
    
    .footer-bottom {
        font-size: 0.5rem;
        padding: 2px 0;
    }
}
