﻿/* --- 1. General Setup for Smooth Scrolling --- */
/* Replaces JavaScript's `scrollIntoView({ behavior: 'smooth' })` */
html {
    scroll-behavior: smooth;
}

/* --- 2. Fade-in Animation on Scroll --- */
/* Replaces the IntersectionObserver for elements with the `.fade-in` class */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    /* Apply the animation and keep its final state */
    animation: fadeIn 1s both;
    /* Link the animation to the element's visibility in the viewport */
    animation-timeline: view();
    /* Start the animation when the element enters the screen,
     and finish it when it is 40% visible. */
    animation-range: entry 0% cover 40%;
}

/* --- 3. Active Navigation Dot Tracking --- */
/* Replaces the JS scroll listener that finds the current section */

/* First, define a named scroll timeline for each section in your page */
section#section-0 {
    view-timeline-name: --section-0-timeline;
}

section#section-1 {
    view-timeline-name: --section-1-timeline;
}

section#section-2 {
    view-timeline-name: --section-2-timeline;
}

section#section-3 {
    view-timeline-name: --section-3-timeline;
}

section#section-4 {
    view-timeline-name: --section-4-timeline;
}

section#section-5 {
    view-timeline-name: --section-5-timeline;
}

section#section-6 {
    view-timeline-name: --section-6-timeline;
}

/* Define the animation for the active dot state */
@keyframes highlight-dot {
    /* Inactive state */
    from, to {
        transform: scale(1);
        background-color: #ccc; /* Or your default dot color */
    }
    /* Active state, when the section is centered in the view */
    50% {
        transform: scale(1.5);
        background-color: #333; /* Or your active dot color */
    }
}

/* Apply the animation to each dot and link it to its section's timeline */
.nav-dot {
    animation: highlight-dot linear forwards; /* Use 'forwards' to maintain state */
    animation-timeline: var(--section-timeline); /* This variable is set below */
}

    /* Connect each dot to its corresponding section's timeline via its data-attribute */
    .nav-dot[data-section="0"] {
        --section-timeline: var(--section-0-timeline);
    }

    .nav-dot[data-section="1"] {
        --section-timeline: var(--section-1-timeline);
    }

    .nav-dot[data-section="2"] {
        --section-timeline: var(--section-2-timeline);
    }

    .nav-dot[data-section="3"] {
        --section-timeline: var(--section-3-timeline);
    }

    .nav-dot[data-section="4"] {
        --section-timeline: var(--section-4-timeline);
    }

    .nav-dot[data-section="5"] {
        --section-timeline: var(--section-5-timeline);
    }

    .nav-dot[data-section="6"] {
        --section-timeline: var(--section-6-timeline);
    }


/* --- 4. Parallax Effect for Icons --- */
/* Replaces the JS scroll listener for the parallax effect */
@keyframes parallax {
    from {
        transform: translateY(-100px);
    }

    to {
        transform: translateY(100px);
    }
}

/* Apply parallax only on devices with a mouse, avoiding it on touch devices */
@media (pointer: fine) {
    .icon-large {
        animation: parallax linear;
        /* Link the animation progress to the entire page's scrollbar */
        animation-timeline: scroll(root);
    }
}

/* Add your other existing page styles below this line... */
/* products.css
  This is the MAIN stylesheet. It contains all structural styles.
  Link this file on every page, then link ONE theme file after it.
*/

/* Theme variables are defined in separate files (e.g., conference.css).
  A theme file MUST be included after this file for colors to work.
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Assistant";
}

body {
/*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: "Assistant";
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

/* Animated background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-accent) 0%, var(--tertiary-accent) 50%, var(--secondary-accent) 100%);
    background-size: 100% 100%;
    animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, var(--bubble-color-1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, var(--bubble-color-2) 0%, transparent 50%);
    animation: floatBubbles 25s ease-in-out infinite;
}

@keyframes floatBubbles {
    0%, 100% {
        transform: translateY(0px);
    }

    33% {
        transform: translateY(-10px);
    }

    66% {
        transform: translateY(10px);
    }
}

/* Section styling */
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    position: relative;
    backdrop-filter: blur(8px);
}

.container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    text-align: center;
    position: relative;
}

    .hero::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle, var(--hero-pattern-color) 1px, transparent 1px);
        background-size: 50px 50px;
/*        animation: floatPattern 40s linear infinite;*/
    }

@keyframes floatPattern {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    background: linear-gradient(45deg, var(--text-color), var(--secondary-accent), var(--primary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 5s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
}

@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 15px var(--title-glow-from));
    }

    to {
        filter: drop-shadow(0 0 30px var(--glow-color));
    }
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    word-wrap: break-word;
    color: var(--text-color);
}

.hero-badge {
    display: inline-block;
    background: var(--light-transparent-hover);
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid var(--light-border);
    font-weight: bold;
    font-size: 1.2rem;
    backdrop-filter: blur(12px);
    animation: pulse 4s infinite;
    position: relative;
    z-index: 1;
    margin-bottom: 50px;
    touch-action: manipulation;
    cursor: pointer;
    color: var(--text-color);
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 var(--pulse-color);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 0 15px var(--pulse-color-end);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--scroll-indicator-color);
    font-size: 1.1rem;
    animation: bounce 2.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-8px);
    }

    60% {
        transform: translateX(-50%) translateY(-4px);
    }
}

/* Feature Sections */
.feature-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-content h2 {
    font-size: 3rem;
    margin-bottom: 30px;
    color: var(--text-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    word-wrap: break-word;
}

    .feature-content h2::after {
        content: '';
        position: absolute;
        bottom: -8px;
        inset-inline-start: 0;
        width: 80px;
        height: 3px;
        background: linear-gradient(90deg, var(--secondary-accent), var(--primary-accent));
        border-radius: 2px;
    }

.feature-list {
    list-style: none;
}


    .feature-list li {
        font-size: 1.3rem;
        margin-bottom: 15px;
        padding: 15px;
        background: var(--light-transparent);
        border-radius: 12px;
        border-right: 4px solid var(--secondary-accent);
        backdrop-filter: blur(10px);
        transition: all 0.3s ease;
        opacity: 0;
        transform: translateX(40px);
        animation: slideInFromRight 0.5s ease forwards;
        color: var(--text-color);
    }

        .feature-list li:nth-child(2) {
            animation-delay: 0.1s;
        }

        .feature-list li:nth-child(3) {
            animation-delay: 0.2s;
        }

        .feature-list li:nth-child(4) {
            animation-delay: 0.3s;
        }

        .feature-list li:nth-child(5) {
            animation-delay: 0.4s;
        }

        .feature-list li:nth-child(6) {
            animation-delay: 0.5s;
        }

@keyframes slideInFromRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.feature-list li:hover,
.feature-list li:active {
    background: var(--light-transparent-hover);
    transform: translateX(-10px) scale(1.01);
    box-shadow: 0 8px 20px var(--shadow-color);
}

.feature-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon-container {
    position: relative;
    margin-bottom: 30px;
}

.icon-large {
    font-size: 8rem;
    color: var(--secondary-accent);
    text-shadow: 0 0 40px var(--glow-color), 0 0 10px rgba(0,0,0,0.3);
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }
}

.icon-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, var(--shadow-color) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: pulse 4s ease-in-out infinite;
}

.demo-card {
    background: var(--light-transparent-hover);
    padding: 30px;
    border-radius: 20px;
    border: 2px solid var(--light-border);
    backdrop-filter: blur(12px);
    text-align: center;
    transition: all 0.3s ease;
    max-width: 350px;
    width: 100%;
    touch-action: manipulation;
    color: var(--text-color);
}

    .demo-card:hover,
    .demo-card:active {
        transform: translateY(-10px) scale(1.03);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        background: var(--light-transparent-hover);
    }

    .demo-card h3 {
        font-size: 1.6rem;
        margin-bottom: 12px;
        color: var(--secondary-accent);
    }

    .demo-card p {
        font-size: 1.1rem;
        opacity: 0.9;
    }

/* Ecosystem Grid */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.ecosystem-card {
    background: var(--light-transparent);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--light-transparent-hover);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    color: var(--text-color);
}

    .ecosystem-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
        transition: left 0.5s ease;
    }

    .ecosystem-card:hover::before,
    .ecosystem-card:active::before {
        left: 100%;
    }
    .ecosystem-card:hover,
    .ecosystem-card:active {
        transform: translateY(-10px);
        background: var(--light-transparent-hover);
        box-shadow: 0 15px 30px var(--shadow-color);
    }

    .ecosystem-card i {
        font-size: 3.5rem;
        color: var(--secondary-accent);
        margin-bottom: 20px;
        display: block;
    }

    .ecosystem-card h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        color: var(--text-color);
    }

    .ecosystem-card p {
        font-size: 1rem;
        opacity: 0.8;
        line-height: 1.5;
    }

/* Section headers */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 3.5rem;
        margin-bottom: 25px;
        background: linear-gradient(45deg, var(--text-color), var(--secondary-accent));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        position: relative;
    }

    .section-header p {
        font-size: 1.3rem;
        opacity: 0.8;
        max-width: 550px;
        margin: 0 auto;
        color: var(--text-color);
    }

/* Buttons */
.action-button {
    background: linear-gradient(45deg, var(--secondary-accent), var(--primary-accent));
    color: var(--text-color);
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 10px;
    min-width: 200px;
    touch-action: manipulation;
}

    .action-button:hover,
    .action-button:active {
        transform: scale(1.05);
        box-shadow: 0 8px 20px var(--shadow-color);
    }

/* Navigation dots */
/*.nav-dots {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    margin: 12px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
}

    .nav-dot.active {
        background: var(--secondary-accent);
        box-shadow: 0 0 15px var(--glow-color);
    }

    .nav-dot:hover,
    .nav-dot:active {
        background: rgba(255, 255, 255, 0.5);
        transform: scale(1.15);
    }*/


/* Responsive Design */
@media (max-width: 1024px) {
    .feature-section {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .feature-content h2 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2.5rem;
    }

    .icon-large {
        font-size: 7rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
    }

    .hero-badge {
        font-size: 1rem;
        padding: 12px 25px;
    }

    .feature-content h2 {
        font-size: 2rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .icon-large {
        font-size: 6rem;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 40px 15px;
    }

/*    .nav-dots {
        left: 10px;
        top: auto;
        bottom: 20px;
        transform: none;
        display: flex;
        justify-content: center;
    }

    .nav-dot {
        width: 10px;
        height: 10px;
        margin: 0 8px;
    }*/
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .feature-content h2 {
        font-size: 1.8rem;
    }

    .feature-list li {
        font-size: 1.1rem;
        padding: 12px;
    }

    .demo-card {
        padding: 20px;
        max-width: 300px;
    }

    .ecosystem-card {
        padding: 20px;
    }

    .action-button {
        padding: 12px 25px;
        font-size: 1rem;
        min-width: 180px;
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }


/* --- Modal Styles --- */
/* Modal Styles (Video & Form) */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
/*    background-color: rgba(0, 0, 0, 0.8);*/
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-close-button {
    position: absolute;
    top: -15px;
    right: -15px;
    background: white;
    color: black;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #333;
}

    .modal-close-button:hover {
        transform: scale(1.1) rotate(90deg);
        background: var(--secondary-accent);
        color: white;
    }

.modal-content-video {
    position: relative;
    background: var(--bg-color); /* Changed to use theme color */
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 900px;
    animation: slideInUp 0.4s ease;
    border: 1px solid var(--light-border); /* Added border to match form */
}

.modal-content-form {
    position: relative;
    background: var(--tertiary-accent);
    color: var(--text-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    width: 90%;
    max-width: 500px;
    animation: slideInUp 0.4s ease;
    border: 1px solid var(--light-border);
}

.form-step {
    display: none;
}

    .form-step.active {
        display: block;
        animation: fadeIn 0.5s;
    }

.form-group {
    margin-bottom: 20px;
}

    .form-group label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid var(--light-border);
        background: var(--light-transparent);
        color: var(--text-color);
        font-size: 1rem;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            box-shadow: 0 0 0 2px var(--secondary-accent);
        }

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}
/* Floating Action Button */
.floating-cta-button {
    position: fixed;
    bottom: 25px;
    inset-inline-end: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: fadeIn 1s 1s ease both; /* Fade in after 1 second */
}

    .floating-cta-button:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px var(--shadow-color);
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Video Gallery Section - Updated Design */
.video-gallery-section {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid var(--light-border);
}

    .video-gallery-section h2 {
        font-size: 2.5rem;
        margin-bottom: 30px;
        text-align: center;
        color: var(--text-color);
    }

.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Re-styled video-card to match ecosystem-card */
.video-card {
    background: var(--light-transparent);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--light-transparent-hover);
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    touch-action: manipulation;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
}

    .video-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
        transition: left 0.5s ease;
    }

    .video-card:hover::before {
        left: 100%;
    }

    .video-card:hover {
        transform: translateY(-10px);
        background: var(--light-transparent-hover);
        box-shadow: 0 15px 30px var(--shadow-color);
    }

    .video-card i {
        font-size: 3.5rem;
        color: var(--secondary-accent);
        margin-bottom: 20px;
        display: block;
    }

    .video-card h3 {
        font-size: 1.5rem;
        margin-bottom: 12px;
        color: var(--text-color);
    }

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
}

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }

.modal-content-video.vertical-video {
    max-height: 90vh; /* The height will be at most 90% of the screen's height */
    width: auto; /* The width will adjust automatically */
    aspect-ratio: 9 / 16; /* Maintains the correct vertical video aspect ratio */
}

/* Pause animations when a modal is open */
body.modal-open .bg-animation,
body.modal-open .bg-animation::before,
body.modal-open .icon-large,
body.modal-open .hero::before,
body.modal-open .icon-container::before {
    animation-play-state: paused !important;
}

/* Add these styles to your main products.css file */
/* Add these styles to your main products.css file */

.language-switcher-container {
    position: fixed;
    bottom: 100px; /* Positioned above the contact button */
    right: 25px;
    left: auto; /* Explicitly set for LTR */
    z-index: 1000;
}

/* --- RTL SUPPORT --- */
/*html[dir="rtl"] .language-switcher-container {
    right: auto;*/ /* Unset the right property */
    /*left: 25px;*/ /* Set the left property */
/*}*/
/* --- END OF RTL SUPPORT --- */


.language-fab {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4a5568, #2d3748); /* Neutral dark gradient */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: none;
    cursor: pointer;
/*    box-shadow: 0 4px 12px rgba(0,0,0,0.3);*/
    transition: all 0.3s ease;
}

    .language-fab:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    }

.language-menu {
    position: absolute;
    bottom: 75px; /* Position the menu above the button */
    right: 0; /* Default position for LTR */
    left: auto;
    background: #353f50;
    /*    background: var(--bg-color, #ffffff);*/
    border: 1px solid var(--light-border, rgba(255,255,255,0.2));
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.4);
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: all 0.3s ease;
}

/* --- RTL SUPPORT FOR MENU --- */
/*html[dir="rtl"] .language-menu {
    right: auto;
    left: 0;
}*/
/* --- END OF RTL SUPPORT --- */

.language-menu.open {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.language-menu button {
    background: rgba(255, 255, 255, 0.3);
/*    background: var(--light-transparent, rgba(255,255,255,0.1));*/
    color: var(--text-color, white);
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    text-align: start; /* Use 'start' for better LTR/RTL support */
    font-size: 1rem;
    transition: background-color 0.2s ease;
}

    .language-menu button:hover {
        background: var(--light-transparent-hover, rgba(255,255,255,0.2));
    }

.hero-badge {
    /* This makes the link's color match the surrounding text, just like a div */
    color: inherit;
    /* This removes the default underline from the link */
    text-decoration: none;
}

    /* It's also good practice to ensure the hover state doesn't add an underline */
    .hero-badge:hover {
        text-decoration: none;
        /* You can add your own custom hover effects here if you wish */
    }

/* --- Positioning for the Navigation Dots Container --- */
.nav-dots {
    position: fixed; /* Keep it on the screen during scroll */
    top: 50%;
    right: 25px; /* Position on the right side of the page */
    transform: translateY(-50%); /* Vertically center the container */
    z-index: 1000; /* Ensure it's above other content */
    display: flex;
    flex-direction: column; /* Stack the dots vertically */
    gap: 12px; /* Space between the dots */
}

/* --- Base Style for Each Individual Dot --- */
.nav-dot {
    display: block; /* Treat the <a> tag like a block */
    width: 12px;
    height: 12px;
    background-color: #ccc; /* Default color for an inactive dot */
    border-radius: 50%; /* Make it a circle */
    transition: transform 0.3s ease, background-color 0.3s ease; /* Smooth animation */
}

/* --- (You should already have this part) --- */
/* --- This is the animation code that makes the active dot stand out --- */
@keyframes highlight-dot {
    from, to {
        transform: scale(1);
        background-color: #ccc;
    }

    50% {
        transform: scale(1.5);
        background-color: #333;
    }
}