:root {
    --primary-color: #25D366;
    /* WhatsApp Green */
    --primary-dark: #128C7E;
    --primary-aa: #075E54; /* Darker green for AA text contrast */
    --secondary-color: #075E54;
    --accent-color: #34B7F1;
    --text-color: #111b21;
    --text-light: #444e54; /* Darkened for better contrast from #667781 */
    --background-color: #fdfdfd;
    --white: #ffffff;
    --focus-outline: 3px solid var(--accent-color);
    --chat-bg-incoming: #ffffff;
    --chat-bg-outgoing: #d9fdd3;
    --font-main: 'Heebo', sans-serif;
    --container-width: 1200px;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Header */
.site-header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.header-content-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
    position: relative;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--secondary-color);
    cursor: pointer;
    z-index: 1100;
    position: relative;
    padding: 0.5rem;
}

.logo {
    flex-shrink: 0;
}

.logo-img {
    height: 80px;
    max-height: 80px;
    transition: all 0.3s ease;
}

.lang-toggle-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    background: white;
    border: 1px solid #e0e0e0;
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    font-family: 'Heebo', sans-serif;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.lang-toggle-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 5rem;
    position: relative;
    background: linear-gradient(135deg, #f0f2f5 0%, #e1ffea 100%);
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.hero-text .highlight {
    color: var(--primary-aa); /* Darker green for AA */
    position: relative;
    display: inline-block;
}

.hero-text .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 15px;
    background: rgba(37, 211, 102, 0.15); /* More subtle */
    z-index: -1;
    transform: skewX(-15deg);
}

.hero-text .subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Phone Mockup & Chat Sim */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    background: #fff;
    border-radius: 40px;
    border: 12px solid #111;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
}

.chat-interface {
    display: flex;
    flex-direction: column;
    height: 100%;
    background-image: url('data:image/svg+xml,%3Csvg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M50 0L100 50L50 100L0 50Z" fill="%23e5ddd5" fill-opacity="0.1"/%3E%3C/svg%3E');
    /* Subtle pattern */
    background-color: #efeae2;
}

.chat-header {
    background-color: var(--secondary-color);
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-header .avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 20px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 6px 7px 8px 9px;
    border-radius: 7.5px;
    font-size: 0.95rem;
    line-height: 19px;
    position: relative;
    box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInMessage 0.3s forwards;
    margin-bottom: 2px;
}

@keyframes fadeInMessage {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Incoming (Left in LTR) */
.message.incoming {
    background-color: var(--chat-bg-incoming);
    align-self: flex-start;
    border-top-left-radius: 0;
    margin-left: 8px;
    /* LTR margin */
    margin-right: 0;
}

.message.incoming::before {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    /* LTR tail pos */
    border-top-right-radius: 0;
    /* Override RTL if copied */
    width: 10px;
    height: 13px;
    background: linear-gradient(to bottom left, var(--chat-bg-incoming) 50%, transparent 50%);
    clip-path: polygon(100% 0, 0 0, 100% 100%);
    /* LTR Tail shape */
}

/* Outgoing (Right in LTR) */
.message.outgoing {
    background-color: var(--chat-bg-outgoing);
    align-self: flex-end;
    border-top-right-radius: 0;
    margin-right: 8px;
    /* LTR margin */
    margin-left: 0;
}

.message.outgoing::before {
    content: "";
    position: absolute;
    top: 0;
    right: -10px;
    /* LTR tail pos */
    width: 10px;
    height: 13px;
    background: linear-gradient(to bottom right, var(--chat-bg-outgoing) 50%, transparent 50%);
    clip-path: polygon(0 0, 100% 0, 0 100%);
    /* LTR Tail shape */
}


/* Complex Message Components */
.reply-context {
    background: rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--secondary-color);
    /* LTR Marker */
    padding: 5px 10px;
    border-radius: 5px;
    margin-bottom: 5px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    flex-direction: column;
}

.reply-title {
    color: var(--secondary-color);
    /* tealish */
    font-weight: bold;
    font-size: 0.8rem;
}

/* Simulated List Overlay (Bottom Sheet) */
.list-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transform: translateY(110%);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.list-overlay.active {
    transform: translateY(0);
}

.list-overlay-header {
    background: #f0f2f5;
    padding: 15px;
    font-weight: bold;
    color: var(--secondary-color);
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.list-overlay-items {
    max-height: 200px;
    overflow-y: auto;
}

.list-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-item:hover {
    background: #f5f5f5;
}

.list-item.selected {
    background: #e1ffea;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.list-item.selected .radio-circle {
    border-color: var(--primary-color);
}

.list-item.selected .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 50%;
}

.interactive-btn {
    color: #00a5f4;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 500;
    cursor: pointer;
}

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

.list-header {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
}

.message-time {
    font-size: 0.65rem;
    color: #999;
    float: right;
    /* LTR Time Right */
    margin-top: 5px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    gap: 3px;
}

/* WhatsApp Blue Checks */
.message-time i {
    color: #53bdeb;
    /* WhatsApp Blue */
    font-size: 0.8rem;
}


.chat-input-area {
    padding: 10px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fake-input {
    flex: 1;
    height: 40px;
    background: white;
    border-radius: 20px;
    text-align: left;
    /* LTR typing */
    padding: 0 15px;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

/* Blinking Cursor for Typing */
.fake-input::after {
    content: '|';
    color: var(--primary-color);
    animation: blink 1s step-end infinite;
    font-weight: 300;
    margin-right: 2px;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.send-btn {
    width: 45px;
    height: 45px;
    background: #00a884;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Shapes */
.hero-bg-shapes {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 211, 102, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
}

/* Responsive rules moved to bottom */

/* Sections General */
.section {
    padding: var(--spacing-lg) 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: #fff;
}

.cta-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header {
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    font-weight: 800;
}

.highlight-title-bg {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: #e8f5e9;
    border-radius: 50px;
    border-left: 5px solid var(--primary-color);
    /* LTR border */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    color: var(--secondary-color) !important;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
}

.text-center {
    text-align: center;
}

.bg-light {
    background-color: #f9f9f9;
}

.bg-dark-green {
    background-color: var(--secondary-color);
    color: white;
}

.bg-dark-green .section-header h2,
.bg-dark-green .section-subtitle {
    color: white;
}

.bg-dark {
    background-color: #111b21;
    /* WhatsApp Dark / Black */
    color: white;
}

.bg-dark .section-header h2,
.bg-dark .subtitle {
    color: white;
}

/* Grid Layouts */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

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

/* Feature Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.card-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.dark-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    /* Come from right */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible,
.fade-in-right.visible {
    opacity: 1;
    transform: translate(0);
}

.dark-card h3,
.dark-card p {
    color: white;
}

.dark-card .card-icon {
    color: #4dfc89;
}

/* Highlight Card (Round Animation) */
.highlight-card {
    background: white;
    padding: 3rem;
    border-radius: 50%;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.2);
    margin: 4rem auto;
    text-align: center;
    transition: transform 0.3s ease;
    position: relative;
    /* For pseudo-element */
    isolation: isolate;
    /* Create stacking context */
}

/* Live Pulse Animation */
.highlight-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.4);
    z-index: -1;
    animation: ripple 2.5s infinite ease-out;
}

.highlight-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.1);
    z-index: -1;
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }

    100% {
        width: 140%;
        height: 140%;
        opacity: 0;
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(37, 211, 102, 0.5);
    }
}

.highlight-card:hover {
    transform: scale(1.05);
}

.large-icon {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Lists and Items */
.check-list {
    list-style: none;
    margin-top: 1.5rem;
}

.check-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--primary-aa);
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.feature-icon {
    background: rgba(37, 211, 102, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Notification Mockup */
.notification-mockup {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 400px;
    margin: 0 auto;
    animation: float 6s ease-in-out infinite;
}

.notif-header {
    background: #f0f0f0;
    padding: 10px 15px;
    font-size: 0.8rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 5px;
}

.notif-header i {
    color: var(--primary-color);
}

.notif-body {
    padding: 15px;
    font-size: 0.95rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Feature Rows in Peace Section */
.feature-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.row-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.feature-row h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* About Us */
.about-us .company-info h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.info-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.info-row p {
    font-size: 1.1rem;
    color: var(--text-color);
}

.email-link {
    color: var(--primary-aa);
    text-decoration: underline; /* Better for accessibility to underline links in text */
    font-weight: 600;
    transition: color 0.3s;
}

.email-link:hover {
    color: var(--primary-dark);
}

.map-container {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    line-height: 0;
}

/* Footer */
footer {
    padding: 2rem 0;
    background: var(--secondary-color);
    color: white;
    margin-top: auto;
}


/* Testimonials */
.testimonials {
    background-color: var(--secondary-color);
    /* Dark green bg for contrast with white cards if we wanted, but original design has white? Wait user screenshot showed white bg stats */
}

/* Actually, the screen shows white stats on white bg. Wait.
   If the stats are green, that's fine.
   The testimonials: */

.testimonial-carousel-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-carousel {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 300px;
    /* HEIGHT FIX */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-slide {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    /* Nice shadow */
    text-align: center;
    position: relative;
    display: none;
    /* JS toggles this */
    animation: fadeScale 0.5s ease;
    margin: 1rem;
    /* Space for shadow */
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.stars {
    color: #ffb400;
    font-size: 1.2rem;
}

.quote-text {
    font-size: 1.15rem;
    line-height: 1.6;
    font-style: italic;
    color: #555;
    position: relative;
    z-index: 2;
}

.quote-icon {
    font-size: 3rem;
    color: #f0f0f0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    opacity: 0.5;
}

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

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #f0f0f0;
}

.author-details {
    text-align: left;
}

.author-name {
    font-weight: bold;
    font-size: 1.1rem;
    display: block;
    color: #111;
}

.author-role {
    font-size: 0.9rem;
    color: #777;
    display: block;
}

/* Controls */
.carousel-btn {
    background: white;
    border: 1px solid #eee;
    color: var(--secondary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.3);
}

/* Stats */
.stats-row {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 4rem;
    /* Spacing after carousel */
    padding: 0 1rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 5px;
    /* Use gradient or white depending on exact look. Hebrew screenshot looked white or light. */
    background: linear-gradient(135deg, #25D366 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.stat-label {
    color: #aebac1;
    /* Light grey for dark bg */
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}



/* Chat Buttons */
/* WhatsApp Blue Checks */
.message-time i {
    color: #53bdeb;
    font-size: 0.8rem;
}

/* Header Meaning Separation */
.header-meaning {
    display: inline;
    font-weight: 300;
    opacity: 0.9;
    margin-left: 5px;
}

/* Featured Card Highlight */
.featured-card {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    background-color: var(--secondary-color);
    color: white;
}

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

.featured-card .card-icon {
    color: var(--primary-color);
}

/* Specific Highlight for Employee Section (Dark Background) */
.employee-xp .featured-card {
    background-color: white;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.employee-xp .featured-card h3 {
    color: var(--secondary-color);
}

.employee-xp .featured-card p {
    color: #555;
}

/* Global Accessibility Improvements */
:focus {
    outline: var(--focus-outline);
    outline-offset: 2px;
}

/* For users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Accessibility Panel */
.accessibility-panel {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 999;
    max-width: calc(100vw - 100px); /* Ensure it doesn't overflow on mobile */
    transform: translateZ(0); /* Force GPU acceleration and prevent animation glitches */
    -webkit-transform: translateZ(0);
    will-change: auto; /* Prevent unnecessary repaints */
}

.accessibility-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
    transform: translateZ(0); /* Prevent animation issues */
    -webkit-transform: translateZ(0);
}

.accessibility-toggle:hover {
    transform: scale(1.1);
}

.accessibility-menu {
    position: absolute;
    bottom: 60px;
    left: 0;
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 250px;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.accessibility-menu.active {
    display: block;
    opacity: 1;
}

.accessibility-menu h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--secondary-color);
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
}

.acc-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.acc-options button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem;
    border: 1px solid #eee;
    background: #f9f9f9;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    text-align: left;
}

.acc-options button:hover {
    background: #eee;
}

.acc-options button.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* High Contrast Mode */
body.high-contrast {
    background-color: #000 !important;
    color: #fff !important;
}

body.high-contrast * {
    background-color: transparent !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: none !important;
}

body.high-contrast a, 
body.high-contrast button {
    color: #ffff00 !important;
    text-decoration: underline !important;
    border: 2px solid #ffff00 !important;
}

body.high-contrast .accessibility-menu {
    background-color: #000 !important;
    border: 2px solid #fff !important;
}

body.high-contrast .accessibility-menu h3,
body.high-contrast .accessibility-menu button {
    color: #fff !important;
    border-color: #fff !important;
}

body.high-contrast .acc-options button:hover {
    background-color: #333 !important;
}

body.high-contrast .acc-options button.active {
    background-color: #ffff00 !important;
    color: #000 !important;
}

/* Highlight Links */
body.highlight-links a {
    background-color: yellow !important;
    color: black !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}
/* Footer Links */
.footer-links {
    margin-bottom: 1rem;
}

.footer-link {
    color: #aebac1;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-divider {
    color: #444;
    margin: 0 10px;
}

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

.modal-content {
    background-color: var(--white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 80%;
    max-width: 900px;
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.modal-content h1, .modal-content h5, .modal-content h6 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.modal-content .terms {
    color: var(--text-color);
    line-height: 1.8;
}

.close-modal {
    color: #aaa;
    position: absolute;
    right: 25px;
    top: 15px;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
    background: none;
    border: none;
    line-height: 1;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--primary-color);
    text-decoration: none;
}

/* Responsive Rules */
@media (max-width: 900px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding-top: 7.5rem; /* Increased padding to account for fixed header */
        padding-bottom: 3rem;
    }

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

    .hero-text {
        order: 1;
    }

    .hero-visual {
        order: 2;
        margin-bottom: 2rem;
        margin-top: 0;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .hero-text .subtitle {
        margin: 0 auto 2.5rem auto;
        font-size: 1.1rem;
    }

    .header-content-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 1rem;
        max-width: 100%;
    }

    .menu-toggle {
        display: block;
        flex-shrink: 0;
        margin-left: auto;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1050;
        transition: right 0.3s ease;
        padding-top: 5rem;
    }

    /* Ensure fixed elements stay within viewport on mobile */
    .accessibility-panel {
        position: fixed;
        bottom: 20px;
        left: 15px;
        transform: translate3d(0, 0, 0); /* Hardware acceleration */
        -webkit-transform: translate3d(0, 0, 0);
    }
    
    .accessibility-toggle {
        position: relative;
    }

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

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .main-nav a {
        font-size: 1.2rem;
    }

    .logo {
        max-width: calc(100% - 60px); /* Leave space for hamburger menu */
        flex-shrink: 1;
    }

    .logo-img {
        height: 70px;
        max-height: 70px;
        max-width: 100%;
        width: auto;
    }

    .two-col-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .reverse-mobile .image-block {
        order: 2;
    }

    .reverse-mobile .text-block {
        order: 1;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .highlight-card {
        width: 260px;
        height: 260px;
        padding: 2rem;
        margin: 2rem auto;
    }

    .large-icon {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .testimonial-carousel-wrapper {
        flex-direction: column;
        gap: 1rem;
    }

    .carousel-btn {
        display: none;
    }

    .stats-row {
        gap: 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        padding: 1rem 0.5rem;
    }

    .stat-number {
        font-size: 1.8rem;
    }
}

@media (max-width: 600px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-md: 1rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .logo {
        max-width: calc(100% - 60px); /* Leave space for hamburger menu */
    }

    .logo-img {
        height: 60px;
        max-height: 60px;
        max-width: 100%;
        width: auto;
    }
    
    /* Extra fixes for very small screens */
    .accessibility-panel {
        position: fixed !important;
        bottom: 15px !important;
        left: 10px !important;
        transform: translate3d(0, 0, 0) !important;
        -webkit-transform: translate3d(0, 0, 0) !important;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
    
    .accessibility-toggle {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .accessibility-menu {
        width: calc(100vw - 80px);
        max-width: 220px;
        left: 0;
        bottom: 55px;
    }

    .phone-mockup {
        width: 100%;
        max-width: 280px;
        height: 500px;
    }

    .card {
        padding: 1.5rem;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .feature-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .cta-section h2 {
        font-size: 1.8rem;
    }

    .about-us .company-info h3 {
        font-size: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    .testimonial-slide {
        padding: 1.5rem;
    }

    .quote-text {
        font-size: 1rem;
    }

    .highlight-title-bg {
        padding: 0.4rem 1rem;
        font-size: 1.1rem;
        border-radius: 25px;
    }

    .header-meaning {
        display: block;
        margin-left: 0;
        margin-top: 5px;
        font-size: 0.9rem;
    }

    .featured-card {
        transform: scale(1);
        margin: 1rem 0;
    }

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