body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

section {
    flex: 1;
}

.container {
    max-width: 1000px !important;
}

:root {
    --bs-primary: #ff014f;
    --bs-primary-rgb: 255, 1, 79;
}

.btn-primary {
    background-color: #ff014f;
    border-color: #ff014f;
}

.btn-primary:hover {
    background-color: #d4013f;
    border-color: #d4013f;
}

.text-primary {
    color: #ff014f !important;
}

html {
    scroll-behavior: smooth;
}

.nav-link.active {
    color: #ff014f !important;
}

.nav-link:hover {
    color: #ff014f !important;
}

.skill-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 2px solid #ff014f;
    background-color: #fff5f8;
    color: #ff014f;
}

.project-image-container {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    height: 200px;
}

.project-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.no-image-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.default-project-icon {
    color: white;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.language-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: calc(100% - 20px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.language-badge-inline {
    background: rgba(255, 1, 79, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff014f;
    border: 1px solid rgba(255, 1, 79, 0.3);
    white-space: nowrap;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
}

.project-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card .card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    min-height: 1.3em;
}

.project-card .card-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    min-height: 4.5em;
    max-height: 4.5em;
}

.filter-btn.active {
    background-color: #ff014f;
    color: white;
    border-color: #ff014f;
}

.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.gradient-text {
    background: linear-gradient(135deg, #ff014f 0%, #ff6b9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.profile-image {
    max-width: 400px;
    width: 100%;
}

@media (max-width: 992px) {
    .profile-image {
        max-width: 250px;
        margin: 0 auto;
        display: block;
    }
}

.readme-content {
    line-height: 1.6;
}

.readme-content h1,
.readme-content h2,
.readme-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.readme-content h1 {
    font-size: 1.75rem;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.readme-content h2 {
    font-size: 1.5rem;
}

.readme-content h3 {
    font-size: 1.25rem;
}

.readme-content p {
    margin-bottom: 1rem;
}

.readme-content code {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

.readme-content pre {
    background-color: rgba(0, 0, 0, 0.05);
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

.readme-content img {
    max-width: 100%;
    height: auto;
}

.readme-content ul,
.readme-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}