* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF8C00;
    --secondary-color: #FF6B35;
    --text-color: #333;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: pulseBackground 10s ease-in-out infinite;
}

@keyframes pulseBackground {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Geometric Shapes Decoration */
.geometric-bg {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.03;
}

.geo-circle-1 {
    width: 400px;
    height: 600px;
    border: 30px solid white;
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: rotate360 30s linear infinite;
}

.geo-circle-2 {
    width: 300px;
    height: 600px;
    border: 20px solid white;
    border-radius: 50%;
    bottom: -50px;
    left: -80px;
    animation: rotate360Reverse 25s linear infinite;
}

.geo-square {
    width: 200px;
    height: 600px;
    border: 15px solid white;
    top: 50%;
    left: 10%;
    transform: rotate(45deg);
    animation: floatUpDown 8s ease-in-out infinite;
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate360Reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-30px) rotate(45deg); }
}

/* Header */
header {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 248, 240, 0.98) 100%);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.header-top {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 8px 20px;
    text-align: center;
}

.header-contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.header-phone {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 5px 15px;
    background: rgba(255,255,255,0.2);
    border-radius: 20px;
}

.header-phone:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.05);
}

.phone-icon {
    font-size: 16px;
}

.header-divider {
    opacity: 0.5;
}

.header-availability {
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-availability::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.2); }
}

nav {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 20px;
    gap: 40px;
}

.logo {
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 140, 0, 0.25);
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 140, 0, 0.2);
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,140,0,0.2), transparent);
    transition: left 0.5s;
}

.logo:hover::before {
    left: 100%;
}

.logo:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 140, 0, 0.35);
    border-color: var(--primary-color);
}

.logo-img {
    height: 50px;
    width: auto;
    filter: drop-shadow(2px 2px 4px rgba(255,140,0,0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-title {
    font-size: 22px;
    font-weight: bold;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
    font-weight: normal;
}

.nav-links {
    display: flex;
    gap: 8px;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    font-size: 15px;
    position: relative;
    padding: 10px 18px;
    border-radius: 25px;
    background: transparent;
}

.nav-links a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a:hover {
    color: white;
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.95) 0%, rgba(255, 107, 53, 0.95) 100%);
    color: var(--white);
    padding: 100px 20px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    padding: 50px 40px;
    border-radius: 25px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.hero-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

.hero-logo {
    width: 300px;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 15px;
    filter: drop-shadow(0 4px 20px rgba(255, 140, 0, 0.4));
    animation: heroLogoFloat 3s ease-in-out infinite;
    border: 5px solid var(--primary-color);
}

@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-content h1,
.hero-content .subtitle,
.hero-content p {
    color: var(--text-color);
}

.hero-content h1 {
    color: var(--primary-color);
}

.hero h1 {
    font-size: 56px;
    margin-bottom: 15px;
    text-shadow: none;
    animation: fadeInDown 1s ease;
    color: var(--primary-color);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .subtitle {
    font-size: 28px;
    margin-bottom: 10px;
    opacity: 1;
    animation: fadeIn 1.2s ease;
    color: var(--text-color);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 1;
    animation: fadeIn 1.4s ease;
    color: #555;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn {
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
}

.btn-whatsapp:hover {
    background: #20BA5A;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Sections */
section {
    background: var(--white);
    margin: 40px auto;
    padding: 70px 40px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    max-width: 1200px;
    animation: fadeIn 1s ease;
}

h2 {
    color: var(--primary-color);
    font-size: 42px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 35px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: var(--transition);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.service-card:hover::after {
    transform: translateX(100%);
}

.service-card:hover::before {
    top: -60%;
    right: -60%;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.03) rotateX(5deg);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.5);
}

.service-card h3 {
    font-size: 26px;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 16px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

/* Credentials */
.credentials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.credential-card {
    text-align: center;
    padding: 30px;
    border: 3px solid var(--primary-color);
    border-radius: 20px;
    transition: var(--transition);
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.05), rgba(255, 107, 53, 0.05));
}

.credential-card:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.3);
    border-color: var(--secondary-color);
}

.credential-card img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
}

.credential-card:hover img {
    transform: scale(1.05);
}

.credential-card h3 {
    color: var(--primary-color);
    font-size: 24px;
    margin-bottom: 12px;
}

.credential-card p {
    color: var(--text-color);
    font-size: 16px;
}

/* Midrag iframe styles */
.midrag-card {
    padding: 25px;
}

.midrag-iframe-container {
    position: relative;
    width: 100%;
    height: 600px;
    margin: 20px 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    background: #f5f5f5;
}

.midrag-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

.midrag-link {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.midrag-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.about-text {
    font-size: 18px;
    line-height: 1.9;
    color: #555;
}

.about-text p {
    margin-bottom: 20px;
}

.about-features {
    display: grid;
    gap: 20px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 107, 53, 0.1));
    border-radius: 15px;
    border-right: 4px solid var(--primary-color);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateX(-10px);
    box-shadow: 0 5px 20px rgba(255, 140, 0, 0.2);
}

.about-feature-icon {
    font-size: 32px;
}

.about-feature-text h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
}

.about-feature-text p {
    color: #666;
    font-size: 15px;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: var(--transition);
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 80px;
    color: rgba(255, 140, 0, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.2);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 18px;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 20px;
    margin-top: 10px;
}

/* Contact */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.contact-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 25px rgba(255, 140, 0, 0.3);
}

.contact-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.5);
}

.contact-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 18px;
}

.contact-card p {
    font-size: 22px;
    font-weight: bold;
}

.contact-card a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.contact-card a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.contact-card a:active {
    transform: translateY(-1px);
}

/* Footer */
footer {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-color);
    text-align: center;
    padding: 40px 20px;
    margin-top: 50px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
}

footer p {
    margin: 10px 0;
    font-size: 16px;
}

footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: var(--transition);
}

footer a:hover {
    text-decoration: underline;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a.whatsapp-icon {
    background: #25D366;
}

.footer-social a.whatsapp-icon:hover {
    background: #20BA5A;
    transform: scale(1.2) rotate(10deg);
}

.footer-social a.phone-icon {
    background: var(--primary-color);
}

.footer-social a.phone-icon:hover {
    background: var(--secondary-color);
    transform: scale(1.2) rotate(10deg);
}

.footer-social a svg {
    fill: white;
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 999;
}

.floating-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.4);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.floating-btn:hover {
    transform: scale(1.15) rotate(10deg);
    animation: none;
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.phone {
    background: var(--primary-color);
}

.floating-btn.chatbot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.floating-btn svg {
    width: 35px;
    height: 35px;
    fill: var(--white);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 280px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: var(--transition);
    font-size: 24px;
}

.back-to-top.show {
    display: flex;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* Loading Animation */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s, visibility 0.5s;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 30px;
    }

    h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {


    .hero-logo {
        width: 250px;
        height: 250px;
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }

    body {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }

    .geo-circle-1 {
        width: 250px;
        height: 600px;
        border: 15px solid white;
    }

    .geo-circle-2 {
        width: 180px;
        height: 180px;
        border: 12px solid white;
    }

    .geo-square {
        width: 150px;
        height: 150px;
        border: 10px solid white;
    }

    .header-top {
        padding: 6px 15px;
    }

    .header-contact-info {
        font-size: 13px;
        gap: 10px;
    }

    .header-phone {
        padding: 4px 12px;
    }

    nav {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        padding: 12px;
        width: 100%;
        max-width: 100%;
    }

    .logo {
        font-size: 20px;
        padding: 8px 18px;
        gap: 10px;
        order: -1;
        border-radius: 40px;
    }

    .logo-img {
        height: 40px;
    }

    .logo-title {
        font-size: 19px;
    }

    .logo-subtitle {
        font-size: 11px;
    }

    .nav-links,
    .nav-links-left {
        display: flex;
        gap: 6px;
        justify-content: center;
        width: 100%;
        padding: 0;
        flex-wrap: wrap;
        margin: 0;
    }

    .nav-links li {
        flex: 0 1 auto;
    }

    .nav-links a {
        font-size: 13px;
        padding: 10px 14px;
        background: linear-gradient(135deg, rgba(255, 140, 0, 0.15), rgba(255, 107, 53, 0.15));
        border-radius: 20px;
        box-shadow: 0 3px 10px rgba(255,140,0,0.2);
        backdrop-filter: blur(10px);
        border: 1.5px solid rgba(255,140,0,0.25);
        position: relative;
        overflow: hidden;
        text-align: center;
        display: block;
        white-space: nowrap;
        font-weight: 600;
        color: var(--text-color);
    }

    .nav-links a::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        border-radius: 20px;
        opacity: 0;
        transition: var(--transition);
        z-index: -1;
    }

    .nav-links a:active::before {
        opacity: 1;
    }

    .nav-links a:hover,
    .nav-links a:active {
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255,140,0,0.35);
    }

    .hero {
        padding: 70px 20px 60px;
    }

    .hero::before {
        width: 350px;
        height: 350px;
    }

    .hero-content {
        padding: 35px 25px;
        border-radius: 20px;
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
        max-width: 100%;
    }


    .hero h1 {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .hero .subtitle {
        font-size: 21px;
        margin-bottom: 10px;
    }

    .hero p {
        font-size: 17px;
        margin-bottom: 28px;
        line-height: 1.6;
    }

    .mobile-menu-btn {
        display: none;
    }

    section {
        padding: 45px 25px;
        margin: 30px 20px;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    }

    h2 {
        font-size: 30px;
        margin-bottom: 30px;
    }

    h2::after {
        width: 90px;
        height: 4px;
    }

    .services-grid,
    .credentials-grid,
    .gallery-grid,
    .testimonials-grid,
    .contact-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .midrag-iframe-container {
        height: 600px;
    }

    .service-card,
    .credential-card,
    .testimonial-card,
    .contact-card {
        padding: 30px 25px;
        border-radius: 18px;
    }

    .service-card:active {
        transform: translateY(-8px) scale(1.01);
    }

    .service-card h3 {
        font-size: 24px;
        margin-bottom: 15px;
    }

    .service-card p {
        font-size: 16px;
        line-height: 1.7;
    }

    .contact-card a {
        padding: 15px 28px;
        font-size: 18px;
        margin-top: 15px;
    }

    .contact-card a:active {
        transform: translateY(0) scale(0.97);
    }

    .contact-card h3 {
        font-size: 26px;
    }

    .contact-card p {
        font-size: 20px;
    }

    .testimonial-card {
        padding: 30px 25px;
    }

    .testimonial-text {
        font-size: 16px;
        line-height: 1.8;
    }

    .gallery-item img {
        height: 280px;
        border-radius: 16px;
    }

    .floating-buttons {
        bottom: 20px;
        left: 20px;
        gap: 16px;
    }

    .floating-btn {
        width: 62px;
        height: 62px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    }

    .floating-btn:active {
        transform: scale(0.95);
    }

    .floating-btn svg {
        width: 32px;
        height: 32px;
    }

    .back-to-top {
        bottom: 260px;
        left: 20px;
        width: 58px;
        height: 58px;
        font-size: 28px;
        box-shadow: 0 8px 25px rgba(255,140,0,0.4);
    }

    .back-to-top:active {
        transform: scale(0.95);
    }

    .chatbot-window {
        width: calc(100% - 40px);
        height: 600px;
        left: 20px;
        bottom: 20px;
    }

    .chatbot-quick-buttons {
        max-height: 220px;
    }

    .chat-quick-btn {
        font-size: 14px;
        padding: 12px 15px;
    }

    .chatbot-input-area {
        padding: 12px;
    }

    .chatbot-input-area input {
        font-size: 14px;
        padding: 10px 15px;
    }

    .send-btn {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }

    .btn {
        padding: 16px 32px;
        font-size: 17px;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }

    .btn:active {
        transform: translateY(-2px) scale(0.98);
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        padding: 0 20px;
        gap: 16px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text p {
        font-size: 17px;
        line-height: 1.8;
        margin-bottom: 18px;
    }

    section div[style*="border-right"] {
        padding: 25px !important;
        margin-bottom: 35px !important;
    }
}

@media (max-width: 480px) {


    .hero-logo {
        width: 200px;
        height: 200px;
        max-width: 85%;
    }

    .geo-circle-1 {
        width: 150px;
        height: 150px;
        border: 10px solid white;
    }

    .geo-circle-2 {
        width: 120px;
        height: 120px;
        border: 8px solid white;
    }

    .geo-square {
        width: 100px;
        height: 100px;
        border: 6px solid white;
    }

    .hero {
        padding: 50px 12px 40px;
    }

    .hero-content {
        padding: 25px 18px;
        border-radius: 18px;
    }


    .hero h1 {
        font-size: 28px;
        margin-bottom: 10px;
    }

    .hero .subtitle {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .header-top {
        padding: 5px 10px;
    }

    .header-contact-info {
        font-size: 12px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .header-phone {
        padding: 3px 10px;
        font-size: 12px;
    }

    .logo {
        font-size: 16px;
        padding: 6px 14px;
        gap: 8px;
        border-radius: 35px;
    }

    .logo-img {
        height: 32px;
    }

    .logo-title {
        font-size: 16px;
    }

    .logo-subtitle {
        font-size: 10px;
    }

    nav {
        gap: 10px;
        padding: 10px 8px;
    }

    .nav-links,
    .nav-links-left {
        gap: 5px;
    }

    .nav-links a {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 18px;
    }

    section {
        padding: 35px 18px;
        margin: 25px 12px;
        border-radius: 18px;
    }

    h2 {
        font-size: 25px;
        margin-bottom: 20px;
    }

    h2::after {
        width: 70px;
        height: 3px;
    }

    .service-card h3,
    .credential-card h3,
    .contact-card h3 {
        font-size: 19px;
        margin-bottom: 12px;
    }

    .service-card,
    .credential-card,
    .testimonial-card {
        padding: 22px 18px;
    }

    .midrag-iframe-container {
        height: 450px;
    }

    .midrag-card {
        padding: 20px 15px;
    }

    .contact-card {
        padding: 28px 18px;
    }

    .floating-buttons {
        bottom: 15px;
        left: 15px;
        gap: 12px;
    }

    .floating-btn {
        width: 56px;
        height: 56px;
    }

    .floating-btn svg {
        width: 28px;
        height: 28px;
    }

    .back-to-top {
        bottom: 230px;
        left: 15px;
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .chatbot-window {
        width: calc(100% - 30px);
        height: 450px;
        left: 15px;
        bottom: 15px;
    }

    .chatbot-header {
        padding: 15px;
    }

    .chatbot-title h3 {
        font-size: 16px;
    }

    .chatbot-title p {
        font-size: 12px;
    }

    .chatbot-quick-buttons {
        padding: 12px;
        gap: 8px;
        max-height: 600px;
    }

    .chat-quick-btn {
        font-size: 13px;
        padding: 11px 14px;
    }

    .floating-btn,
    .back-to-top,
    .btn,
    .nav-links a {
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
    }

    body {
        font-size: 15px;
    }

    .service-card p,
    .testimonial-text,
    .about-text p {
        font-size: 15px;
        line-height: 1.7;
    }

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .cta-buttons {
        gap: 12px;
        padding: 0 12px;
    }

    .gallery-item img {
        height: 220px;
        border-radius: 15px;
    }

    .gallery-item .overlay {
        padding: 18px;
    }

    section div[style*="border-right"] {
        padding: 20px 18px !important;
        border-radius: 12px !important;
    }

    section div[style*="border-right"] h3 {
        font-size: 19px !important;
    }

    section div[style*="border-right"] p {
        font-size: 16px !important;
    }
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High pixel density screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .service-card,
    .credential-card,
    .contact-card,
    .testimonial-card {
        box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    }

    .floating-btn,
    .back-to-top {
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .hero-content {
        box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    }

    section {
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    }
}

/* Print Styles */
@media print {
    .floating-buttons,
    .back-to-top,
    .mobile-menu-btn {
        display: none !important;
    }

    body {
        background: white;
    }

    section {
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* Page Hero for subpages */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
    color: white;
    text-align: center;
    width: 100%;
    padding: 0;
}

.page-hero h1::after {
    display: none;
}

.page-hero p {
    font-size: 20px;
    opacity: 0.95;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
}

.page-hero::after {
    display: none;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(255, 140, 0, 0.1), rgba(255, 107, 53, 0.1));
    text-align: center;
    padding: 60px 40px;
    border: 2px dashed var(--primary-color);
}

.cta-section h2 {
    margin-bottom: 15px;
}

.cta-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Orange CTA Section */
.cta-section.cta-orange {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border: none;
    border-radius: 0;
}

.cta-section.cta-orange h2 {
    color: white;
}

.cta-section.cta-orange h2::after {
    background: white;
}

.cta-section.cta-orange p {
    color: white;
    opacity: 0.95;
}

/* White button with orange text */
.btn-white {
    background: white;
    color: var(--primary-color);
    border: 3px solid white;
    font-size: 20px;
    padding: 18px 45px;
    font-weight: bold;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    animation: pulse-btn-white 2s infinite;
}

.btn-white:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

@keyframes pulse-btn-white {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2); }
    50% { transform: scale(1.03); box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3); }
}

/* Active nav link */
.nav-links a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.nav-links a.active::before {
    opacity: 0;
}

/* Call button enhancement */
.btn-call {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    animation: pulse-btn 2s infinite;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.5);
    font-size: 20px;
    padding: 18px 45px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-call::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

.btn-call::after {
    content: '\261E';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    opacity: 0;
    transition: all 0.3s ease;
}

@keyframes pulse-btn {
    0%, 100% { transform: scale(1); box-shadow: 0 5px 25px rgba(255, 140, 0, 0.5), 0 0 0 0 rgba(255, 140, 0, 0.4); }
    50% { transform: scale(1.03); box-shadow: 0 10px 35px rgba(255, 140, 0, 0.7), 0 0 20px 5px rgba(255, 140, 0, 0.3); }
}

@keyframes shine {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

.btn-call:hover {
    animation: none;
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.6);
    border-color: white;
}

.btn-call:hover::after {
    opacity: 1;
    left: 20px;
}

.btn-call:active {
    transform: translateY(-2px) scale(1.02);
}

@media (max-width: 768px) {
    .page-hero {
        padding: 40px 20px;
    }

    .page-hero h1 {
        font-size: 32px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-section .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* Chatbot Styles */
.floating-btn.chatbot {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.chatbot-window {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 380px;
    height: 550px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    display: none;
    flex-direction: column;
    z-index: 10000;
    overflow: hidden;
}

.chatbot-window.active {
    display: flex;
}

.chatbot-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    font-size: 35px;
}

.chatbot-title h3 {
    margin: 0;
    font-size: 18px;
}

.chatbot-title p {
    margin: 0;
    font-size: 13px;
    opacity: 0.9;
}

.chatbot-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.chatbot-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f5f5f5;
}

.chat-message {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    animation: messageSlideIn 0.3s ease;
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-message.user {
    flex-direction: row-reverse;
}

.message-avatar {
    font-size: 28px;
    flex-shrink: 0;
}

.message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 15px;
    max-width: 75%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.chat-message.user .message-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.message-content p {
    margin: 0 0 8px 0;
    line-height: 1.5;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content a {
    color: inherit;
    text-decoration: underline;
    font-weight: bold;
    transition: var(--transition);
}

.message-content a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.quick-questions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.quick-questions button {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    text-align: right;
    font-size: 14px;
    transition: var(--transition);
}

.quick-questions button:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4);
}

.chatbot-quick-buttons {
    padding: 15px;
    background: white;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 280px;
    overflow-y: auto;
}

.chat-quick-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 14px 18px;
    border-radius: 12px;
    cursor: pointer;
    text-align: right;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.3);
    line-height: 1.4;
}

.chat-quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.5);
}

.chat-quick-btn:active {
    transform: translateY(0);
}

/* Chatbot Input Area */
.chatbot-input-area {
    padding: 15px;
    background: white;
    border-top: 2px solid #e0e0e0;
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input-area input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 25px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    background: #f5f5f5;
}

.chatbot-input-area input:focus {
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.2);
}

.chatbot-input-area input::placeholder {
    color: #999;
}

.send-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.5);
}

.send-btn:active {
    transform: scale(0.95);
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 10px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #667eea;
    border-radius: 50%;
    animation: typingBounce 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingBounce {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-10px);
    }
}

/* ===================================================================
   ווידג'ט נגישות - Accessibility Widget Styles
   תקן ישראלי 5568 / WCAG 2.0 Level AA
   =================================================================== */

/* ===== Screen Reader Only ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Skip Links ===== */
#skipLinks {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999999;
  display: flex !important;
  gap: 10px;
  padding: 0;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: #fff;
  padding: 15px 25px;
  text-decoration: none;
  z-index: 999999;
  font-weight: 700;
  font-size: 16px;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: top 0.3s ease;
  white-space: nowrap;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: 0;
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

.skip-link:hover {
  background: linear-gradient(135deg, #1976d2, #0d47a1);
}

#skipLinks .skip-link:nth-child(1) {
  left: 0;
}

#skipLinks .skip-link:nth-child(2) {
  left: 200px;
}

#skipLinks .skip-link:nth-child(3) {
  left: 400px;
}

/* ===== כפתור נגישות ראשי ===== */
.accessibility-trigger {
  position: fixed;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 36px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(33, 150, 243, 0.5);
  z-index: 100001;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
}

.accessibility-trigger:hover,
.accessibility-trigger:focus {
  transform: translateY(-50%) scale(1.15);
  box-shadow: 0 8px 25px rgba(33, 150, 243, 0.7);
  outline: none;
}

.accessibility-trigger:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 3px;
}

/* ===== פאנל נגישות ===== */
.accessibility-panel {
  position: fixed;
  top: 50%;
  left: 70px;
  transform: translateY(-50%) scale(0.95);
  width: 350px;
  max-height: 90vh;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 100000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.accessibility-panel.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) scale(1);
}

.accessibility-header {
  background: linear-gradient(135deg, #2196f3, #1976d2);
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accessibility-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.accessibility-header h2::after {
  display: none;
}

.accessibility-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accessibility-close:hover,
.accessibility-close:focus {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}

.accessibility-close:focus-visible {
  outline: 2px solid #ffc107;
}

.accessibility-content {
  overflow-y: auto;
  padding: 20px;
  flex: 1;
}

.accessibility-content::-webkit-scrollbar {
  width: 6px;
}

.accessibility-content::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 3px;
}

.accessibility-section {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.accessibility-section:last-child {
  border-bottom: none;
}

.accessibility-section h3 {
  color: #1976d2;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #e3f2fd;
  display: flex;
  align-items: center;
  gap: 8px;
}

.accessibility-section h3::after {
  display: none;
}

.accessibility-section h3 i {
  font-size: 16px;
}

/* ===== כפתורי נגישות ===== */
.accessibility-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  margin: 8px 0;
  background: #f5f5f5;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 15px;
  font-family: inherit;
  text-align: right;
  transition: all 0.3s ease;
  color: #333;
  white-space: nowrap;
}

.accessibility-btn i {
  width: 24px;
  text-align: center;
  color: #2196f3;
  font-size: 18px;
}

.accessibility-btn:hover {
  background: #e3f2fd;
  border-color: #2196f3;
  transform: translateX(-3px);
}

.accessibility-btn:focus-visible {
  outline: 3px solid #ffc107;
  outline-offset: 2px;
}

.accessibility-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
  color: white;
  border-color: #45a049;
  box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.accessibility-btn[aria-pressed="true"] i {
  color: white;
}

/* כפתורים זוגיים */
.accessibility-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.accessibility-buttons .accessibility-btn {
  width: calc(50% - 5px);
  flex: 0 0 calc(50% - 5px);
  max-width: calc(50% - 5px);
  margin: 0;
  box-sizing: border-box;
}

/* כפתורים קטנים */
.accessibility-btn-small {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
  width: 48%;
  font-family: inherit;
}

.accessibility-btn-small:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(102, 126, 234, 0.5);
}

.accessibility-btn-small i {
  font-size: 14px;
}

/* כפתור האיפוס */
.accessibility-reset-btn,
.accessibility-statement-btn {
  width: 100%;
  padding: 12px;
  margin-top: 10px;
  background: linear-gradient(135deg, #ff5722, #f44336);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
}

.accessibility-statement-btn {
  background: linear-gradient(135deg, #4caf50, #388e3c);
}

.accessibility-reset-btn:hover,
.accessibility-statement-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.accessibility-reset-btn:focus-visible,
.accessibility-statement-btn:focus-visible {
  outline: 3px solid #ffc107;
}

/* ===== Reading Guide ===== */
#readingGuide {
  position: fixed;
  left: 0;
  width: 100%;
  height: 3px;
  background: rgba(255, 193, 7, 0.8);
  pointer-events: none;
  z-index: 99998;
  box-shadow: 0 0 10px rgba(255, 193, 7, 0.6);
}

/* ===== מחווני פוקוס משופרים ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible:not([tabindex="-1"]),
[role="button"]:focus-visible {
  outline: 3px solid #2196f3 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px rgba(33, 150, 243, 0.25) !important;
  transition: outline 0.15s ease, box-shadow 0.15s ease;
}

/* מחווני פוקוס לקישורים בניווט */
nav a:focus-visible,
header a:focus-visible {
  outline: 3px solid #ffc107 !important;
  outline-offset: 2px !important;
}

/* ===== שינוי גודל טקסט - שימוש ב-CSS Variables ===== */
:root {
  --text-scale: 1;
}

body.text-size-80 {
  --text-scale: 0.8;
}

body.text-size-90 {
  --text-scale: 0.9;
}

body.text-size-110 {
  --text-scale: 1.1;
}

body.text-size-120 {
  --text-scale: 1.2;
}

body.text-size-130 {
  --text-scale: 1.3;
}

body.text-size-140 {
  --text-scale: 1.4;
}

body.text-size-150 {
  --text-scale: 1.5;
}

body[class*="text-size"] h1 {
  font-size: calc(56px * var(--text-scale)) !important;
}

body[class*="text-size"] h2 {
  font-size: calc(42px * var(--text-scale)) !important;
}

body[class*="text-size"] h3 {
  font-size: calc(26px * var(--text-scale)) !important;
}

body[class*="text-size"] h4 {
  font-size: calc(22px * var(--text-scale)) !important;
}

body[class*="text-size"] h5 {
  font-size: calc(18px * var(--text-scale)) !important;
}

body[class*="text-size"] h6 {
  font-size: calc(16px * var(--text-scale)) !important;
}

body[class*="text-size"] p,
body[class*="text-size"] span,
body[class*="text-size"] div,
body[class*="text-size"] li,
body[class*="text-size"] label {
  font-size: calc(16px * var(--text-scale)) !important;
}

body[class*="text-size"] a {
  font-size: calc(15px * var(--text-scale)) !important;
}

body[class*="text-size"] button,
body[class*="text-size"] .btn {
  font-size: calc(18px * var(--text-scale)) !important;
}

body[class*="text-size"] input,
body[class*="text-size"] textarea,
body[class*="text-size"] select {
  font-size: calc(16px * var(--text-scale)) !important;
}

body[class*="text-size"] .hero h1 {
  font-size: calc(56px * var(--text-scale)) !important;
}

body[class*="text-size"] .hero .subtitle {
  font-size: calc(28px * var(--text-scale)) !important;
}

body[class*="text-size"] .hero p {
  font-size: calc(20px * var(--text-scale)) !important;
}

body[class*="text-size"] .logo-title {
  font-size: calc(22px * var(--text-scale)) !important;
}

body[class*="text-size"] .logo-subtitle {
  font-size: calc(12px * var(--text-scale)) !important;
}

body[class*="text-size"] .nav-links a {
  font-size: calc(15px * var(--text-scale)) !important;
}

body[class*="text-size"] .service-card h3 {
  font-size: calc(26px * var(--text-scale)) !important;
}

body[class*="text-size"] .service-card p {
  font-size: calc(16px * var(--text-scale)) !important;
}

body[class*="text-size"] .testimonial-text {
  font-size: calc(16px * var(--text-scale)) !important;
}

body[class*="text-size"] .testimonial-author {
  font-size: calc(18px * var(--text-scale)) !important;
}

body[class*="text-size"] .contact-card h3 {
  font-size: calc(24px * var(--text-scale)) !important;
}

body[class*="text-size"] .contact-card p {
  font-size: calc(22px * var(--text-scale)) !important;
}

/* מסגרות לכל אלמנט כאשר קורא מסך פעיל */
/* מסגרת ברורה לכל אלמנט עם המחלקה screen-reader-highlight */
.screen-reader-highlight {
  outline: 5px solid #e91e63 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 25px rgba(233, 30, 99, 0.7) !important;
  cursor: pointer !important;
}

/* ===== מצבי נגישות - הסרת רקע כתום ===== */
body.keyboard-nav-active a:hover,
body.keyboard-nav-active button:hover,
body.keyboard-nav-active [role="button"]:hover,
body.keyboard-nav-active input:hover,
body.keyboard-nav-active select:hover,
body.keyboard-nav-active textarea:hover {
  outline: 3px solid #e91e63 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 15px rgba(233, 30, 99, 0.4) !important;
  cursor: pointer;
}

body.screen-reader-active h1:focus,
body.screen-reader-active h2:focus,
body.screen-reader-active h3:focus,
body.screen-reader-active h4:focus,
body.screen-reader-active h5:focus,
body.screen-reader-active h6:focus,
body.screen-reader-active p:focus,
body.screen-reader-active span:focus,
body.screen-reader-active div:focus,
body.screen-reader-active li:focus,
body.screen-reader-active a:focus,
body.screen-reader-active button:focus,
body.screen-reader-active input:focus,
body.screen-reader-active select:focus,
body.screen-reader-active textarea:focus,
body.screen-reader-active label:focus,
body.screen-reader-active [role="button"]:focus,
body.screen-reader-active [tabindex]:focus:not([tabindex="-1"]),
body.keyboard-nav-active a:focus,
body.keyboard-nav-active button:focus,
body.keyboard-nav-active [role="button"]:focus,
body.keyboard-nav-active input:focus,
body.keyboard-nav-active select:focus,
body.keyboard-nav-active textarea:focus,
body.keyboard-nav-active [tabindex]:focus:not([tabindex="-1"]) {
  outline: 4px solid #e91e63 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 20px rgba(233, 30, 99, 0.5) !important;
}

/* ===== מצב כהה ===== */
body.dark-mode-active {
  background-color: #1a1a2e !important;
  background-image: none !important;
  color: #eaeaea !important;
}

body.dark-mode-active::before {
  display: none !important;
}

body.dark-mode-active .geometric-bg {
  display: none !important;
}

body.dark-mode-active * {
  background-color: inherit;
}

body.dark-mode-active div,
body.dark-mode-active section,
body.dark-mode-active main,
body.dark-mode-active aside {
  background-color: #252542 !important;
  color: #eaeaea !important;
}

body.dark-mode-active h1,
body.dark-mode-active h2,
body.dark-mode-active h3,
body.dark-mode-active h4,
body.dark-mode-active h5,
body.dark-mode-active h6 {
  color: #ffffff !important;
}

body.dark-mode-active p,
body.dark-mode-active li,
body.dark-mode-active span {
  color: #e0e0e0 !important;
}

body.dark-mode-active a {
  color: #ff9eb5 !important;
}

body.dark-mode-active input,
body.dark-mode-active textarea,
body.dark-mode-active select {
  background: #2d2d4a !important;
  color: #eaeaea !important;
  border-color: #3a3a5c !important;
}

body.dark-mode-active header {
  background: #252542 !important;
}

body.dark-mode-active footer {
  background: #252542 !important;
}

body.dark-mode-active .hero,
body.dark-mode-active .page-hero,
body.dark-mode-active .cta-section.cta-orange {
  background: linear-gradient(135deg, #1a1a2e, #252542) !important;
}

body.dark-mode-active .service-card,
body.dark-mode-active .contact-card {
  background: linear-gradient(135deg, #2d2d4a, #3a3a5c) !important;
}

/* ===== ניגודיות גבוהה צהוב-שחור ===== */
body.high-contrast-yellow-active {
  background: #000000 !important;
  background-image: none !important;
  color: #ffff00 !important;
}

body.high-contrast-yellow-active::before {
  display: none !important;
}

body.high-contrast-yellow-active .geometric-bg {
  display: none !important;
}

body.high-contrast-yellow-active *:not(.accessibility-panel):not(.accessibility-panel *) {
  background-color: #000000 !important;
  background-image: none !important;
  color: #ffff00 !important;
  border-color: #ffff00 !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.high-contrast-yellow-active h1:not(.accessibility-panel h1),
body.high-contrast-yellow-active h2:not(.accessibility-panel h2),
body.high-contrast-yellow-active h3:not(.accessibility-panel h3),
body.high-contrast-yellow-active h4,
body.high-contrast-yellow-active h5,
body.high-contrast-yellow-active h6 {
  color: #ffff00 !important;
  text-shadow: none !important;
  background: #000000 !important;
}

body.high-contrast-yellow-active h2::after {
  background: #ffff00 !important;
}

body.high-contrast-yellow-active a:not(.accessibility-panel a) {
  color: #00ffff !important;
  text-decoration: underline !important;
  background: #000000 !important;
}

body.high-contrast-yellow-active a:hover:not(.accessibility-panel a),
body.high-contrast-yellow-active a:focus:not(.accessibility-panel a) {
  color: #ffff00 !important;
  outline: 2px solid #ffff00 !important;
}

body.high-contrast-yellow-active button:not(.accessibility-panel button),
body.high-contrast-yellow-active .btn:not(.accessibility-panel .btn) {
  background: #ffff00 !important;
  color: #000000 !important;
  border: 3px solid #ffff00 !important;
  box-shadow: none !important;
}

body.high-contrast-yellow-active button:hover:not(.accessibility-panel button),
body.high-contrast-yellow-active .btn:hover:not(.accessibility-panel .btn) {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 3px solid #ffff00 !important;
}

body.high-contrast-yellow-active header,
body.high-contrast-yellow-active nav,
body.high-contrast-yellow-active footer,
body.high-contrast-yellow-active section,
body.high-contrast-yellow-active .hero,
body.high-contrast-yellow-active .page-hero,
body.high-contrast-yellow-active .hero-content,
body.high-contrast-yellow-active .cta-section {
  background: #000000 !important;
  background-image: none !important;
  border: 2px solid #ffff00 !important;
}

body.high-contrast-yellow-active .service-card,
body.high-contrast-yellow-active .credential-card,
body.high-contrast-yellow-active .testimonial-card,
body.high-contrast-yellow-active .contact-card,
body.high-contrast-yellow-active .gallery-item {
  background: #000000 !important;
  border: 3px solid #ffff00 !important;
}

body.high-contrast-yellow-active .nav-links a,
body.high-contrast-yellow-active .logo {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 2px solid #ffff00 !important;
}

body.high-contrast-yellow-active .nav-links a::before {
  display: none !important;
}

body.high-contrast-yellow-active .floating-btn {
  background: #ffff00 !important;
  border: 3px solid #ffff00 !important;
}

body.high-contrast-yellow-active .floating-btn svg {
  fill: #000000 !important;
}

body.high-contrast-yellow-active .back-to-top {
  background: #ffff00 !important;
  color: #000000 !important;
  border: 3px solid #ffff00 !important;
}

body.high-contrast-yellow-active img {
  border: 2px solid #ffff00 !important;
}

body.high-contrast-yellow-active .chatbot-window {
  background: #000000 !important;
  border: 3px solid #ffff00 !important;
}

body.high-contrast-yellow-active .chatbot-header {
  background: #000000 !important;
  border-bottom: 2px solid #ffff00 !important;
}

body.high-contrast-yellow-active .chat-quick-btn {
  background: #ffff00 !important;
  color: #000000 !important;
  border: 2px solid #ffff00 !important;
}

body.high-contrast-yellow-active input,
body.high-contrast-yellow-active textarea,
body.high-contrast-yellow-active select {
  background: #000000 !important;
  color: #ffff00 !important;
  border: 2px solid #ffff00 !important;
}

body.high-contrast-yellow-active ::placeholder {
  color: #cccc00 !important;
}

/* ===== צבעים הפוכים ===== */
body.invert-colors-active {
  background: none !important;
}

body.invert-colors-active::before {
  display: none !important;
}

body.invert-colors-active .geometric-bg {
  display: none !important;
}

body.invert-colors-active header,
body.invert-colors-active main,
body.invert-colors-active footer,
body.invert-colors-active section {
  filter: invert(1) hue-rotate(180deg);
}

body.invert-colors-active img,
body.invert-colors-active video {
  filter: invert(1) hue-rotate(180deg);
}

/* ===== גופן קריא ===== */
body.readable-font-active * {
  font-family: Arial, "Segoe UI", Tahoma, sans-serif !important;
}

/* ===== גופן דיסלקציה ===== */
body.dyslexia-font-active * {
  font-family: "Comic Sans MS", "OpenDyslexic", Arial, sans-serif !important;
}

/* ===== מרווח שורות ===== */
body.line-height-active * {
  line-height: 2 !important;
}

/* ===== מרווח אותיות ===== */
body.letter-spacing-active * {
  letter-spacing: 0.12em !important;
}

/* ===== סמן גדול ===== */
body.big-cursor-active,
body.big-cursor-active * {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M2 2 L2 28 L12 20 L16 28 L20 26 L16 18 L26 18 Z" fill="black" stroke="white" stroke-width="2"/></svg>'), auto !important;
}

/* ===== סמן צבעוני ===== */
body.cursor-color-active,
body.cursor-color-active * {
  cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><path d="M2 2 L2 28 L12 20 L16 28 L20 26 L16 18 L26 18 Z" fill="red" stroke="yellow" stroke-width="2"/></svg>'), auto !important;
}

/* ===== הדגשת קישורים ===== */
body.highlight-links-active a {
  background: yellow !important;
  color: #000 !important;
  text-decoration: underline !important;
  font-weight: bold !important;
  padding: 2px 4px !important;
  border-radius: 3px !important;
}

/* ===== עצירת אנימציות ===== */
body.stop-animations-active *,
body.stop-animations-active *::before,
body.stop-animations-active *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

/* ===== הסתרת תמונות ===== */
body.hide-media-active img,
body.hide-media-active video,
body.hide-media-active iframe,
body.hide-media-active svg:not(.accessibility-panel svg):not(.floating-btn svg):not(.footer-social svg),
body.hide-media-active picture {
  display: none !important;
}

body.hide-media-active {
  background-image: none !important;
}

body.hide-media-active::before {
  display: none !important;
}

body.hide-media-active .geometric-bg {
  display: none !important;
}

/* ===== שמירת פאנל נגישות במצבים ===== */
body.high-contrast-yellow-active .accessibility-panel,
body.invert-colors-active .accessibility-panel,
body.dark-mode-active .accessibility-panel {
  position: fixed !important;
  background: white !important;
  filter: none !important;
  z-index: 100000 !important;
}

body.high-contrast-yellow-active .accessibility-panel.active,
body.invert-colors-active .accessibility-panel.active,
body.dark-mode-active .accessibility-panel.active {
  opacity: 1 !important;
  visibility: visible !important;
}

body.high-contrast-yellow-active .accessibility-panel *,
body.invert-colors-active .accessibility-panel *,
body.dark-mode-active .accessibility-panel * {
  filter: none !important;
}

body.high-contrast-yellow-active .accessibility-header,
body.invert-colors-active .accessibility-header,
body.dark-mode-active .accessibility-header {
  background: linear-gradient(135deg, #2196f3, #1976d2) !important;
  color: white !important;
}

body.high-contrast-yellow-active .accessibility-content,
body.invert-colors-active .accessibility-content,
body.dark-mode-active .accessibility-content {
  background: white !important;
  color: #333 !important;
}

body.high-contrast-yellow-active .accessibility-section h3,
body.invert-colors-active .accessibility-section h3,
body.dark-mode-active .accessibility-section h3 {
  color: #1976d2 !important;
}

body.high-contrast-yellow-active .accessibility-btn,
body.invert-colors-active .accessibility-btn,
body.dark-mode-active .accessibility-btn {
  background: #f5f5f5 !important;
  color: #333 !important;
  border-color: transparent !important;
}

body.high-contrast-yellow-active .accessibility-btn:hover,
body.invert-colors-active .accessibility-btn:hover,
body.dark-mode-active .accessibility-btn:hover {
  background: #e3f2fd !important;
  border-color: #2196f3 !important;
}

body.high-contrast-yellow-active .accessibility-btn[aria-pressed="true"],
body.invert-colors-active .accessibility-btn[aria-pressed="true"],
body.dark-mode-active .accessibility-btn[aria-pressed="true"] {
  background: linear-gradient(135deg, #4caf50 0%, #45a049 100%) !important;
  color: white !important;
}

body.high-contrast-yellow-active .accessibility-btn i,
body.invert-colors-active .accessibility-btn i,
body.dark-mode-active .accessibility-btn i {
  color: #2196f3 !important;
}

body.high-contrast-yellow-active .accessibility-btn[aria-pressed="true"] i,
body.invert-colors-active .accessibility-btn[aria-pressed="true"] i,
body.dark-mode-active .accessibility-btn[aria-pressed="true"] i {
  color: white !important;
}

body.high-contrast-yellow-active .accessibility-trigger,
body.dark-mode-active .accessibility-trigger,
body.invert-colors-active .accessibility-trigger {
  background: linear-gradient(135deg, #2196f3, #1976d2) !important;
  color: white !important;
  filter: none !important;
  position: fixed !important;
  z-index: 100001 !important;
}

/* ===== Responsive לווידג'ט נגישות ===== */
@media (max-width: 768px) {
  .skip-link {
    padding: 12px 18px;
    font-size: 14px;
  }

  #skipLinks .skip-link:nth-child(2) {
    left: 160px;
  }

  #skipLinks .skip-link:nth-child(3) {
    left: 320px;
  }

  .accessibility-trigger {
    top: 40%;
    left: 10px;
    width: 55px;
    height: 55px;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.6);
  }

  .accessibility-trigger:hover,
  .accessibility-trigger:focus {
    transform: translateY(-50%) scale(1.1);
  }

  .accessibility-panel {
    left: 15px;
    right: 15px;
    width: auto;
    max-height: 85vh;
    top: 45%;
  }

  .accessibility-panel.active {
    transform: translateY(-50%);
  }

  .accessibility-btn {
    font-size: 14px;
    padding: 10px 12px;
  }

  body.high-contrast-yellow-active .accessibility-panel,
  body.invert-colors-active .accessibility-panel,
  body.dark-mode-active .accessibility-panel {
    left: 15px !important;
    right: 15px !important;
    width: auto !important;
  }
}
