/* Basic Reset */
body, html {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #eaeaea;
    font-size: 14px;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #333;
    color: #fff;
    padding-top: 30px;
    min-height: 70px;
    border-bottom: #0779e4 solid 5px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    display: inline;
    font-size: 16px;
}

header li {
    float: left;
    display: inline;
    padding: 0 20px 0 20px;
}

header nav {
    float: right;
    margin-top: 10px;
}

header .header-content {
    /* display: flex; */
    justify-content: space-between;
    align-items: center;
    /* align-items: flex-start; */
    /* display: inline; */
    /* display: flex; */
   text-align: start; 
  /* text-align: unset;
  margin-inline-start: auto; */
}

.grid-2x2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
}

.category {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px; /* Shaped box */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.project-info {
    background: transparent;
    padding: 10px;
    border: none;
    box-shadow: none;
}

.project-info:hover {
    background: rgba(255, 255, 255, 0.1);
}

a {
    color: #0779e4;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.profile-pic {
    border-radius: 50%;
    height: 200px;
    width: 200px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px; /* Space between the header and the content */
}

button {
    padding: 8px 16px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #0056b3;
}

.project-popup {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 600px;
    background-color: white;
    padding: 20px;
    border: 1px solid #ccc;
    flex-direction: column;
    z-index: 1000;
    overflow: hidden;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 5px 10px;
    font-size: 1.1em;
    background-color: #ff4d4d;
    color: white;
    border: none;
    cursor: pointer;
}

.close-btn:hover {
    background-color: #cc0000;
}

.image-container {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    color: rgb(109, 43, 171);
    border: 1px solid rgba(0, 0, 0, 0.1); /* Light border */
    border-radius: 8px; /* Rounded corners */
    padding: 10px; /* Add padding for better spacing */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Light box shadow */
}

.image-container img {
    height: 300px;
    width: auto;
    flex-shrink: 0;
    border-radius: 8px; /* Rounded corners */
    padding: 10px; /* Add padding for better spacing */
    box-shadow: 0 0 5px orange; /* Light box shadow */
}

.project-images {
    display: flex;
    overflow-x: auto; /* Enables horizontal scrolling */
    gap: 10px; /* Space between images */
}

.project-images img {
    flex: 0 0 auto; /* Ensures images don’t shrink or grow */
    max-height: 200px; /* Limits image height */
    border-radius: 5px;
}

.about, .contact {
    padding: 20px 0;
}

footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Hover effect for the entire page */
body:hover {
    background-color: #f0f0f0;
}

/* Hover effect for links */
a:hover {
    text-decoration: underline;
}

/* Certifications Section */
.certification-container {
    padding: 10px;
    max-width: 75%;
    max-width: 800px;
    margin: 0 auto;
}

.certification-list {
    list-style-type: none;
    padding: 0;
}

.certification-item {
    background: #ffffff;
    padding: 5px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.certification-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.certification-item h3 {
    margin-top: 0;
}

.certification-item p {
    margin: 0;
}

.certification-item button {
    padding: 5px 5px;
    font-size: 14px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.certification-item button:hover {
    background-color: #0056b3;
}

/* Notable Achievements Section */
.achievement-container {
    max-width: 92%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px;
}

.achievement-list {
    list-style-type: disc;
    padding-left: 20px;
}

.achievement-item {
    background: #ffffff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.achievement-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}


/* Certifications Section */
.certification-container {
    padding: 20px;
    max-width: 80%;
    margin: 0 auto;
}

.certification-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 20px; /* Space between items */
    list-style-type: none;
    padding: 0;
}

.certification-item {
    background: #ffffff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center; /* Center-align the content */
}

.certification-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.certification-item h3 {
    margin-top: 0;
    font-size: 16px; /* Adjust font size for better fit */
}

.certification-item p {
    margin: 5px 0;
    font-size: 14px; /* Adjust font size for better fit */
}

.certification-item button {
    padding: 5px 10px;
    font-size: 14px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.certification-item button:hover {
    background-color: #0056b3;
}

.about-text {
    font-family: Arial, sans-serif; /* Change font style here */
    font-size: 16px; /* Increase font size */
   font-weight: bold;
}





/* Basic Reset */
body, html {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: #eaeaea;
    font-size: 14px;
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

header {
    background: #333;
    color: #fff;
    padding: 20px 0; /* Adjust padding for better visibility */
    min-height: 70px;
    border-bottom: #0779e4 solid 5px;
    text-align: center; /* Center align the header content */
}

header h1 {
    margin: 0; /* Remove default margin */
    font-size: 2em; /* Adjust font size for better visibility */
}

header nav {
    margin-top: 10px;
}

header ul {
    list-style: none;
    padding: 0;
}

header ul li {
    display: inline;
    padding: 0 20px;
}

header a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
}

header a:hover {
    color: #0779e4;
}



/* Technical Skills Section */
.technical-skills-container {
    background: #fff;
    padding: 5px; /* Reduced padding */
    margin-top: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-height: 200px; /* Set max-height to a quarter of its original height */
    overflow-y: auto; /* Allow vertical scrolling if content exceeds max-height */
}

.skill-block {
    margin-bottom: 10px; /* Reduced margin between blocks */
    margin-top: 0;
}

.skill-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px; /* Reduced margin between items */
}

.skill-name {
    flex: 1;
    padding-right: 5px;
    text-align: left;
}

.skill-bar-container {
    flex: 2;
    display: flex;
    align-items: center;
}

.skill-bar {
    height: 8px;  /* Reduced height for thinner lines */
    border-radius: 5px;
    background-color: #1f77b4;
}

.skill-level {
    width: 20px;
    text-align: right;
    padding-left: 10px;
}

.about-h2 h2  {
    /* text-align: left;  */
    margin-top: 0; /* Remove default margin */
    font-size: 22px; /* Adjust font size for better visibility */
    padding: 20px 0; /* Add padding for spacing */
    margin-left: 140px;
    margin-bottom: 0;
    font-weight: lighter;
    font-weight: initial;
}

.about p {
    font-size: 15px;
    font-weight: lighter;
    font-style: unset;
   
}

.about li {
    font-size: 14px;
    font-weight: lighter;
   font-style: unset;
   
}

.about h4 {
    font-size: 15px;
    font-weight: lighter;
   font-style: unset;
   
}

.technical-skills h3 {
    font-size: 20px;
    font-style: bold;
   
}


.education-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.education-header {
    text-align: left;
    margin-bottom: 20px;
}

.education-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.education-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.education-logo {
    max-width: 100px;
    margin-right: 20px;
}

.education-details {
    flex-grow: 1;
}

.education-details h3 {
    margin: 0 0 0;
    font-weight: bold;
}

.education-details .degree,
.education-details .gpa,
.education-details .year {
    font-weight: normal;
}

.education-details p {
    margin: 5px 0;
}

.education-details ul {
    list-style-type: disc;
    margin: 5px 0 5px 5px;
    padding: 0;
}

.education-details a {
    color: #007BFF;
    text-decoration: none;
}

.education-details a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        margin: 5px 0;
        width: 100%;
    }

    nav ul li a {
        display: block;
        width: 100%;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    nav ul li {
        margin: 3px 0;
    }

    nav ul li a {
        padding: 5px;
    }

    .education-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .education-logo {
        margin-bottom: 10px;
    }

    .education-details {
        text-align: left;
        align-items: center;
    }
}


