body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

.navbar {
    background: #1f2937;
    padding: 15px 0;
}

.navbar-brand, .nav-link {
    color: white !important;
    transition: color 0.3s ease;
}

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

.navbar-toggler {
    border-color: white;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.hero {
    position: relative;
    background: linear-gradient(135deg, #6b7280, #1f2937);
    color: white;
    padding: 100px 0;
    text-align: center;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.section-title {
    margin-bottom: 40px;
    position: relative;
}

.section-title::after {
    content: '';
    width: 50px;
    height: 4px;
    background: #1f2937;
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.progress-bar {
    transition: width 1s ease-in-out;
}

/* Portfolio Section Styles */
#portfolio {
    background: #f8f9fa url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(107, 114, 128, 0.2)"/></svg>') repeat;
    padding-bottom: 20px;
}

.portfolio-row {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding: 0 10px;
    -webkit-overflow-scrolling: touch;
}

.portfolio-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    margin: 0;
    width: 300px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

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

.portfolio-item h5 {
    margin-top: 15px;
    font-weight: 700;
    color: #1f2937;
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.portfolio-item:hover h5 {
    color: #6b7280;
}

.portfolio-item p {
    color: #4b5563;
    font-size: 0.9rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.portfolio-item .tech-tag {
    display: inline-block;
    background: #e5e7eb;
    color: #1f2937;
    font-size: 0.8rem;
    padding: 5px 10px;
    border-radius: 12px;
    margin-top: 5px;
}

/* Contact Section Styles */
#contact {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.contact-form {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control {
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #d1d5db;
    padding: 12px;
    transition: border-color 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: #6b7280;
    box-shadow: 0 0 5px rgba(107, 114, 128, 0.3);
}

.contact-form button {
    background: #1f2937;
    border: none;
    border-radius: 5px;
    padding: 12px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.contact-form button:hover {
    background: #6b7280;
    transform: scale(1.05);
}

footer {
    background: #1f2937;
    color: white;
    padding: 20px 0;
    text-align: center;
} 