/* CSS Variables */
:root {
    --primary-color: #2a334e;
    /* Deep Navy from reference */
    --primary-dark: #1e2538;
    --accent-color: #c5a059;
    /* Gold/Bronze */
    --accent-light: #e0bb6b;
    --text-color: #333333;
    --text-light: #666666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-arabic: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition-speed: 0.3s;
    --container-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

ul {
    list-style: none;
}

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

.section-padding {
    padding: 80px 0;
}

.text-gold {
    color: var(--accent-color);
}

/* Row and Column Layout */
.row {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}

.col-text {
    flex: 1;
    min-width: 300px;
}

.col-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.col-image {
    flex: 1;
    min-width: 300px;
}

/* Project Card Enhancements */
.project-type {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

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

.project-card.featured .project-type {
    background: rgba(255, 255, 255, 0.2);
}

/* Vision Content */
.vision-content {
    text-align: center;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    /* Assumes dark background usually */
    border: 2px solid #fff;
}

.btn-outline:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--accent-color);
    text-transform: uppercase;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    color: var(--primary-color);
}

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 70vh;
    background-color: var(--primary-color);
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    padding-top: 90px;
    padding-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(42, 51, 78, 0.7), rgba(42, 51, 78, 0.4));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.hero-content h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.92);
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* Fallback for older Safari that doesn't support gap in flexbox */
@supports not (gap: 20px) {
    .hero-buttons > * {
        margin: 10px;
    }
    .hero-buttons {
        margin: -10px;
    }
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    color: #fff;
    letter-spacing: 2px;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    width: 28px;
    height: 20px;
    position: relative;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Sidebar Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1100;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    max-width: 85vw;
    height: 100%;
    background: var(--bg-white);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
    z-index: 1200;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

[dir="ltr"] .mobile-sidebar {
    right: auto;
    left: -300px;
    transition: left 0.3s ease;
}

.mobile-sidebar.active {
    right: 0;
}

[dir="ltr"] .mobile-sidebar.active {
    left: 0;
    right: auto;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--bg-light);
}

.sidebar-header .logo {
    display: flex;
    flex-direction: column;
}

.sidebar-close {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sidebar-close:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

.sidebar-nav {
    flex: 1;
    padding: 10px 0;
}

.sidebar-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-nav li {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-nav a {
    display: block;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.sidebar-nav a:hover {
    background: var(--bg-light);
    color: var(--accent-color);
    padding-right: 35px;
}

[dir="ltr"] .sidebar-nav a:hover {
    padding-left: 35px;
    padding-right: 25px;
}

.sidebar-nav .lang-item a {
    background: var(--bg-light);
    color: var(--accent-color);
    font-weight: 600;
}

.sidebar-footer {
    padding: 20px 25px;
    background: var(--primary-color);
    color: white;
}

.sidebar-footer p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.sidebar-social {
    display: flex;
    gap: 15px;
}

.sidebar-social a {
    color: var(--accent-color);
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.sidebar-social a:hover {
    color: white;
}

/* Body scroll lock when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    .hero-section {
        min-height: 60vh;
        padding-top: 60px;
        padding-bottom: 20px;
    }
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 14px;
    }
    .hero-content p {
        font-size: 0.98rem;
        margin-bottom: 20px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }
    .header-container {
        height: 60px;
    }
    .footer-top {
        flex-direction: column;
        gap: 30px;
    }
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .row {
        flex-direction: column;
    }
    .col-text, .col-image {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
        padding-top: 40px;
        padding-bottom: 10px;
    }
    .hero-content h1 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }
    .hero-content p {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }
    .logo-text {
        font-size: 1.2rem;
    }
    .logo-sub {
        font-size: 0.5rem;
    }
    .mobile-sidebar {
        width: 220px;
    }
}

/* Hide sidebar on desktop */
@media (min-width: 769px) {
    .mobile-sidebar,
    .sidebar-overlay {
        display: none !important;
    }
}

/* PWA Safe Areas */
@supports (padding: max(0px)) {
    .site-header,
    .hero-content,
    .container {
        padding-left: max(20px, env(safe-area-inset-left));
        padding-right: max(20px, env(safe-area-inset-right));
    }

    .site-footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

/* RTL Support */
[dir="rtl"] body {
    text-align: right;
    direction: rtl;
}

[dir="rtl"] .logo {
    text-align: left;
    /* Keep logo English text LTR visually or align it correctly */
    align-items: flex-end;
}

[dir="rtl"] .main-nav ul {
    gap: 30px;
}

[dir="rtl"] .hero-content {
    /* Ensure hero text aligns right */
    text-align: right;
}

[dir="rtl"] .feature-list li {
    padding-left: 0;
    padding-right: 20px;
    position: relative;
}

[dir="rtl"] .feature-list li::before {
    left: auto;
    right: 0;
}

/* Ensure font override for Arabic specifically in class selectors */
:lang(ar) {
    font-family: 'Tajawal', sans-serif;
}

/* ============================================
   PROFESSIONAL REDESIGN - CLEAN & MINIMAL
   ============================================ */

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 20px;
}

.section-header.light h2 {
    color: white;
}

.section-header.light h2::after {
    background: rgba(255,255,255,0.5);
}

.section-header.light p {
    color: rgba(255,255,255,0.8);
}

/* About Section - New Design */
.about-section {
    background: var(--bg-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: var(--bg-light);
    padding: 30px 20px;
    text-align: center;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.stat-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Vision Section - Minimal */
.vision-section {
    background: var(--primary-color);
    padding: 100px 0;
}

.vision-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.vision-content h2 {
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.vision-text {
    color: white;
    font-size: 2rem;
    line-height: 1.6;
    font-weight: 300;
}

/* Services Section - Clean Cards */
.services-section {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-icon svg {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    stroke: white;
    flex-shrink: 0;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Projects Section - Modern Cards */
.projects-section {
    background: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.project-card {
    background: var(--bg-light);
    padding: 35px 25px;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.project-card:hover {
    background: var(--primary-color);
    transform: translateY(-8px);
}

.project-card:hover h3,
.project-card:hover p,
.project-card:hover .project-type {
    color: white;
}

.project-card:hover .stat-value {
    color: var(--accent-color);
}

.project-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

[dir="rtl"] .project-badge {
    left: auto;
    right: 15px;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--primary-color);
    transition: color 0.3s;
}

.project-card .project-type {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.project-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.3s;
}

.project-stat {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.project-card:hover .project-stat {
    border-color: rgba(255,255,255,0.2);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    transition: color 0.3s;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--text-light);
}

.project-card:hover .stat-desc {
    color: rgba(255,255,255,0.7);
}

.project-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 45px 35px;
}

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

.project-card.featured .project-type {
    color: var(--accent-color);
}

.project-card.featured:hover {
    transform: translateY(-8px);
    background: linear-gradient(135deg, var(--primary-dark) 0%, #151a2e 100%);
}

/* Contracts Section - Numbers Design */
.contracts-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    position: relative;
}

.contracts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.contract-card {
    background: rgba(255,255,255,0.05);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
}

.contract-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.contract-card.highlight {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.contract-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.15);
    position: absolute;
    top: 15px;
    right: 25px;
    line-height: 1;
}

[dir="ltr"] .contract-number {
    right: auto;
    left: 25px;
}

.contract-card h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 12px;
    position: relative;
}

.contract-card p {
    color: rgba(255,255,255,0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
}

.card-tag {
    display: inline-block;
    background: white;
    color: var(--primary-color);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 20px;
}

/* Story Section - Quote Style */
.story-section {
    background: var(--bg-light);
}

.story-wrapper {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.story-quote {
    margin-bottom: 30px;
}

.story-quote svg {
    width: 48px;
    height: 48px;
    max-width: 48px;
    max-height: 48px;
    color: var(--accent-color);
    opacity: 0.3;
}

.story-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.story-text {
    font-size: 1.25rem;
    line-height: 2;
    color: var(--text-color);
    margin-bottom: 40px;
}

.story-values {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Fallback for older Safari */
@supports not (gap: 40px) {
    .story-values > * {
        margin: 10px 20px;
    }
}

.value-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-light);
    font-weight: 500;
}

/* Fallback for older Safari */
@supports not (gap: 10px) {
    .value-item > * {
        margin-right: 5px;
        margin-left: 5px;
    }
}

.value-icon {
    color: var(--accent-color);
    font-size: 0.8rem;
}

/* Responsive for New Design */
@media (max-width: 1024px) {
    .services-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .project-card.featured {
        grid-column: span 2;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .contracts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-card.featured {
        grid-column: span 1;
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-card .stat-number {
        font-size: 1.8rem;
    }
    
    .vision-text {
        font-size: 1.4rem;
    }
    
    .story-values {
        flex-direction: column;
        gap: 20px;
    }
    
    .story-text {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 25px;
    }
}

/* Card Animation Styles */
.service-card,
.project-card,
.contract-card,
.stat-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.service-card.visible,
.project-card.visible,
.contract-card.visible,
.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}