/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #3A3F44;
    color: #fff;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

section {
    padding: 5rem 1rem;
    min-height: 50vh;
    box-sizing: border-box;
}

/* Home Section */
#home {
    background: linear-gradient(to right, #4A90E2, #357ABD);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
    color: white;
}


#home .content {
    display: flex;
    flex-wrap: wrap; /* Ensure the items wrap in smaller screens */
    justify-content: center;
    align-items: center;
}

#home .image-box {
    flex: 1; /* Ensure the image and text take up appropriate space */
    max-width: 1000px; /* Control the image size */
}

#home .text-container {
    flex: 2;
}

.profile-image {
    width: 100%; /* Ensure the image scales properly */
    height: auto;
    border: 5px solid #005A9E; /* Solid border with blue color */ /* Makes the image circular */
    padding: 5px; /* Optional: space between the image and the border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    #home .content {
        flex-direction: column; /* Stack image and text vertically on smaller screens */
    }
    #home .image-box {
        margin-bottom: 20px;
    }
}


/* About Section */
#about {
    background: linear-gradient(to right, #5A9FEE, #4887D6); /* Lighter Blue Gradient */
    color: white;
    text-align: center;
}

/* Skills Section */
#skills {
    background: linear-gradient(to right, #6AAEF9, #5795E2); /* Slightly Darker Blue Gradient */
    color: white;
    text-align: center;
}

.skill-item {
    display: flex;
    align-items: center; /* Align items vertically centered */
    justify-content: center;
    margin: 20px 0;
    padding: 10px 20px; /* Adjust padding as needed */
    background-color: #fff; /* Button background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* Elevation effect */
    transition: transform 0.2s, box-shadow 0.2s; /* Smooth transitions */
    cursor: pointer; /* Pointer cursor */
}

.skill-item:hover {
    transform: translateY(-5px); /* Elevate on hover */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2); /* Darker shadow on hover */
}

.skill-logo {
    width: 40px; /* Adjust as necessary */
    height: auto;
    margin-right: 10px; /* Space between logo and text */
}

.skill-item span {
    font-size: 1.2rem;
    color: rgb(0, 3, 59);
}




/* Education Section */
#education {
    background: linear-gradient(to right, #74B7F6, #5F9DD9); /* Light Blue Gradient */
    color: white;
    text-align: center;
}

/* Web Profiles Section */
#web-profiles {
    background: linear-gradient(to right, #8ACDFD, #77B5E6); /* Bright Blue Gradient */
    color: white;
    text-align: center;
}
.web-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
}

.profile-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%; /* Optional */
    transition: transform 0.3s;
}

.web-profile a {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    color: #333;
}

.web-profile a:hover .profile-icon {
    transform: scale(1.1);
}

.web-profile a:hover span {
    color: #357ABD;
}


.web-icons a {
    font-size: 1.5rem;
    margin: 0 15px;
    color: #333;
    text-decoration: none;
}

.web-icons a:hover {
    color: #357ABD;
}

/* Portfolio Section */
#portfolio {
    background: linear-gradient(to right, #9BD4FB, #82BAE0); /* Subtle Blue Gradient */
    color: white;
    text-align: center;
}
.portfolio-description{
    text-align: left;
}
.portfolio-item {
    background-color: #DDD;
    margin: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

.img-fluid {
    width: 100%; /* Ensures responsiveness */
    height: auto; /* Maintains aspect ratio */
    max-height: 200px; /* Set a maximum height */
    object-fit: contain; /* Ensures the entire image is visible */
    border-radius: 8px; /* Optional: for rounded corners */
}
#portfolio h3{
    color: black;
}



/* Contact Section */
#contact {
    background: linear-gradient(to right, #A3E1FE, #8FC8E4); /* Very Light Blue Gradient */
    color: white;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    #home {
        flex-direction: column;
        text-align: center;
    }

    .image-box {
        margin-top: 1rem;
    }
}
