/* Main CSS file for MetricVision GmbH website */

/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    overflow-x: hidden; 
    background-color: var(--bg-webpage);
    color: var(--text-dark);
    padding-top: 4rem; /* Add padding to account for fixed header (64px = 4rem) */
}
/** 
 * Logo styling for MetricVision GmbH
 */
.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700;   /* font-bold */
    letter-spacing: -0.02em;
    color: var(--text-dark);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

.logo-subtitle {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500;    /* font-medium */
    color: var(--text-dark);
    margin-top: -0.25rem;
    letter-spacing: 0.05em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

/* Background utilities */
.hero-bg {
    background-color: var(--bg-header);
}

/* Typography - now handled by typography.css */

/* Components */
.card {
    background-color: var(--bg-card);
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    overflow: hidden;
    transition: transform 0.3s ease; /* transition-transform duration-300 */
}

.card:hover {
    transform: scale(1.05); /* hover:scale-105 */
}

/* Team founding cards: main block grows so contact sits on bottom; lines align per row */
#team .grid {
    align-items: stretch;
}

#team .grid > .team-member-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#team .team-member-card-inner {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

#team .team-member-card-main {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#team .team-member-contact {
    flex: 0 0 auto;
}

/* Reserves one phone line (matches .team-member-contact text-xs + font-medium block link) */
#team .team-member-phone-placeholder {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.25;
    color: transparent;
    user-select: none;
    pointer-events: none;
}

.cta-button {
    display: inline-block;
    text-decoration: none;
    color: var(--text-dark);
    padding: 0.75rem 2rem; /* px-8 py-3 */
    font-weight: 600; /* font-semibold */
    border-radius: 0.5rem; /* rounded-lg */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* shadow-md */
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    background-color: white;
}

.cta-button:hover {
    background-color: var(--primary);
    color: var(--text-bright);
}

/* Section CTAs (e.g. View all / See more) — visible but lighter than hero */
.cta-button.cta-button--emphasized {
    color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 11%, #ffffff);
    border: 2px solid var(--primary);
    box-shadow:
        0 2px 8px rgba(6, 95, 76, 0.12),
        0 4px 16px -4px rgba(6, 95, 76, 0.18);
}

.cta-button.cta-button--emphasized:hover {
    background-color: var(--primary);
    color: var(--text-bright);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow:
        0 4px 14px rgba(6, 95, 76, 0.22),
        0 8px 20px -6px rgba(6, 95, 76, 0.2);
}

.cta-button.cta-button--emphasized:focus-visible {
    outline: 2px solid var(--tertiary);
    outline-offset: 2px;
}

/* Hero primary CTA — stronger visual weight */
.cta-button.cta-button--hero {
    margin-top: 1.75rem;
    padding: 1rem 2.5rem;
    color: var(--text-bright);
    background-color: var(--primary);
    border: 2px solid color-mix(in srgb, var(--primary) 85%, black);
    box-shadow:
        0 4px 14px rgba(6, 95, 76, 0.35),
        0 12px 32px -8px rgba(6, 95, 76, 0.45);
}

.cta-button.cta-button--hero:hover {
    background-color: color-mix(in srgb, var(--primary) 88%, white);
    color: var(--text-bright);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow:
        0 8px 24px rgba(6, 95, 76, 0.4),
        0 16px 40px -10px rgba(6, 95, 76, 0.35);
}

.cta-button.cta-button--hero:focus-visible {
    outline: 3px solid var(--tertiary);
    outline-offset: 3px;
}

/* Navigation */
.nav-link {
    padding: 0.5rem 0.75rem; /* px-3 py-2 */
    border-radius: 0.375rem; /* rounded-md */
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    transition: color 0.15s ease-in-out; /* transition-colors */
    color: var(--secondary);
}

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

.mega-menu-link {
    display: block; /* block */
    font-size: 0.875rem; /* text-sm */
    padding: 0.375rem 0; /* py-1.5 */
    transition: color 0.15s ease-in-out; /* transition-colors */
    color: var(--secondary);
}

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

.mega-menu-heading {
    font-size: 0.75rem; /* text-xs */
    font-weight: 600; /* font-semibold */
    text-transform: uppercase; /* uppercase */
    letter-spacing: 0.05em; /* tracking-wider */
    margin-bottom: 0.75rem; /* mb-3 */
    color: var(--secondary);
}

.mega-menu-emphasis-link {
    display: inline-block; /* inline-block */
    padding: 0.625rem 1.25rem; /* px-5 py-2.5 */
    font-weight: 600; /* font-semibold */
    border-radius: 0.5rem; /* rounded-lg */
    transition: all 0.3s ease; /* transition duration-300 */
    margin-top: 0.75rem; /* mt-3 */
    font-size: 0.875rem; /* text-sm */
    background-color: var(--primary);
    color: var(--text-bright);
}

.mega-menu-emphasis-link:hover {
    background-color: var(--tertiary);
}

/* Footer */
.footer-link {
    transition: color 0.15s ease-in-out; /* transition-colors */
}

/* Interactive elements */
#menu-button svg {
    pointer-events: none;
}

/* Mega menu active state */
.mega-menu-trigger[aria-expanded="true"] {
    background-color: var(--primary);
    color: var(--text-bright);
}

/* Mega menu panel positioning for fixed header */
#mega-panels-grid-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
}

/* Mobile menu positioning for fixed header */
#mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 40;
}

/* Language switcher */
.language-switcher {
    display: flex; /* flex */
    align-items: center; /* items-center */
    gap: 0.5rem; /* space-x-2 */
    padding: 0.5rem 0.75rem; /* px-3 py-2 */
    border-radius: 0.375rem; /* rounded-md */
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    transition: color 0.15s ease-in-out; /* transition-colors */
    color: var(--text-secondary);
}

.language-switcher:hover {
    color: var(--primary-600);
}

.language-dropdown {
    position: absolute; /* absolute */
    right: 0; /* right-0 */
    margin-top: 0.5rem; /* mt-2 */
    width: 10rem; /* w-40 */
    border-radius: 0.375rem; /* rounded-md */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    padding: 0.25rem 0; /* py-1 */
    z-index: 50; /* z-50 */
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-light);
}

.language-option {
    display: flex; /* flex */
    align-items: center; /* items-center */
    gap: 0.75rem; /* space-x-3 */
    width: 100%; /* w-full */
    text-align: left; /* text-left */
    padding: 0.5rem 1rem; /* px-4 py-2 */
    font-size: 0.875rem; /* text-sm */
    transition: color 0.15s ease-in-out; /* transition-colors */
    color: var(--text-secondary);
}

.language-option:hover {
    background-color: var(--bg-tertiary);
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    /* Mobile language switcher */
    .mobile-language-switcher {
        display: flex; /* flex */
        align-items: center; /* items-center */
        gap: 0.25rem; /* space-x-1 */
        padding: 0.25rem 0.5rem; /* px-2 py-1 */
        border-radius: 0.375rem; /* rounded */
        font-size: 0.875rem; /* text-sm */
        font-weight: 500; /* font-medium */
        transition: color 0.15s ease-in-out; /* transition-colors */
        color: var(--text-secondary);
    }
    
    .mobile-language-switcher:hover {
        color: var(--primary-600);
    }
    
    .mobile-language-dropdown {
        position: absolute; /* absolute */
        right: 0; /* right-0 */
        margin-top: 0.25rem; /* mt-1 */
        width: 7rem; /* w-28 */
        border-radius: 0.375rem; /* rounded-md */
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
        padding: 0.25rem 0; /* py-1 */
        z-index: 50; /* z-50 */
        background-color: var(--bg-secondary);
        border: 1px solid var(--border-light);
    }
    
    .mobile-language-option {
        display: flex; /* flex */
        align-items: center; /* items-center */
        gap: 0.5rem; /* space-x-2 */
        width: 100%; /* w-full */
        text-align: left; /* text-left */
        padding: 0.25rem 0.75rem; /* px-3 py-1 */
        font-size: 0.875rem; /* text-sm */
        transition: color 0.15s ease-in-out; /* transition-colors */
        color: var(--text-secondary);
    }
    
    .mobile-language-option:hover {
        background-color: var(--bg-tertiary);
    }

    /* Mobile menu improvements */
    #mobile-menu {
        max-height: calc(100vh - 4rem); /* Account for fixed header */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    }

    /* Mobile services submenu */
    #mobile-services-submenu {
        transition: all 0.3s ease-in-out;
    }

    #mobile-services-arrow {
        transition: transform 0.2s ease-in-out;
    }

    /* Mobile footer improvements */
    footer .grid {
        gap: 1.5rem; /* Increased gap for better mobile spacing */
    }

    /* Mobile logo adjustments */
    .logo-title {
        font-size: 1.125rem; /* text-lg */
    }

    .logo-subtitle {
        font-size: 0.75rem; /* text-xs */
    }
}

/* Small mobile devices (320px and up) */
@media (max-width: 480px) {
    /* Even smaller logo on very small screens */
    .logo-title {
        font-size: 1rem; /* text-base */
    }

    .logo-subtitle {
        font-size: 0.6875rem; /* text-xs */
    }

    /* Tighter spacing on very small screens */
    .container {
        padding-left: 1rem; /* px-4 */
        padding-right: 1rem; /* px-4 */
    }

    /* Mobile menu button adjustments */
    #menu-button {
        padding: 0.5rem; /* p-2 */
    }

    /* Footer text size adjustments */
    footer .text-small {
        font-size: 0.8125rem; /* Slightly smaller text */
    }

    /* Hero headline for very small screens */
    .headline-hero {
        font-size: 1.5rem; /* text-2xl - even smaller for very small screens */
        line-height: 1.2;
    }
}

/* Tablet landscape and up - ensure desktop mega menu is visible */
@media (min-width: 769px) {
    #mega-panels-grid-container {
        display: grid !important;
    }
    
    #mobile-menu {
        display: none !important;
    }
}

/* Color utility classes are now defined in colors.css */

/* Cookie Banner Styles */
#cookie-banner {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(209, 213, 219, 0.8);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

#cookie-banner .container {
    max-width: 1200px;
}

#cookie-banner p {
    color: #374151;
    line-height: 1.6;
}

#cookie-banner a {
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.2s ease;
}

#cookie-banner a:hover {
    color: #1d4ed8;
}

#cookie-banner button {
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

#cookie-banner button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive adjustments for cookie banner */
@media (max-width: 640px) {
    #cookie-banner .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    #cookie-banner button {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Dark mode support for cookie banner */
@media (prefers-color-scheme: dark) {
    #cookie-banner {
        background: rgba(17, 24, 39, 0.95);
        border-top-color: rgba(75, 85, 99, 0.8);
    }
    
    #cookie-banner p {
        color: #d1d5db;
    }
    
    #cookie-banner a {
        color: #60a5fa;
    }
    
    #cookie-banner a:hover {
        color: #93c5fd;
    }
}

/* Service Cards - Equal Height Layout */
.service-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card .flex-grow {
    flex-grow: 1;
}

.service-card .mt-auto {
    margin-top: auto;
}

/* Project Cards - Equal Height Layout */
.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.project-card .flex-grow {
    flex-grow: 1;
}

.project-card .mt-auto {
    margin-top: auto;
}

/* Image Comparison Slider Styles */
.image-comparison-container {
    position: relative;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.image-comparison-container .image-overlay {
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.1s ease-out;
}

.slider-line {
    background: linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.8) 80%, transparent 100%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-handle {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 2px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.slider-handle:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.05);
}

.slider-handle .w-2 {
    background: var(--primary);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments for image slider */
@media (max-width: 768px) {
    .image-comparison-container {
        height: 16rem; /* h-64 - smaller on mobile */
    }
    
    .slider-handle {
        width: 2rem; /* w-8 */
        height: 2rem; /* h-8 */
    }
    
    .slider-handle .w-2 {
        width: 0.5rem; /* w-2 */
        height: 0.5rem; /* h-2 */
    }
}

@media (max-width: 480px) {
    .image-comparison-container {
        height: 12rem; /* h-48 - even smaller on very small screens */
    }
    
    .slider-handle {
        width: 1.75rem; /* w-7 */
        height: 1.75rem; /* h-7 */
    }
}

/* Grain boundary case study: collapsible adaptation block */
.grain-boundary-adaptation-details > summary {
    list-style: none;
}

.grain-boundary-adaptation-details > summary::-webkit-details-marker {
    display: none;
}

.grain-boundary-adaptation-details .grain-adapt-chevron {
    transition: transform 0.2s ease;
}

.grain-boundary-adaptation-details[open] .grain-adapt-chevron {
    transform: rotate(180deg);
}

/* Homepage about: data pipeline illustration */
.about-pipeline-figure {
    margin: 0;
}

.about-pipeline-diagram {
    display: block;
    width: 100%;
    max-width: 28rem;
    height: auto;
    margin: 0 auto 1rem;
    color: var(--primary);
}

.about-pipeline-caption {
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: center;
    margin: 0 auto 1.25rem;
    max-width: 26rem;
}

.about-pipeline-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    justify-items: stretch;
    align-items: center;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .about-pipeline-grid {
        grid-template-columns: 1fr auto 1fr auto 1fr;
        gap: 0.15rem 0.35rem;
        align-items: stretch;
    }
}

.about-pipeline-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    padding: 1.15rem 0.9rem;
    border-radius: 0.75rem;
    background-color: var(--bg-card);
    box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    border: 2px solid color-mix(in srgb, var(--primary) 18%, transparent);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    min-height: 100%;
}

.about-pipeline-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 28px -8px rgba(6, 95, 76, 0.22);
    transform: translateY(-3px);
}

.about-pipeline-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.about-pipeline-card .about-pipeline-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: color-mix(in srgb, var(--primary) 14%, #ffffff);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 0.65rem;
}

.about-pipeline-step-title {
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--text-dark);
    margin-bottom: 0.35rem;
    line-height: 1.25;
    min-height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-pipeline-step-title--with-optional {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin-bottom: 0.35rem;
    min-height: 2.4rem;
}

.about-pipeline-step-title--with-optional > span:first-child {
    margin-bottom: 0;
}

.about-pipeline-gen-optional {
    font-weight: 500;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    letter-spacing: 0.01em;
}

/* Keep optional-step semantic class without visual differences.
   This ensures all three pipeline cards share identical rectangles/borders. */
.about-pipeline-card--optional-step {
    border-color: color-mix(in srgb, var(--primary) 18%, transparent);
    background-color: var(--bg-card);
}

.about-pipeline-card--optional-step .about-pipeline-icon {
    background: color-mix(in srgb, var(--primary) 14%, #ffffff);
    color: var(--primary);
}

.about-pipeline-card--optional-step:hover {
    border-color: var(--primary);
}

.about-pipeline-step-case {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.35;
    min-height: 2.2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.about-pipeline-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.35rem 0;
    user-select: none;
}

@media (min-width: 768px) {
    .about-pipeline-connector {
        padding: 0 0.15rem;
    }
}

.about-pipeline-connector::before {
    content: "↓";
}

@media (min-width: 768px) {
    .about-pipeline-connector::before {
        content: "→";
    }
}

/* Homepage about: full-width hero image slider */
.about-hero-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.about-hero-carousel {
    position: relative;
    width: 100%;
}

.about-hero-viewport {
    overflow: hidden;
    overflow-x: clip;
    width: 100%;
    max-width: 100%;
}

/* Track is n× viewport width; each slide is 1/n of track (= full viewport). JS also sets widths for precision. */
.about-hero-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 400%;
    transition: transform 0.65s ease-in-out;
    will-change: transform;
}

.about-hero-slide {
    flex: 0 0 25%;
    min-width: 25%;
    max-width: 25%;
    width: 25%;
    box-sizing: border-box;
}

.about-hero-slide-media {
    position: relative;
    min-height: min(70vh, 36rem);
}

.about-hero-slide-media--brand-bg {
    background-color: var(--primary);
}

/* Background image/video + readable foreground copy */
.about-hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.about-hero-media-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 0, 0, 0.4) 45%,
        rgba(0, 0, 0, 0.6) 100%
    );
}

.about-hero-media-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(70vh, 36rem);
    padding: 4.5rem 0 5.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
}

@media (min-width: 768px) {
    .about-hero-slide-media {
        min-height: min(75vh, 40rem);
    }

    .about-hero-media-content {
        min-height: min(75vh, 40rem);
        padding: 5rem 0 6.5rem;
    }
}

.about-hero-prev,
.about-hero-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
    padding: 0.65rem;
    border-radius: 9999px;
    background-color: var(--primary);
    color: var(--text-bright);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    transition: background-color 0.2s ease, opacity 0.2s ease;
}

.about-hero-prev:hover,
.about-hero-next:hover {
    background-color: var(--secondary);
}

.about-hero-prev {
    left: 0.5rem;
}

.about-hero-next {
    right: 0.5rem;
}

@media (min-width: 768px) {
    .about-hero-prev {
        left: 1rem;
    }

    .about-hero-next {
        right: 1rem;
    }
}

@media (max-width: 767px) {
    .about-hero-prev,
    .about-hero-next {
        display: none;
    }
}

.about-hero-dots-wrap {
    pointer-events: none;
}

#about-hero-dots {
    pointer-events: auto;
}

.about-hero-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: var(--secondary);
    border: 2px solid var(--primary);
    cursor: pointer;
    padding: 0;
    transition: background-color 0.25s ease, transform 0.2s ease;
}

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