body {
    margin: 0;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: black;
    color: white;
}

header {
    margin-left: 60px;
    padding: 20px;
    text-align: left;
}

.header-title {
    font-size: 36px;
    color: white;
}

#home, #work, #services, #contact {
    padding: 40px 80px; /* Reduced padding to move content higher */
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* Align content to the top */
}

.name-title h1 {
    text-align: center;
    font-size: 100px;
    margin: 0;
    color: white;
}

.name-title h2 {
    font-size: 40px;
    margin: 10px 0;
    color: white;
    white-space: nowrap; /* Keeps the text on a single line */
    overflow: hidden; /* Hides the overflow of the text */
    display: inline-block;
    animation: scrollText 10s linear infinite; /* Adjust the duration for scrolling speed */
}

@keyframes scrollText {
    0% {
        transform: translateX(-110%); /* Start from outside the right of the container */
    }
    100% {
        transform: translateX(250%); /* Move to outside the left of the container */
    }
}

.profile-and-about {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    justify-content: space-between;
    width: 90%;
    margin-left: 60px;
    margin-top: 60px; /* Reduced margin to move content higher */
}

.profile-picture {
    width: 500px;
    height: 500px;
}

.about-me {
    margin-left: 60px;
    font-size: 30px;
    max-width: 600%;
    text-align: justify;
}

.my-skills {
    font-size: 30px;
    margin-left: 50px;
    margin-right: 50px;
    margin-top: 100px; /* Keeps the skills section appropriately spaced from the top */
    text-align: justify; /* Fixed text alignment to justify */
    margin-bottom: 250px; /* Increased margin to create space below */
}

.project {
    margin-left: 50px;
    margin-right: 50px;
    text-align: center;
    
}


.project img {
    max-width: 100%;
    height: auto;
    width: 100%;
    border-radius: 10px;
}

.view-project {
    position: relative; /* Necessary for positioning the pseudo-element */
    display: inline-block;
    border: 1px solid #ffffff; /* White border around the button */
    background: none; /* Transparent background */
    padding: 20px 40px; /* Padding for the button */
    font-size: 20px; /* Font size for the button text */
    cursor: pointer; /* Pointer cursor on hover */
    margin: 10px; /* Margin around the button */
    color: #ffffff; /* Text color */
    text-decoration: none; /* Remove underline from text */
    overflow: hidden; /* Hide the overflow of the expanding background */
    border-radius: 5px; /* Rounded corners */
    z-index: 1; /* Ensure the text stays above the pseudo-element */
    transition: color 0.3s; /* Smooth transition for text color */
}

.view-project::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Full width of the button */
    height: 0; /* Start with zero height */
    background: #ffffff; /* Background color for the hover effect */
    z-index: -1; /* Place background behind the button text */
    border-radius: 0 0 50% 50%; /* Rounded bottom effect */
    transition: height 0.5s ease; /* Smooth transition for expanding background */
}

.view-project:hover::before {
    height: 180%; /* Expands the height to cover the button */
}

.view-project:hover {
    color: #000000; /* Change text color on hover */
}

.services-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

.service {
    margin-left: 50px;
    margin-right: 50px;
    font-size: larger;
    flex: 1;
    padding: 20px;
    margin: 15px;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s ease, border 0.3s ease; /* Added border transition */
    border: 2px solid transparent; /* Initial border to maintain layout */
    margin-bottom: 500px;
}

.service:hover {
    transform: scale(1.1);
    border: 2px solid #ffffff;
}

.tech-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* Space between the icons */
}

.tech-icon {
    font-size: 40px; /* Adjust size as needed */
    transition: transform 0.3s ease, color 0.3s ease;
    color: white; /* Initial color */
}

.tech-icon:hover {
    transform: scale(1.2); /* Enlarge the icon slightly on hover */
    color: #ff5722; /* Example color for HTML */
}

.tech-icon:nth-child(2):hover {
    color: #2965f1; /* Example color for CSS */
}

.tech-icon2 {
    font-size: 40px; /* Adjust size as needed */
    transition: transform 0.3s ease, color 0.3s ease;
    color: white; /* Initial color */
}

.tech-icon2:hover {
    transform: scale(1.2);
    color: #a259ff; /* Example color for Figma */
}

.tech-icon3 {
    font-size: 40px; /* Adjust size as needed */
    transition: transform 0.3s ease, color 0.3s ease;
    color: white; /* Initial color */
}

.tech-icon3:hover {
    transform: scale(1.2);
    color: #53f060; /* Example color for Figma */
}

#contact p {
    text-align: center;
}
.contact-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.contact-icon {
    color: white;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Individual hover effects with different colors */
.contact-icon:nth-child(1):hover {
    color: #921df2; /* Light Blue for the first icon */
    transform: scale(1.2) rotate(10deg); /* Scale and rotate effect */
}

.contact-icon:nth-child(2):hover {
    color: #0051ff; /* Blue for LinkedIn (e.g., LinkedIn color) */
    transform: scale(1.2) rotate(10deg); /* Scale and rotate effect */
}

.contact-icon:nth-child(3):hover {
    color: #53f060; /* Dark Gray for GitHub */
    transform: scale(1.2) rotate(10deg); /* Scale and rotate effect */
}

.contact-icon:nth-child(4):hover {
    color: #e4405f; /* Pinkish Red for Instagram */
    transform: scale(1.2) rotate(10deg); /* Scale and rotate effect */
}



.parallax {
    background-size: cover; /* Ensure the background image covers the entire container */
    background-attachment: fixed; /* Keeps the background fixed during scrolling */
    background-position: center; /* Center the background image */
    transition: transform 0.75s ease-out, filter 0.75s ease-out; /* Smoother transition */
    filter: brightness(90%); /* Adjust brightness for a better visual effect */
}

/* Apply to specific sections */
#home, #work, #services, #contact {
    min-height: 120vh; /* Increase height for a more pronounced effect */
    overflow: hidden; /* Prevent scrolling issues */
}

/* Apply to specific sections */
#home {
    background-image: url('path-to-your-image.jpg'); /* Replace with your background image */
}

/* If you have other sections with different images */
#work {
    background-image: url('path-to-your-work-image.jpg');
}

#services {
    background-image: url('path-to-your-services-image.jpg');
}

#contact {
    background-image: url('path-to-your-contact-image.jpg');
}



