* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    backface-visibility: hidden;
}

:root {
    --primary-bg: #0f172a;
    --secondary-bg: #1e293b;
    --accent-blue: #3b82f6;
    --accent-blue-light: #60a5fa;
    --accent-purple: #8b5cf6;
    --accent-emerald: #10b981;
    --accent-amber: #f59e0b;
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #64748b;
    --border-color: rgba(148, 163, 184, 0.1);
    --glass-bg: rgba(30, 41, 59, 0.2);
    --glass-border: rgba(148, 163, 184, 0.2);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-bezier: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@font-face {
    font-family: 'Logo';
    src: url('../font/Yesteryear-Regular.ttf') format('woff2'); 
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--primary-bg) 0%, #1e1b4b 50%, var(--secondary-bg) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* Animated Background */
.background-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.3;
}

.floating-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape:nth-child(2) {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.shape:nth-child(3) {
    width: 60px;
    height: 60px;
    bottom: 20%;
    left: 20%;
    animation-delay: -10s;
}

.shape:nth-child(4) {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 20%;
    animation-delay: -10s;
}

.shape:nth-child(5) {
    width: 100px;
    height: 100px;
    top: 40%;
    left: 50%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-100px) rotate(180deg);
        opacity: 0.3;
    }
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: transform var(--transition-normal);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 1rem 2rem;
    position: relative;
    transition: all var(--transition-normal);
}

.nav-blur-bg {
    position: absolute;
    inset: 0;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    pointer-events: none;
}

.nav-logo {
    font-size: 1.5rem;
    letter-spacing: 0.6vw;
    font-family: 'Logo';
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    position: relative;
    z-index: 1;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    position: relative;
    z-index: 1;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active {
    color: var(--accent-blue);
    background: rgba(59, 130, 246, 0.1);
}

.nav-link.active::after {
    width: 60%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    margin: 5px 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

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

/* Main Content */
.main-content {
    padding-top: 120px;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

/* Profile Card */
.profile-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
    animation: fadeInLeft 1s ease;
}

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

.profile-avatar {
    width: 240px;
    height: 240px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent-blue);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    position: relative;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.3s ease;
    display: block;
}

.profile-avatar:hover img {
    transform: scale(1.05);
}

/* Add a subtle glow effect */
.profile-avatar::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    /* background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2)); */
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-avatar:hover::after {
    opacity: 1;
}

.profile-name {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-title {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
}

.profile-bio {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition-normal);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    color: white;
}

.btn-secondary {
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-6px); }
  50%  { transform: translateY(0); }
  70%  { transform: translateY(-3px); }
  100% { transform: translateY(0); }
}

.download-icon.animate {
  animation: bounce 0.8s ease;
}

/* Skills Section */
.skills-section {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    animation: fadeInRight 1s ease;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--text-primary), var(--accent-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.skill-category {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 16px;
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.skill-category:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid var(--accent-blue);
}

.skill-category h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-list {
    list-style: none;
}

.skill-item {
    margin-bottom: 1rem;
}

.skill-name {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.skill-level {
    height: 8px;
    background: rgba(203, 213, 225, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Education Section */
.education-section {
    margin-top: 4rem;
    animation: fadeInUp 1s ease;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.education-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.education-card.featured {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
}

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

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.institution-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.institution-logo i {
    font-size: 24px;
    color: var(--accent-blue);
}

.status-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-badge.ongoing {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
}

.status-badge.completed {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.card-body h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.institution {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.duration {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.education-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
}

.stat-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.specialization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.specialization-item {
    background: rgba(30, 41, 59, 0.3);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: var(--transition-normal);
}

.specialization-item:hover {
    transform: translateY(-2px);
    background: rgba(59, 130, 246, 0.1);
}

.specialization-item i {
    font-size: 1.5rem;
    color: var(--accent-blue);
    margin-bottom: 0.5rem;
}

.specialization-item span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.subjects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.subject-tag {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--text-secondary);
}

/* Timeline Section */
.timeline-section {
    margin-top: 4rem;
    animation: fadeInUp 1s ease;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.timeline-item {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.timeline-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue);
}

.timeline-date {
    color: var(--accent-blue);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.timeline-title {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Certifications Carousel */
.certifications-section {
    margin-top: 4rem;
}

.cert-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0;
}

.cert-track {
    display: flex;
    gap: 2rem;
    cursor: grab;
    transform: translateX(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    will-change: transform;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.cert-track.grabbing {
    cursor: grabbing;
    transition: none;
}

.cert-slide {
    flex: 0 0 calc(33.333% - 1.33rem);
    max-width: calc(33.333% - 1.33rem);
    position: relative;
    transition: transform 0.3s ease;
}

.cert-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--accent-blue);
}

.cert-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cert-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cert-card:hover .cert-overlay {
    opacity: 1;
}

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

.cert-view-btn {
    background: var(--accent-blue);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    transform: translateY(20px);
    opacity: 0;
}

.cert-card:hover .cert-view-btn {
    transform: translateY(0);
    opacity: 1;
}

.cert-view-btn:hover {
    background: var(--accent-purple);
    transform: translateY(-2px);
}

.cert-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cert-content h3 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.cert-meta {
    display: flex;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.cert-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cert-meta i {
    color: var(--accent-blue);
}

.cert-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cert-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.cert-skills span {
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.cert-skills span:hover {
    background: var(--accent-blue);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .cert-slide {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

@media (max-width: 640px) {
    .cert-slide {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .cert-image {
        height: 180px;
    }
    
    .cert-content {
        padding: 1.25rem;
    }
}

.cert-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.cert-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background-color: #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cert-dot:hover {
    background-color: #9ca3af;
}

.cert-dot.active {
    background-color: #3b82f6;
    transform: scale(1.2);
}

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

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

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

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 95vw;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }

    .cert-slide {
        min-width: calc(50% - 1rem);
    }
}

@media (max-width: 992px) {
    html {
        font-size: 95%;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

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

    .nav-links {
        display: none;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .profile-avatar {
        width: 200px;
        height: 200px;
    }
    
    .contact-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }

    .education-grid {
        grid-template-columns: 1fr;
    }

    .education-card.featured {
        grid-column: auto;
    }

    .education-stats {
        justify-content: center;
    }

    .specialization-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cert-slide {
        min-width: 100%;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 90%;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .profile-avatar {
        width: 180px;
        height: 180px;
    }
    
    .skills-section,
    .timeline-item {
        padding: 1.5rem;
    }

    .education-card {
        padding: 1.5rem;
    }

    .stat-circle {
        width: 56px;
        height: 56px;
    }

    .specialization-grid {
        grid-template-columns: 1fr;
    }

    .cert-card {
        padding: 1.5rem;
    }

    .cert-icon {
        width: 48px;
        height: 48px;
    }

    .cert-icon i {
        font-size: 24px;
    }

    .cert-dots {
        gap: 0.5rem;
    }
}

@media (hover: none) {
    .cert-carousel {
        cursor: default;
    }
}

/* Performance Optimizations */
* {
    backface-visibility: hidden;
}

.nav-container,
.background-animation {
    transform: translateZ(0);
    backface-visibility: hidden;
}

[class*="transition"] {
    transition-property: transform, background-color, border-color, box-shadow;
    will-change: transform;
}

[class*="shadow"] {
    will-change: box-shadow;
}

[class*="animate"] {
    will-change: transform, opacity;
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
    
    .shape {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--primary-bg);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.mobile-menu-blur-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    z-index: -1;
}

.mobile-nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1rem 2rem;
    display: block;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--accent-blue-light);
    transform: translateX(10px);
}

/* Navbar Scroll Effect */
.nav-container.scroll-down {
    transform: translateY(-100%);
}

.nav-container.scroll-up {
    transform: translateY(0);
}

/* Add carousel functionality */
@keyframes slideNext {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes slidePrev {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}