/* Section */
.projects-section {
    padding: 80px 10%;
    background: #0f172a;
    color: #fff;
}

/* Title */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: bold;
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* Card */
.project-card {
    background: #1e293b;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Image */
.project-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Content */
.project-content {
    padding: 20px;
}

.project-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.project-content p {
    font-size: 0.95rem;
    color: #cbd5f5;
    margin-bottom: 20px;
}

/* Buttons */
.project-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.3s;
}

/* Live Button */
.btn.live {
    background: #3b82f6;
    color: white;
}

.btn.live:hover {
    background: #2563eb;
}

/* Code Button */
.btn.code {
    border: 1px solid #3b82f6;
    color: #3b82f6;
}

.btn.code:hover {
    background: #3b82f6;
    color: white;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-section {
        padding: 50px 5%;
    }
}
html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px;
}