/* General Styles */
body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

.container {
    max-width: 960px;
    margin: auto;
    overflow: hidden;
    padding: 2rem 1.5rem;
}

h1, h2, h3 {
    font-weight: 700;
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
    border-bottom: 3px solid #007BFF;
    padding-bottom: 10px;
    display: inline-block;
}

section {
    background-color: #fff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Header & Hero Section */
.hero {
    background-color: #007BFF;
    color: #fff;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero .hero-description {
    max-width: 600px;
    margin: 0 auto 2rem auto;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background: #007BFF;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    border: 2px solid #007BFF;
    font-weight: 700;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
}

.hero .btn-secondary {
    border: 2px solid #fff;
}

.hero .btn-secondary:hover {
    background-color: #fff;
    color: #007BFF;
}

/* Sections */
#about p, #skills ul, #contact ul {
    font-size: 1.1rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    background: #e9ecef;
    padding: 10px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    border-left: 5px solid #007BFF;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.project-card {
    background: #fdfdfd;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.project-card h3 {
    margin-top: 0;
    color: #007BFF;
}

.project-links {
    margin-top: 1rem;
}

.project-links .btn-secondary {
    color: #007BFF;
    border-color: #007BFF;
}

.project-links .btn-secondary:hover {
    background-color: #007BFF;
    color: #fff;
}


/* Contact */
#contact ul {
    list-style: none;
    padding: 0;
}
#contact li {
    margin-bottom: 1rem;
}
#contact a {
    color: #007BFF;
    text-decoration: none;
}
#contact a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #333;
    color: #fff;
}

/* Responsive Design */
@media(min-width: 768px) {
    .skills-grid, .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}