/* Reset and general styles */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #2b2b2b;
    color: #d1d1d1;
    line-height: 1.6;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    color: #0056b3;
}

/* Header styles */
header {
    background-color: red;
    color: #d1d1d1;
    padding: 2rem 0;
    text-align: center;
    position: relative;
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

header p {
    margin: 0.5rem 0 0;
    font-size: 1.2rem;
}

.profile-pic {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 95px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    filter: grayscale(100%);
    transition: filter 0.3s ease-in-out;
}

.profile-pic:hover {
    filter: grayscale(0%);
}

.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Navigation styles */
nav {
    display: flex;
    justify-content: center;
    background-color: #333;
    flex-wrap: wrap;
}

nav a {
    color: #d1d1d1;
    padding: 1rem 2rem;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

nav a:hover {
    background-color: #444;
}

nav img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Main content container */
.container {
    width: 80%;
    margin: 2rem auto;
    max-width: 1200px;
}

/* Section styles */
.bio,
.portfolio,
.blog,
.contact,
.certificates,
.experience {
    background-color: #1c1c1c;
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.bio h2,
.portfolio h2,
.blog h2,
.contact h2,
.certificates h2,
.experience h2 {
    color: #fff;
    font-size: 1.8rem;
    border-bottom: 2px solid #007bff;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

/* Certificate and experience item styles */
.certificate,
.experience-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.certificate img,
.experience-item img {
    width: 200px;
    height: 120px;
    margin-right: 1rem;
    border-radius: 8px;
}

.experience-item img {
    width: 300px;
    height: 300px;
}

/* Contact icons section */
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    border-radius: 50%;
    color: #d1d1d1;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
}

.contact-icons a:hover {
    background-color: #0f0e0e;
}

.contact-icons img {
    width: 20px;
    height: 20px;
}

/* Visit button */
.notebook {
    text-align: center; /* Center align content */
    margin: 20px; /* Add margin for spacing */
    padding: 20px; /* Add padding for spacing */
    background-color: #f0f0f0; /* Light background color */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Shadow for depth */
}

.notebook img {
    max-width: 100%; /* Ensure image doesn't exceed container */
    border-radius: 8px; /* Rounded corners for image */
    margin-bottom: 10px; /* Margin below image */
}

.notebook h3 {
    font-size: 1.5rem; /* Heading font size */
    margin-bottom: 8px; /* Margin below heading */
}

.notebook p {
    font-size: 1rem; /* Paragraph font size */
    color: #666; /* Light text color */
    margin-bottom: 16px; /* Margin below paragraph */
}

/* Styles for .visit-button */
.visit-button {
    display: inline-block; /* Display as inline-block for button behavior */
    background-color: #4da1ff; /* Sky blue background */
    color: white; /* Text color */
    padding: 10px 20px; /* Padding for button */
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Cursor style */
    transition: background-color 0.3s ease; /* Smooth transition effect */
}

.visit-button:hover {
    background-color: #66b3ff; /* Lighter sky blue on hover */
}
/* Footer styles */
footer {
    background-color: #1c1c1c;
    color: #d1d1d1;
    text-align: center;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    bottom: 0;
}

footer p {
    margin: 0;
}

footer p span {
    font-size: 1.2rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    nav a {
        padding: 1rem;
        font-size: 0.9rem;
    }

    .profile-pic {
        position: static;
        margin: 0 auto 1rem;
        width: 80px;
        height: 100px;
    }

    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    .certificate,
    .experience-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .certificate img,
    .experience-item img {
        margin: 0 0 1rem 0;
        width: 100%;
        height: auto;
    }
}
