/* ================================================== */
/* CSS Variables & Reset */
/* ================================================== */
:root {
    /* Colors - New Palette based on your Logo */
    --primary: 30 25% 45%; /* Dark, muted brown from logo */
    --primary-foreground: 0 0% 98%; /* Light color for text on primary background */
    --secondary: 30 20% 94%;
    --secondary-foreground: 30 25% 25%;
    --muted: 30 20% 94%;
    --muted-foreground: 30 20% 55%; /* Muted text color */
    --accent: 30 20% 92%;
    --accent-foreground: 30 25% 25%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 0 0% 98%;
    --border: 30 15% 88%;
    --input: 30 15% 88%;
    --ring: 30 25% 45%; /* Focus ring color */
    --background: 30 20% 98%; /* Light beige background */
    --foreground: 30 25% 20%; /* Dark brown for main text */
    --card: 0 0% 100%; /* White for cards to stand out */
    --card-foreground: 30 25% 20%;
    
    /* Responsive breakpoints */
    --mobile: 768px;
    --tablet: 1024px;
    --desktop: 1280px;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Typography */
    --font-family: 'Cairo', 'Tajawal', system-ui, -apple-system, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    --font-size-6xl: 3.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Dark mode variables */
.dark {
    --background: 240 10% 4%;
    --foreground: 0 0% 98%;
    --card: 240 10% 4%;
    --card-foreground: 0 0% 98%;
    --muted: 240 4% 16%;
    --muted-foreground: 240 5% 65%;
    --border: 240 4% 16%;
    --input: 240 4% 16%;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ================================================== */
/* Utility Classes */
/* ================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    border-radius: 0.375rem;
    font-size: var(--font-size-sm);
    padding: 0.75rem 1.5rem;
    min-height: 44px;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border-color: hsl(var(--primary));
}

.btn-primary:hover {
    background-color: hsl(var(--primary) / 0.9);
}

.btn-outline {
    background-color: transparent;
    color: hsl(var(--foreground));
    border-color: hsl(var(--border));
}

.btn-outline:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

.btn-select {
    width: 100%;
    font-size: var(--font-size-base);
    padding: 0.875rem 1.5rem;
}

/* Mobile button adjustments */
@media (max-width: 767px) {
    .btn {
        width: 100%;
        font-size: var(--font-size-sm);
        padding: 0.625rem 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .hero-buttons .btn {
        width: auto;
    }
}

/* Section spacing */
.section {
    padding: var(--spacing-3xl) 0;
}

@media (max-width: 767px) {
    .section {
        padding: var(--spacing-2xl) 0;
    }
}

/* ================================================== */
/* Header Styles */
/* ================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: hsl(var(--background) / 0.8);
    border-bottom: 1px solid hsl(var(--border));
    backdrop-filter: blur(8px);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 5rem;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .nav-wrapper {
        height: 5rem;
        padding: 0 1.5rem;
    }
}

.logo-img {
    height: 55px;
    width: auto;
}

@media (max-width: 768px) {
    .logo-img {
        height: 45px;
    }
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
        gap: 2rem;
    }
}

.nav-link {
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: hsl(var(--foreground));
    transition: color 0.2s ease-in-out;
    padding: 0.75rem;
    border-radius: 0.375rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    text-decoration: none;
}

@media (min-width: 1024px) {
    .nav-link {
        font-size: var(--font-size-base);
    }
}

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

/* Mobile Menu */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 0.375rem;
    background-color: transparent;
    color: hsl(var(--foreground));
    font-size: var(--font-size-lg);
    transition: background-color 0.2s ease-in-out;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn:hover {
    background-color: hsl(var(--accent));
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    border-top: 1px solid hsl(var(--border));
    background-color: hsl(var(--background));
}

.nav-mobile.active {
    display: flex;
}

@media (min-width: 768px) {
    .nav-mobile {
        display: none !important;
    }
}

.nav-link-mobile {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    border-radius: 0.375rem;
    color: hsl(var(--foreground));
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease-in-out;
    min-height: 44px;
    text-align: right;
    justify-content: flex-end;
}

.nav-link-mobile:hover, .nav-link-mobile.active {
    background-color: hsl(var(--accent));
    color: hsl(var(--primary));
}

/* ================================================== */
/* Hero Section */
/* ================================================== */
.hero {
    padding: 3rem 0;
    background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--card) / 0.5));
}

@media (min-width: 768px) {
    .hero {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 5rem 0;
    }
}

.hero-content {
    text-align: center;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: var(--font-size-4xl);
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: var(--font-size-5xl);
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: var(--font-size-6xl);
    }
}

.hero-description {
    font-size: var(--font-size-base);
    color: hsl(var(--muted-foreground));
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: var(--font-size-lg);
        margin-bottom: 2rem;
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .hero-description {
        font-size: var(--font-size-xl);
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
    }
}

/* ================================================== */
/* Why Choose Us Section */
/* ================================================== */
.why-choose-us {
    padding: 4rem 0;
}

@media (max-width: 767px) {
    .why-choose-us {
        padding: 3rem 0;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

@media (max-width: 767px) {
    .section-header {
        margin-bottom: 2rem;
    }
}

.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: var(--font-size-4xl);
    }
}

.section-subtitle {
    font-size: var(--font-size-lg);
    color: hsl(var(--muted-foreground));
    max-width: 48rem;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.feature-card {
    background-color: hsl(var(--card) / 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid hsl(var(--border) / 0.5);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: hsl(var(--border));
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    background-color: hsl(var(--primary) / 0.1);
    border-radius: 50%;
    color: hsl(var(--primary));
    font-size: var(--font-size-2xl);
}

.feature-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .feature-title {
        font-size: var(--font-size-xl);
    }
}

.feature-description {
    font-size: var(--font-size-sm);
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .feature-description {
        font-size: var(--font-size-base);
    }
}

/* Bottom Message */
.bottom-message {
    text-align: center;
}

.message-box {
    background-color: hsl(var(--primary) / 0.05);
    border: 1px solid hsl(var(--primary) / 0.2);
    border-radius: 0.75rem;
    padding: 1.5rem;
    max-width: 64rem;
    margin: 0 auto;
}

.message-primary {
    font-size: var(--font-size-lg);
    font-weight: 500;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

.message-secondary {
    font-size: var(--font-size-base);
    color: hsl(var(--muted-foreground));
}

/* ================================================== */
/* Services Section */
/* ================================================== */
.services {
    padding: 4rem 0;
    background-color: hsl(var(--muted) / 0.3);
}

@media (max-width: 767px) {
    .services {
        padding: 3rem 0;
    }
}

.section-subtitle-large {
    text-align: center;
    margin-bottom: 2rem;
}

.section-subtitle-large h3 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .section-subtitle-large h3 {
        font-size: var(--font-size-3xl);
    }
}

@media (min-width: 1024px) {
    .section-subtitle-large h3 {
        font-size: var(--font-size-4xl);
    }
}

/* Pricing Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .pricing-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .pricing-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.pricing-card {
    position: relative;
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: 0.75rem;
    padding: 0;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}


.pricing-card.popular {
    border-color: hsl(var(--primary));
    transform: scale(1.02);
}

.pricing-card.special {
    border-color: hsl(var(--primary));
}

.package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    white-space: nowrap;
}

.special-badge {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    font-size: var(--font-size-xs);
    padding: 0.25rem 0.75rem;
    border-radius: 0.375rem;
}

.card-header {
    text-align: center;
    padding: 1rem;
    flex-grow: 1;
}

@media (min-width: 768px) {
    .card-header {
        padding: 1.5rem;
    }
}

.package-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .package-title {
        font-size: var(--font-size-xl);
    }
}

@media (min-width: 1024px) {
    .package-title {
        font-size: var(--font-size-2xl);
    }
}

.package-price {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: hsl(var(--primary));
    margin: 0.5rem 0;
}

@media (min-width: 768px) {
    .package-price {
        font-size: var(--font-size-3xl);
    }
}

@media (min-width: 1024px) {
    .package-price {
        font-size: var(--font-size-4xl);
    }
}

.package-description {
    font-size: var(--font-size-xs);
    color: hsl(var(--muted-foreground));
    margin-top: 0.75rem;
    padding: 0 0.5rem;
    line-height: 1.5;
}

@media (min-width: 768px) {
    .package-description {
        font-size: var(--font-size-sm);
    }
}

.card-body {
    padding: 1rem;
    margin-top: auto;
}

@media (min-width: 768px) {
    .card-body {
        padding: 1.5rem;
    }
}

/* Comparison Table */
.comparison-table {
    margin-top: 3rem;
    background-color: hsl(var(--card));
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid hsl(var(--border));
}

.table-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .table-title {
        font-size: var(--font-size-xl);
    }
}

@media (min-width: 1024px) {
    .table-title {
        font-size: var(--font-size-2xl);
    }
}

.table-container {
    overflow-x: auto;
}

.features-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.features-table th,
.features-table td {
    padding: 0.5rem;
    text-align: center;
    border-bottom: 1px solid hsl(var(--border) / 0.3);
}

@media (min-width: 768px) {
    .features-table th,
    .features-table td {
        padding: 1rem;
    }
}

.features-table th {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: hsl(var(--foreground));
    background-color: hsl(var(--muted) / 0.3);
}

@media (min-width: 768px) {
    .features-table th {
        font-size: var(--font-size-base);
    }
}

.features-table td {
    font-size: var(--font-size-sm);
    color: hsl(var(--foreground));
}

@media (min-width: 768px) {
    .features-table td {
        font-size: var(--font-size-base);
    }
}

.features-table th:first-child,
.features-table td:first-child {
    text-align: right;
    font-weight: 500;
}

.popular-col {
    color: hsl(var(--primary)) !important;
}

.features-table .fa-check {
    color: #16a34a;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .features-table .fa-check {
        font-size: 1.25rem;
    }
}

.features-table .fa-times {
    color: #dc2626;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .features-table .fa-times {
        font-size: 1.25rem;
    }
}

/* ================================================== */
/* Portfolio Section */
/* ================================================== */
.portfolio {
    padding: 4rem 0;
}

@media (max-width: 767px) {
    .portfolio {
        padding: 3rem 0;
    }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
    }
}

.portfolio-item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: hsl(var(--muted));
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover {
    transform: translateY(-4px);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.portfolio-overlay p {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

/* ================================================== */
/* Contact Section */
/* ================================================== */
.contact {
    padding: 4rem 0;
    background-color: hsl(var(--card));
    border-top: 1px solid hsl(var(--border));
}

@media (max-width: 767px) {
    .contact {
        padding: 3rem 0;
    }
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .social-links {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    border: 1px solid hsl(var(--border));
    border-radius: 0.5rem;
    background-color: transparent;
    color: hsl(var(--foreground));
    font-size: var(--font-size-sm);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    min-height: 44px;
    justify-content: center;
}

@media (min-width: 640px) {
    .social-btn {
        width: auto;
        font-size: var(--font-size-base);
    }
}

.social-btn:hover {
    background-color: hsl(var(--accent));
    border-color: hsl(var(--primary));
}

.social-btn i {
    font-size: var(--font-size-lg);
}

@media (min-width: 640px) {
    .social-btn i {
        font-size: var(--font-size-xl);
    }
}

/* Contact Info */
.contact-info {
    text-align: center;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h3 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
    .info-item h3 {
        font-size: var(--font-size-lg);
    }
}

.info-item p {
    font-size: var(--font-size-sm);
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .info-item p {
        font-size: var(--font-size-base);
        padding: 0;
    }
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .contact-details {
        flex-direction: row;
        gap: 1.5rem;
    }
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: hsl(var(--muted-foreground));
    font-size: var(--font-size-sm);
}

@media (min-width: 768px) {
    .contact-item {
        font-size: var(--font-size-base);
    }
}

.contact-item i {
    color: hsl(var(--primary));
    font-size: var(--font-size-sm);
}

@media (min-width: 768px) {
    .contact-item i {
        font-size: var(--font-size-base);
    }
}

/* Footer Brand */
.footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-img-footer {
    height: 50px;
    margin: 0 auto 1rem;
}

.brand-tagline {
    font-size: var(--font-size-sm);
    color: hsl(var(--muted-foreground));
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .brand-tagline {
        font-size: var(--font-size-base);
        padding: 0;
    }
}

/* Copyright */
.copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid hsl(var(--border));
}

@media (min-width: 768px) {
    .copyright {
        padding-top: 2rem;
    }
}

.copyright p {
    font-size: var(--font-size-xs);
    color: hsl(var(--muted-foreground));
}

@media (min-width: 768px) {
    .copyright p {
        font-size: var(--font-size-sm);
    }
}

/* ================================================== */
/* Smooth Scrolling & Animation */
/* ================================================== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s ease-out forwards;
}

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

/* ================================================== */
/* Loading States & Accessibility */
/* ================================================== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states */
button:focus-visible,
a:focus-visible,
.nav-link:focus-visible,
.nav-link-mobile:focus-visible {
    outline: 2px solid hsl(var(--primary));
    outline-offset: 2px;
}

/* Loading placeholder */
.loading {
    background: linear-gradient(90deg, hsl(var(--muted)) 25%, hsl(var(--muted) / 0.5) 50%, hsl(var(--muted)) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}