/* ================================
   WebLite - Cleaning Company Template
   Version: 1.0
   Mobile-First Responsive Design
   ================================ */

/* ================================
   Root Variables & Reset
   ================================ */
:root {
    --primary: #00A8E8;
    --primary-dark: #007EA7;
    --secondary: #00C49A;
    --accent: #FFC947;
    --dark: #003459;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --text: #333333;
    --text-light: #666666;
    --border: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 10px rgba(0,0,0,0.12);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.15);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    --radius-sm: 5px;
    --radius-md: 10px;
    --radius-lg: 15px;
    --radius-xl: 25px;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-weblite: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Assistant', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
    direction: rtl;
}

/* ================================
   Typography
   ================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
h5 { font-size: clamp(1.1rem, 2vw, 1.25rem); }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ================================
   Container & Layout
   ================================ */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ================================
   WebLite Banner (Top)
   ================================ */
.weblite-banner {
    background: var(--gradient-weblite);
    color: var(--white);
    padding: 12px 20px;
    text-align: center;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10000;
    box-shadow: var(--shadow-md);
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}

.weblite-banner-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 14px;
}

.weblite-banner strong {
    font-size: 16px;
    margin: 0 5px;
}

.weblite-cta-button {
    background: var(--white);
    color: #6366f1;
    border: none;
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.weblite-cta-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.weblite-price {
    font-weight: bold;
    color: var(--accent);
}

.weblite-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    margin-right: 10px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.weblite-close:hover {
    opacity: 1;
}

/* ================================
   Header & Navigation
   ================================ */
.main-header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 50px;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: var(--light);
    padding: 8px 0;
    display: none;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}

.header-contact {
    display: flex;
    gap: 20px;
}

.header-contact a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
}

.header-contact a:hover {
    color: var(--primary);
}

.header-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: var(--text-light);
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Navigation */
.main-nav {
    padding: 15px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
}

.logo-icon {
    font-size: 32px;
}

.logo-tagline {
    font-size: 12px;
    color: var(--text-light);
    font-weight: normal;
    display: none;
}

.nav-menu {
    display: none;
    list-style: none;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
    padding: 10px 0;
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: var(--text);
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--light);
    color: var(--primary);
}

/* CTA Button */
.nav-cta {
    display: none;
}

.cta-button {
    background: var(--primary);
    color: var(--white);
    padding: 10px 25px;
    border-radius: var(--radius-xl);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 5px;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--dark);
    transition: var(--transition);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100%;
    background: var(--white);
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--light);
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-list {
    list-style: none;
    padding: 20px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 0;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-nav-link.active {
    color: var(--primary);
}

.mobile-submenu {
    list-style: none;
    padding-right: 20px;
    margin-top: 10px;
}

.mobile-submenu a {
    display: block;
    padding: 8px 0;
    color: var(--text-light);
    font-size: 14px;
}

.mobile-menu-footer {
    padding: 20px;
    border-top: 1px solid var(--border);
}

.mobile-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius-md);
    font-weight: bold;
    margin-bottom: 15px;
}

.mobile-social {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ================================
   Hero Section
   ================================ */
.hero {
     background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/hero.webp') center center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 120px 20px 60px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.9);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    border-radius: var(--radius-xl);
    font-weight: bold;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    border-color: var(--secondary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
}

/* ================================
   Sections
   ================================ */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    color: var(--dark);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 50%;
    transform: translateX(50%);
    width: 60px;
    height: 3px;
    background: var(--primary);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

/* ================================
   Services Grid
   ================================ */
.services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
}

.service-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary);
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.service-link:hover {
    gap: 10px;
}

/* ================================
   About Section
   ================================ */
.about {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h2 {
    color: var(--dark);
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: var(--light);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.stat:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2rem;
    color: var(--primary);
    font-weight: bold;
    display: block;
}

.stat-label {
    color: var(--text-light);
    font-size: 14px;
}

/* ================================
   WebLite Section (Middle)
   ================================ */
.weblite-section-middle {
    background: var(--gradient-weblite);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.weblite-section-middle::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.weblite-section-middle::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.weblite-content {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.weblite-icon-wrapper {
    display: inline-block;
    margin-bottom: 20px;
}

.weblite-icon {
    font-size: 3rem;
    animation: pulse 2s infinite;
}

.weblite-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.weblite-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.weblite-price-box {
    display: inline-flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px 40px;
    background: rgba(255,255,255,0.15);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(10px);
}

.weblite-from {
    font-size: 1.1rem;
    opacity: 0.9;
}

.weblite-price {
    font-size: 3rem;
    font-weight: bold;
}

.weblite-period {
    font-size: 1rem;
    opacity: 0.9;
}

.weblite-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.weblite-feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    backdrop-filter: blur(10px);
}

.weblite-check {
    color: var(--accent);
}

.weblite-main-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    background: var(--white);
    color: #6366f1;
    border-radius: var(--radius-xl);
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
}

.weblite-main-cta:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
    gap: 15px;
}

.weblite-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    font-size: 14px;
    opacity: 0.9;
}

/* ================================
   Testimonials
   ================================ */
.testimonials {
    background: var(--light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stars {
    color: gold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary);
}

.testimonial-role {
    font-size: 14px;
    color: var(--text-light);
}

/* ================================
   Contact Form
   ================================ */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-form {
    background: var(--light);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 16px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,168,232,0.1);
}

.form-submit {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.info-item {
    text-align: center;
    padding: 20px;
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.info-title {
    font-weight: bold;
    color: var(--dark);
    margin-bottom: 10px;
}

.info-text {
    color: var(--text-light);
}

/* ================================
   Footer
   ================================ */
.main-footer {
    background: var(--dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-top {
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.footer-column h3 {
    margin-bottom: 20px;
    color: var(--secondary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-description {
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social-link {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social-link:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    padding-right: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
    color: rgba(255,255,255,0.8);
}

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--secondary);
}

.footer-contact-item a {
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
    display: block;
}

.footer-contact-item a:hover {
    color: var(--secondary);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.copyright {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

.created-by {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.weblite-credit {
    color: var(--secondary);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.weblite-credit:hover {
    color: var(--accent);
}

/* ================================
   Back to Top Button
   ================================ */
.back-to-top {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ================================
   WebLite Floating Widget
   ================================ */
.weblite-float-widget {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 100;
}

.weblite-float-button {
    background: var(--gradient-weblite);
    color: var(--white);
    border: none;
    border-radius: var(--radius-xl);
    padding: 12px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.weblite-float-button:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

.weblite-float-icon {
    font-size: 20px;
}

.weblite-float-popup {
    position: absolute;
    bottom: 60px;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.weblite-float-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.weblite-popup-header {
    background: var(--gradient-weblite);
    color: var(--white);
    padding: 15px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.weblite-popup-header h4 {
    margin: 0;
    font-size: 16px;
}

.weblite-popup-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

.weblite-popup-body {
    padding: 20px;
}

.weblite-popup-features {
    list-style: none;
    margin: 15px 0;
}

.weblite-popup-features li {
    padding: 8px 0;
    color: var(--text-light);
}

.weblite-popup-price {
    text-align: center;
    padding: 15px;
    background: var(--light);
    border-radius: var(--radius-md);
    margin: 15px 0;
    font-size: 18px;
    color: var(--primary);
}

.weblite-popup-cta {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--gradient-weblite);
    color: var(--white);
    text-align: center;
    border-radius: var(--radius-md);
    font-weight: bold;
    transition: var(--transition);
}

.weblite-popup-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ================================
   WhatsApp Float
   ================================ */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 99;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

/* ================================
   Media Queries
   ================================ */

/* Tablet */
@media (min-width: 768px) {
    .header-top {
        display: block;
    }
    
    .logo-tagline {
        display: block;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .nav-cta {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.25rem;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .about-stats {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: right;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .weblite-title {
        font-size: 3rem;
    }
    
    .weblite-features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Desktop */
@media (min-width: 1440px) {
    .container {
        max-width: 1320px;
    }
}

/* Print Styles */
@media print {
    .weblite-banner,
    .header-top,
    .mobile-menu,
    .mobile-menu-overlay,
    .back-to-top,
    .weblite-float-widget,
    .whatsapp-float,
    .weblite-section-middle {
        display: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --light: #1a1a1a;
        --white: #0a0a0a;
        --text: #e0e0e0;
        --text-light: #b0b0b0;
        --border: #333;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mt-4 { margin-top: 40px; }
.mt-5 { margin-top: 50px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.mb-4 { margin-bottom: 40px; }
.mb-5 { margin-bottom: 50px; }
.p-0 { padding: 0; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }
.p-4 { padding: 40px; }
.p-5 { padding: 50px; }
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }
/* ================================
   Services Redesign
   ================================ */

/* הגדרת ה-Counter */
.services-grid-redesigned {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    counter-reset: service-counter; /* אתחול המספור */
}

.service-card-redesigned {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: right; /* יישור לימין במקום למרכז */
    position: relative;
    overflow: hidden; /* מסתיר את המספר שגולש החוצה */
    z-index: 1;
}

.service-card-redesigned:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

/* עיצוב המספר ברקע */
.service-card-redesigned::before {
    content: '0' counter(service-counter); /* יצירת המספר "01", "02" וכו' */
    counter-increment: service-counter; /* קידום המספר */
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    color: rgba(0, 52, 89, 0.05); /* שימוש בצבע var(--dark) עם שקיפות */
    z-index: -1;
    transition: var(--transition);
}

.service-card-redesigned:hover::before {
    transform: scale(1.1); /* אפקט קטן בהעברת עכבר */
}

/* עיצוב האייקון החדש */
.service-icon-redesigned {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--light); /* שימוש ברקע הבהיר מהמשתנים */
    color: var(--primary); /* שימוש בצבע הראשי מהמשתנים */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 168, 232, 0.1); /* צל עדין בצבע הראשי */
}

.service-card-redesigned h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.service-card-redesigned p {
    color: var(--text-light);
    margin-bottom: 20px;
    min-height: 70px; /* גובה מינימלי לשמירה על אחידות */
}

/* הקישור "קרא עוד" כבר מעוצב על ידי .service-link הקיים */

/* ================================
   Advantages Section (Why Us) Redesign
   ================================ */

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 30px; /* רווח בין הפריטים */
    justify-content: center; /* ממקם את הפריטים במרכז העמודה */
}

.advantage-item {
    display: flex;
    align-items: flex-start; /* מיישר את האייקון להתחלת הטקסט */
    gap: 20px; /* רווח בין האייקון לטקסט */
}

.advantage-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--white); /* רקע לבן נקי */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary); /* שימוש בצבע המשני ליצירת בידול */
    box-shadow: var(--shadow-md); /* צל עדין */
    transition: var(--transition);
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(10deg); /* אפקט קטן בהעברת עכבר */
    box-shadow: var(--shadow-lg);
}

.advantage-text h4 {
    color: var(--dark);
    font-size: 1.25rem; /* מעט יותר גדול */
    font-weight: 600;
    margin-bottom: 5px;
}

.advantage-text p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}
/* ================================
   Process Section Redesign
   ================================ */

.process-steps-container {
    display: flex;
    flex-direction: column; /* Mobile first: stack vertically */
    gap: 40px;
    align-items: center;
    margin-top: 50px;
    position: relative;
}

.process-step {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    text-align: center;
    width: 100%;
    max-width: 380px; /* Max-width for mobile */
    position: relative;
    transition: var(--transition);
    border-bottom: 4px solid var(--primary); /* Accent line */
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.process-step-number {
    position: absolute;
    top: -25px;
    right: 50%;
    transform: translateX(50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,168,232,0.4);
    border: 3px solid var(--white);
}

.process-step-icon {
    margin-top: 20px; /* Space for the number bubble */
    margin-bottom: 20px;
    color: var(--primary);
    display: inline-block;
}

.process-step h3 {
    color: var(--dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.process-step p {
    color: var(--text-light);
    margin-bottom: 0;
    line-height: 1.6;
}

/* Desktop Styles: Horizontal layout with connectors */
@media (min-width: 992px) {
    .process-steps-container {
        flex-direction: row; /* Horizontal layout */
        justify-content: space-between;
        align-items: stretch; /* Make cards same height */
        padding-top: 30px; /* Add space for the top bubble */
    }

    .process-step {
        width: 31%; /* Three cards layout */
        max-width: none;
    }

    /* Connector line */
    .process-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 55px; /* Aligns with the middle of the icon */
        left: 100%;
        width: 13.5%; /* This is tricky, based on gap */
        height: 2px;
        background-image: linear-gradient(to right, var(--primary) 50%, rgba(255,255,255,0) 0%);
        background-position: top;
        background-size: 10px 2px;
        background-repeat: repeat-x;
        opacity: 0.5;
        z-index: -1;
        
        /* Adjust for RTL */
        right: 100%;
        left: auto;
        background-image: linear-gradient(to left, var(--primary) 50%, rgba(255,255,255,0) 0%);
    }

    /* Adjust connector for the middle element */
    .process-step:nth-child(2)::after {
        width: 14%;
    }
    
    .process-step-number {
        top: -25px;
        right: -25px; /* Position in the corner */
        transform: none;
    }
}
/* ================================
   Contact Section Redesign
   ================================ */

.contact-card-redesigned {
    display: grid;
    grid-template-columns: 1fr 1.2fr; /* Form is slightly larger */
    background: var(--white);
    border-radius: var(--radius-xl); /* Larger radius */
    box-shadow: var(--shadow-xl); /* Stronger shadow */
    overflow: hidden; /* To keep the radius */
    margin-top: 50px;
}

.contact-info-redesigned {
    background: var(--primary);
    color: var(--white);
    padding: 40px;
}

.contact-card-title {
    font-size: 1.75rem;
    color: var(--white);
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-card-title.dark {
    color: var(--dark);
}

.contact-card-subtitle {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-details-list li svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: 0.9;
}

.contact-details-list li a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details-list li a:hover {
    opacity: 0.8;
}

.contact-form-redesigned {
    padding: 40px;
}

/* Grid for name and phone */
.form-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-card-redesigned {
        grid-template-columns: 1fr; /* Stack vertically */
    }
    
    .contact-info-redesigned {
        /* On mobile, info block comes first */
        order: 1;
    }
    
    .contact-form-redesigned {
        order: 2;
    }
}

@media (max-width: 768px) {
    .form-grid-2col {
        grid-template-columns: 1fr; /* Stack name/phone on mobile */
        gap: 0; /* form-group already has margin-bottom */
    }
    
    .contact-info-redesigned {
        padding: 30px;
    }
    
    .contact-form-redesigned {
        padding: 30px;
    }
}
/* ================================
   Header Redesign (Mobile-First)
   ================================ */

/* --- A11y Classes --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-to-content {
    position: absolute;
    top: -100px; /* מוסתר כברירת מחדל */
    left: 10px;
    background: var(--dark);
    color: var(--white);
    padding: 10px 15px;
    z-index: 10001; /* מעל הכל */
    transition: top 0.3s ease;
}
.skip-to-content:focus {
    top: 70px; /* מופיע ב-focus (אחרי הבאנר) */
}

/* --- Mobile-First Logo --- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px; /* גודל מותאם למובייל */
    font-weight: 700;
    color: var(--primary);
}
.logo-icon {
    font-size: 28px;
    line-height: 1;
}
.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.logo-text {
    font-size: 20px;
    font-weight: 700;
}
.logo-tagline {
    display: none; /* מוסתר במובייל כברירת מחדל */
    font-size: 12px;
    color: var(--text-light);
    font-weight: 400;
}

/* --- Mobile-First Header Structure --- */
.header-top {
    display: none; /* מוסתר במובייל */
}
.nav-menu {
    display: none; /* תפריט דסקטופ מוסתר במובייל */
}
.nav-cta {
    display: none; /* כפתור CTA בדסקטופ מוסתר במובייל */
}
.mobile-menu-toggle {
    display: flex; /* כפתור המבורגר מוצג במובייל */
}
.nav-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Mobile Menu Improvements --- */
.mobile-nav-link {
    display: flex; /* מאפשר הצמדת החץ לקצה */
    justify-content: space-between;
    align-items: center;
}
.submenu-arrow {
    color: var(--text-light);
    transition: var(--transition);
}
.mobile-nav-link.active .submenu-arrow {
    transform: rotate(180deg); /* הופך את החץ כשהתפריט פתוח */
}


/* --- Desktop Styles (Tablet+) --- */
@media (min-width: 768px) {
    .header-top {
        display: block; /* הצג בר עליון */
    }
    .nav-menu {
        display: flex; /* הצג תפריט דסקטופ */
    }
    .nav-cta {
        display: flex; /* הצג כפתור CTA */
    }
    .mobile-menu-toggle {
        display: none; /* הסתר כפתור המבורגר */
    }
    .logo-tagline {
        display: block; /* הצג סלוגן בלוגו */
    }
    .logo {
        font-size: 24px; /* הגדל לוגו בדסקטופ */
    }
    .logo-text {
        font-size: 24px;
    }
}/* ================================
   Mobile Menu Z-index Fix
   ================================ */

/* Ensure the overlay is above the header and banner when active */
.mobile-menu-overlay.active {
    z-index: 10001; /* Higher than banner (10000) */
}

/* Ensure the menu itself is above the overlay, header, and banner when active */
.mobile-menu.active {
    z-index: 10002; /* Highest value */
    /* Make sure the left property is correctly overridden */
    left: 0 !important; /* Adding !important just in case, though ideally not needed */
    right: auto; /* Explicitly set right for RTL */
}

/* Ensure the hamburger button itself is clickable, even if header has content */
.mobile-menu-toggle {
    position: relative; /* Needed for z-index to apply */
    z-index: 1001; /* Above the main header content */
}

/* Ensure the main header doesn't interfere with clicks when menu is open
   (Optional but good practice) */
body.mobile-menu-open .main-header {
   z-index: 997; /* Below the overlay */
}
 (2025-10-20) ======== */
.logo { gap: 12px; white-space: nowrap; }
.logo-icon {
    font-size: 28px;
    padding: 6px;
    border-radius: 12px;
    background: var(--light);
    box-shadow: var(--shadow-sm);
    line-height: 1;
}
.logo-text-wrapper { line-height: 1.05; }
.logo-text {
    font-weight: 800;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.logo-tagline {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    color: var(--text-light);
    opacity: 0.9;
}

.mobile-menu-toggle {
    width: 42px; height: 42px; padding: 10px;
    align-items: center; justify-content: center;
    border-radius: 10px; background: var(--light);
}
.mobile-menu-toggle:hover { box-shadow: var(--shadow-sm); }
.mobile-menu-toggle .hamburger-line { border-radius: 2px; }

/* Desktop refinement */
@media (min-width: 768px) {
    .logo { font-size: 24px; }
    .logo-text { font-size: 26px; }
    .logo-tagline { font-size: 13px; }
}
/* ======== /PATCH ======== */
/* ===== WebLite Middle Promo (RTL) ===== */
.weblite-section-middle{
  position: relative;
  padding: clamp(48px, 7vw, 96px) 0;
  isolation: isolate;
}

.weblite-mid-bg{
  position:absolute; inset:0; z-index:-1;
  background:
    radial-gradient(1200px 600px at 85% -10%, color-mix(in oklab, var(--primary), transparent 70%) 0%, transparent 60%),
    radial-gradient(900px 500px at 10% 110%, color-mix(in oklab, var(--secondary), transparent 72%) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg, #0b1020) 0%, color-mix(in srgb, var(--bg,#0b1020), #0a0f1a 70%) 100%);
  opacity:.9;
}

.weblite-mid-card{
  max-width: 980px; margin-inline:auto;
  background: color-mix(in srgb, var(--card-bg, #0f1628), rgba(255,255,255,.06));
  border: 1px solid color-mix(in srgb, var(--primary,#4ea4ff), transparent 85%);
  border-radius: 22px;
  padding: clamp(24px, 4.5vw, 48px);
  box-shadow: 0 20px 70px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}

.weblite-mid-badge{
  display:flex; align-items:center; gap:10px;
  width:max-content; margin-inline:auto 0; margin-bottom:14px;
  padding:8px 12px; border-radius:999px;
  background: color-mix(in srgb, var(--primary,#3ea0ff), transparent 85%);
  color: var(--primary,#3ea0ff);
  font-weight:600; font-size:.9rem;
}
.weblite-icon{ font-size:18px; }
.weblite-badge-text{ opacity:.95; }

/* Titles */
.weblite-mid-title{
  text-align:center; margin:0 0 8px;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800;
  letter-spacing:.2px;
  background: linear-gradient(135deg, var(--primary,#4ea4ff), var(--secondary,#22d3ee));
  -webkit-background-clip:text; background-clip:text; color: transparent;
}
.weblite-mid-subtitle{
  text-align:center; margin:0 0 24px; color: var(--text-muted,#94a3b8);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
}

/* Price */
.weblite-mid-price{
  display:flex; align-items:center; justify-content:center; gap:10px;
  margin-bottom: 22px; flex-wrap:wrap;
}
.weblite-mid-price .mid-from{ color: var(--text-light,#cbd5e1); opacity:.85; }
.weblite-mid-price .mid-value{
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900; line-height:1;
  padding: 6px 14px; border-radius: 14px;
  background: linear-gradient(135deg, var(--primary,#4ea4ff), var(--secondary,#22d3ee));
  color:#001018; box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.18));
}
.weblite-mid-price .mid-period{ color: var(--text-light,#cbd5e1); opacity:.9; }

/* Features */
.weblite-mid-features{
  display:grid; gap:12px;
  grid-template-columns: repeat(2, minmax(0,1fr));
  max-width: 820px; margin: 0 auto 26px;
}
.weblite-mid-features .feat{
  display:flex; align-items:center; gap:10px;
  padding: 10px 12px; border-radius: 12px;
  background: color-mix(in srgb, var(--card-bg,#0f1628), rgba(255,255,255,.04));
  border: 1px solid color-mix(in srgb, var(--primary,#4ea4ff), transparent 88%);
  color: var(--text,#e2e8f0);
  transition: transform .25s ease, border-color .25s ease;
}
.weblite-mid-features .feat:hover{ transform: translateY(-2px); border-color: color-mix(in srgb, var(--primary,#4ea4ff), transparent 70%); }
.weblite-mid-features svg{ flex:none; opacity:.95; }

/* CTA */
.weblite-mid-cta{ text-align:center; }
.weblite-mid-button{
  display:inline-flex; align-items:center; gap:10px;
  padding:14px 18px; border-radius:14px;
  background: linear-gradient(135deg, var(--primary,#4ea4ff), var(--secondary,#22d3ee));
  color:#001018; font-weight:800; letter-spacing:.2px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
  transition: transform .2s ease, box-shadow .2s ease;
}
.weblite-mid-button .arrow-icon{ transition: transform .2s ease; }
.weblite-mid-button:hover{ transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.3); }
.weblite-mid-button:hover .arrow-icon{ transform: translateX(-3px); }

.weblite-mid-guarantee{
  margin-top:10px; color: var(--text-muted,#94a3b8);
  display:flex; align-items:center; gap:8px; justify-content:center;
  font-size:.95rem;
}
.weblite-mid-guarantee svg{ opacity:.9; }

/* Responsive */
@media (min-width: 768px){
  .weblite-mid-features{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
/* שים את האייקון משמאל לטקסט, ללא תלות בכיוון הדף */
.weblite-mid-button { display:inline-flex; align-items:center; gap:10px; }
.weblite-mid-button .arrow-left { order: -1; }        /* האייקון לפני הטקסט בציר, מה שממקם אותו בצד שמאל */
.weblite-mid-button:hover .arrow-icon { transform: translateX(-3px); } /* זז מעט שמאלה בהובר */
