header {
    background-color: #6ba1ff; /* Darker shade of blue for the header */
    padding: 25px 20px; /* Adjusted padding for better balance */
    display: flex; /* Use flexbox for header layout */
    align-items: center; /* Center items vertically */
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    justify-content: space-between; /* Space between items */
} 

.header-icon {
    width: 40px;  /* Initial size */
    height: 40px; /* Initial size */
    object-fit: contain; /* Maintain aspect ratio */
    margin-right: 20px;
    transform: scale(1.5); /* Increase the size of the icon */
    transform-origin: center; /* Ensures scaling happens from the center */
}


main {
    margin-top: 38px; /* Space for the header */
    padding-top: 60px; /* Space for the header */
    display: flex;
    flex-direction: column; /* Stack all sections vertically */
    align-items: center; /* Center align all sections */
}

nav ul {
    display: flex; /* Align nav items in a row */
    gap: 15px; /* Space between nav items */
    list-style: none; /* Remove bullet points */
    padding: 0; /* Remove padding */
    margin: 0; /* Remove margin */
}

nav {
    margin-left: auto; /* Push nav to the right */
    padding-right: 40px; /* Add padding on the right side for spacing */
}

nav ul li a {
    color: #fff; /* Link color */
    text-decoration: none; /* Remove underline */
    font-size: 1rem; /* Link font size */
}

nav ul li a.active {
    font-weight: bold;
    color: #0056b3; /* Optional color to highlight the active link */
}

body {
    background-color: #ffffff; /* Set background to white */
    color: #333; /* Dark gray text */
    font-family: 'Poppins', Arial, sans-serif; /* Updated font */
    padding: 0;
    margin: 0;
}

h1 {
    color: #0056b3; /* Header title color */
    margin: 0; /* Remove margin */
    font-size: 2.0rem; /* Adjust heading size as needed */
}

.name {
    color: #0056b3;
}


/* Skills Section */
.skills-section h2 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 10px;
    text-align: center;
}

.skill-icon {
    width: calc(50% - 10px); /* Two icons per row with some margin */
    height: 100px;
    object-fit: contain;
    border: 2px solid #b0c4de;
    margin: 5px; /* Add margin around each icon */
}


/* Icon styles for skill items */
.skill-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    border: 2px solid #b0c4de;
    padding: 5px; /* Reduce padding */
    border-radius: 8px;
    margin: 0; /* Ensure there's no margin */
}


.content {
    display: flex;
    align-items: flex-start; /* Align text with the top of the image */
    padding-top: 120px; /* Ensure it stays below the header */
}

.image-section {
    margin-left: 1.5cm; /* Position image 1.5 cm from the left */
}

.profile-image {
    width: 400px; /* Set the image width */
    height: 650px; /* Set the image height */
    border-radius: 10%;
    object-fit: cover;
    transition: opacity 1s ease-in-out, transform 0.3s ease, filter 0.3s ease; /* Smooth transitions */
    opacity: 1;
}

.text-section {
    max-width: calc(100% - 1.5cm); /* Set width to allow the text to flow across the section */
    margin-left: 1.5cm; /* Align with the image on the left */
    line-height: 1.6; /* Adjust line spacing for readability */
}



/* Hover effect with noticeable brightness and slight grayscale */
.profile-image:hover {
    filter: brightness(1.3) grayscale(0.3); /* Increase brightness and add slight grayscale */
    transform: scale(1.05); /* Slight zoom-in effect */
}

.social-links {
    display: flex; /* Align icons in a row */
    justify-content: flex-start; /* Align icons to the left */
    margin-top: 1cm; /* Space above the icons */
    gap: 20px; /* Space between icons */
}

.social-icon {
    width: 30px; /* Size of the social icons */
    height: auto; /* Maintain aspect ratio */
    transition: transform 0.3s ease, filter 0.3s ease; /* Adds both zoom and color transition */
}

.social-icon:hover {
    filter: brightness(1.3) grayscale(0.3); /* Increase brightness and add slight grayscale */
    transform: scale(1.05); /* Slight zoom-in effect */
}

.button-group {
    display: flex;
    gap: 5px; /* 0.5 cm gap between buttons */
    margin-top: 1cm; /* Space above the buttons */
}

.cv-download-button, .chat-button {
    background-color: #6ba1ff; /* Button color */
    color: white; /* Text color */
    padding: 10px 20px; /* Button padding */
    border: none; /* No border */
    border-radius: 25px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    margin-top: -3px;
}

.cv-download-button:hover, .chat-button:hover, .contact-section form button:hover {
    background-color: #0056b3; /* #0c97ce Lighter blue on hover */
}

.skill-icon:hover {
    filter: brightness(1.3) grayscale(0.3); /* Increase brightness and add slight grayscale */
    transform: scale(1.05); /* Slight zoom-in effect */
}

.about-me-section, .projects-section, .testimonials-section, .contact-section, .cv-section {
    margin-top: 70px; /* Space above the section */
    padding: 20px; /* Padding for content inside */
    background-color: #f9f9f9; /* Light background color */
    border-radius: 8px; /* Rounded corners */
    width: 100%; /* Full width */
}

.about-me-section h2, .projects-section h2, .testimonials-section h2, .contact-section h2, .cv-section h2 {
    font-size: 1.5rem;
    color: #6ba1ff; /* Match with the site theme color */
    margin-bottom: 10px;
}

/* Contact Form Styling */
.contact-section {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 120px; /* Adjust this value as needed */
}

.contact-section h2 {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 600;
    color: #6ba1ff;
}

.contact-section p {
    text-align: center;
    margin-bottom: 20px;
    color: #555;
}

.contact-section form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-section form label {
    font-weight: 400;
}

.contact-section form input, .contact-section form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
}

.contact-section form textarea {
    resize: vertical; /* Allow vertical resizing of textarea */
}

.contact-section form button {
    width: fit-content;
    align-self: center; /* Center the button */
    background-color: #6ba1ff; /* Button color #1e90ff*/
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
}


.skills-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 10px; /* Reduce padding for closer alignment */
    margin-left: 0cm; /* Fine-tune to align with "Hello, I'm Taslima" */
}

/* Skills Grid */
.skills-grid {
    display: flex;
    gap: 10px; /* Adjust the gap between icons */
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap; /* Ensures icons stay in one line */
}

/* Ensure the skills section is always below the profile section */
.profile-section {
    display: flex;
    flex-direction: column; /* Align profile and text vertically */
    align-items: center; /* Center align content */
}

/* This is the class for the thank you message */
#thank-you-message {
    display: block; /* Ensures the message is visible */
    background-color: #6ba1ff;
    padding: 20px;
    margin-top: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
}

#thank-you-message p {
    color: #fff;
}

/* Styles for the 'Send another message' link */
#thank-you-message a {
    color: #fff; /* Link color */
    text-decoration: none; /* Removes underline */
    margin-top: 10px;
    display: inline-block;
}

/* Optional: Style for links within the thank-you message (if any) */
#thank-you-message a:hover {
    color: #0056b3; /* Changes link color on hover */
}


/* Adjust for smaller screens */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr 1fr; /* Two columns on medium screens */
    }
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}