body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding-top: 50px;
}

header {
    text-align: center;
    padding-bottom: 50px;
    background: #343a40;
    color: #fff;
    padding: 40px 0;
    border-radius: 8px;
}

header h1 {
    font-size: 3em;
    margin: 0;
    color: #f8f9fa;
}

header p {
    font-size: 1.2em;
    color: #adb5bd;
}

.section {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.section h2 {
    margin-top: 0;
    color: #495057;
    font-weight: 700;
}

.skills-grid, .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.skill-item, .project-item {
    background: #f1f3f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-item:hover, .project-item:hover {
    transform: translateY(-5px);
}

.contact-buttons .btn {
    background: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    margin: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease;
}

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

.contact-info {
    text-align: center;
    padding-top: 40px;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    border-bottom: 1px dashed #007bff;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.contact-info a:hover {
    color: #0056b3;
    border-bottom-color: #0056b3;
}

.timeline {
    position: relative;
    padding: 20px 0;
    border-left: 3px solid #007bff;
}

.timeline-item {
    position: relative;
    padding-left: 20px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
}

.project-image {
    display: block;
    margin: 20px auto;
    max-width: 100%;
    width: 80%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2em;
    }
    header p {
        font-size: 1em;
    }
}

/* Button Styling for All Links */
a.btn, a {
    display: inline-block;
    padding: 10px 20px;
    margin: 10px;
    font-size: 1em;
    text-align: center;
    text-decoration: none;
    color: #ffffff;
    background-color: #007bff;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

a.btn:hover, a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

a.btn:active, a:active {
    transform: translateY(0);
    background-color: #004080;
}

.contact-buttons .btn, .projects-grid a.btn {
    color: #ffffff;
    background-color: #007bff;
}

.contact-buttons .btn:hover, .projects-grid a.btn:hover {
    background-color: #0056b3;
}

.contact-info a {
    color: #ffffff;
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-info a:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}
