/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/Vazirmatn-font-face.css');

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
}

:root {
    /* Modern AI-inspired Color Palette */
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --secondary-color: #06b6d4;
    --accent-color: #f59e0b;
    --accent-hover: #d97706;

    /* AI Theme Gradients */
    --gradient-primary: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-ai: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-glow: linear-gradient(135deg, rgba(59, 130, 246, 0.8) 0%, rgba(6, 182, 212, 0.8) 100%);

    /* Typography */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #ffffff;

    /* Backgrounds */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.08);
    --bg-glass-dark: rgba(15, 23, 42, 0.08);

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03), 0 1px 3px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
    --shadow-glow-accent: 0 0 20px rgba(245, 158, 11, 0.3);

    /* Borders & Spacing */
    --border-color: #e2e8f0;
    --border-subtle: rgba(255, 255, 255, 0.1);

    /* Animations */
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Vazirmatn', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--light-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: 'kern' 1, 'liga' 1;
}

/* RTL and LTR Support */
body {
    direction: rtl;
    text-align: right;
}

body.ltr {
    direction: ltr;
    text-align: left;
}

/* Loading State */
body.loading {
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.loaded {
    opacity: 1;
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Language Switcher */
.language-switcher {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1000;
    display: flex;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    padding: 0.25rem;
    border: 1px solid var(--glass-border);
}

body.ltr .language-switcher {
    left: auto;
    right: 15px;
}

.language-switcher a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    min-width: 2.5rem;
}

.language-switcher a.active {
    background: var(--gradient-primary);
    color: var(--light-text);
    box-shadow: var(--shadow-md);
}

.language-switcher a:hover:not(.active) {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

/* Header */
header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    box-shadow: var(--shadow-md);
}

header .container {
    display: flex;
    /* justify-content: space-between; */
    align-items: center;
    padding: 0 15px;
}

.logo {
    margin-right: -50px;
    margin-left: 30px;
}

body.ltr .logo {
    margin-right: 30px;
    margin-left: -50px;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    align-items: center;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

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

/* Internship Button Style */
.btn-internship {
    background-color: var(--accent-color);
    color: var(--light-text) !important;
    padding: 8px 15px;
    border-radius: 4px;
    transition: var(--transition);
    font-weight: 500;
    margin-right: 10px;
    white-space: nowrap;
}

body.ltr .btn-internship {
    margin-right: 0;
    margin-left: 10px;
}

.btn-internship:hover {
    background-color: #c2185b;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--light-text);
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.03"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.03"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 400;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 2rem;
    background: var(--gradient-primary);
    color: var(--light-text);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.btn-small {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.btn-download {
    background: var(--gradient-dark);
    color: white;
}

.btn-download:hover {
    background: linear-gradient(135deg, #1e1b4b 0%, #1e293b 100%);
}

/* Projects Grid */
.projects-preview {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.projects-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.projects-preview h2 {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.project-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.project-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.3);
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.project-card h3, .project-card p {
    padding: 0 1.5rem;
}

.project-card h3 {
    margin-top: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.project-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-card .btn {
    margin: 0 1.5rem 1.5rem;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.project-card .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.project-card .btn:hover::before {
    left: 100%;
}

/* Download Catalog Section */
.download-catalog {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.download-catalog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.download-catalog h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    position: relative;
    z-index: 1;
}

.download-catalog p {
    max-width: 600px;
    margin: 0 auto 3rem;
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 50%, #475569 100%);
    color: #f1f5f9;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="footer-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23footer-pattern)"/></svg>');
    pointer-events: none;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 40px;
}

.contact-info {
    flex: 1;
    min-width: 280px;
    margin-bottom: 30px;
}

.contact-info h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 15px;
    opacity: 0.95;
    display: flex;
    align-items: flex-start;
    color: #e2e8f0;
}

.contact-info i {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    color: #ffffff;
    border-radius: var(--radius-lg);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-lg);
}

.social-links a:hover::before {
    opacity: 0.2;
}

.footer-link {
    color: #60a5fa !important;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #93c5fd !important;
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    opacity: 0.85;
    color: #e2e8f0;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 900px) {
    nav ul {
        gap: 15px;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .language-switcher {
        top: 1rem;
        left: 1rem;
    }

    body.ltr .language-switcher {
        right: 1rem;
        left: auto;
    }

    .language-switcher a {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }

    .logo img {
        height: 45px;
    }

    .btn-internship {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        margin-right: 0.5rem;
    }

    body.ltr .btn-internship {
        margin-left: 0.5rem;
        margin-right: 0;
    }

    .projects-preview h2 {
        font-size: 2.5rem;
    }

    .download-catalog h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        cursor: pointer;
        z-index: 1001;
        padding: 0.75rem;
        border-radius: var(--radius-md);
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        transition: all 0.3s ease;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.05);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-xl);
        z-index: 1000;
        overflow-y: auto;
        padding-top: 5rem;
        border-left: 1px solid var(--glass-border);
    }

    body.ltr nav {
        right: auto;
        left: -100%;
        border-left: none;
        border-right: 1px solid var(--glass-border);
    }

    nav.active {
        right: 0;
    }

    body.ltr nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        align-items: flex-start;
    }

    nav ul li {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    nav ul li a {
        display: block;
        padding: 0.75rem 1rem;
        width: 100%;
        border-radius: var(--radius-lg);
        transition: all 0.3s ease;
        font-weight: 500;
    }

    nav ul li a:hover {
        background: var(--gradient-primary);
        color: white;
        transform: translateX(4px);
    }

    .hero {
        padding: 80px 0 60px;
    }

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

    .hero p {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .projects-preview {
        padding: 60px 0;
    }

    .projects-preview h2, .download-catalog h2 {
        font-size: 2rem;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    header .container {
        justify-content: space-between;
        padding: 0 1rem;
    }

    .logo {
        margin-right: 1rem;
        margin-left: 0;
    }

    body.ltr .logo {
        margin-left: 1rem;
        margin-right: 0;
    }

    .logo img {
        height: 45px;
    }

    .language-switcher {
        position: static;
        top: auto;
        left: auto;
        margin-top: 0;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(20px);
        border-radius: var(--radius-xl);
        box-shadow: var(--shadow-md);
        overflow: hidden;
        padding: 0.25rem;
        border: 1px solid var(--glass-border);
        display: flex;
        align-items: center;
        margin-left: 1rem;
        flex-shrink: 0;
    }

    body.ltr .language-switcher {
        margin-left: 0;
        margin-right: 1rem;
    }

    .language-switcher a {
        font-size: 0.875rem;
        padding: 0.5rem 0.875rem;
        margin-top: 0;
        font-weight: 600;
        min-width: 2.25rem;
    }

    .language-switcher a.active {
        background: var(--gradient-primary);
        color: var(--light-text);
        box-shadow: var(--shadow-sm);
    }

    .language-switcher a:hover:not(.active) {
        background: rgba(0, 0, 0, 0.05);
        transform: translateY(-1px);
    }

    /* Internship button mobile styles */
    nav ul li .btn-internship {
        margin-right: 0;
        margin-left: 0;
        display: block;
        text-align: center;
        background: var(--gradient-secondary);
    }

    nav ul li .btn-internship:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .projects-preview h2, .download-catalog h2 {
        font-size: 1.875rem;
    }

    .project-card {
        margin: 0 0.5rem;
    }

    .project-card h3 {
        font-size: 1.25rem;
    }

    .download-catalog {
        padding: 60px 0;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .social-links {
        margin-top: 0;
        justify-content: center;
    }

    .logo img {
        height: 42px;
    }

    .language-switcher {
        border-radius: var(--radius-lg);
        margin-left: 0.75rem;
    }

    body.ltr .language-switcher {
        margin-right: 0.75rem;
        margin-left: 0;
    }

    .language-switcher a {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
        min-width: 2rem;
    }

    /* Internship button small screen styles */
    nav ul li .btn-internship {
        font-size: 0.875rem;
        padding: 0.625rem 1rem;
    }

    nav {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 60px 0 50px;
    }

    .hero h1 {
        font-size: 1.875rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 1rem;
    }

    .projects-preview {
        padding: 50px 0;
    }

    .projects-preview h2 {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .download-catalog h2 {
        font-size: 1.625rem;
    }

    .download-catalog p {
        font-size: 1rem;
    }

    .project-card img {
        height: 180px;
    }

    .footer-content {
        gap: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.25rem;
    }

    .logo img {
        height: 40px;
    }

    .language-switcher {
        margin-left: 0.5rem;
    }

    body.ltr .language-switcher {
        margin-right: 0.5rem;
    }

    nav {
        width: 260px;
        padding-top: 4rem;
    }

    nav ul {
        padding: 1.5rem;
        gap: 0.75rem;
    }

    nav ul li a {
        padding: 0.625rem 0.875rem;
        font-size: 0.95rem;
    }

    /* Very small screen internship button */
    nav ul li .btn-internship {
        font-size: 0.85rem;
        padding: 0.5rem 0.875rem;
    }
}

/* Modern Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

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

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-card {
    height: 200px;
    margin-bottom: 1rem;
}

/* Smooth Page Transitions */
.fade-in {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Stagger animations */
.stagger-children > * {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }

/* Pulse effect for interactive elements */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Modern Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
} 