/* headers*/
h2,
h1 {
    color: rgb(173, 173, 255);
    text-align: center;
    /* font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
    font-family: "Poppins", sans-serif;
    font-size: 40px;
    margin: 10px;
}
/* header */
#header {
    padding: 0px 20px;
    text-align: center;
}

.greeting {
    font-family: 'Poppins', cursive, sans-serif;
    font-size: 2.5em;
    color: darkslateblue;
    margin: 0;
    line-height: 1.2;
}

.emoji {
    display: inline-block;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Pulse animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* pic and bio*/
.picAndBio {
    display: flex; 
    flex-direction: column;  /* stacks the image and text vertically */
    align-items: center; /* centers the content */
    padding: 30px 20px; 
    max-width: 800px;  /* maximum width for the bio section */
    margin: auto; /* centers the content */
    text-align: center; 
}

.bio-pic {
    width: 150px; /* size of the profile picture */
    height: 150px; 
    object-fit: cover; /* ensures the image covers the area without distortion */
    border-radius: 50%; /* makes the image circular */
    margin-bottom: 20px; /* space between image and text */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.bio-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1em;
    color: #333;
    line-height: 1.6; /* improves readability */
    max-width: 600px; /* limits the width of the text for better readability */
    cursor: default; /* default cursor for text */
    letter-spacing: 0.5px; /* slight spacing between letters */
    display: flex;
}


/* icons for bio */
i {
    cursor: pointer;
    font-size: 50px;
    justify-content: space-between;
    padding-left: 30px;
}

/* menu content*/
#menuContent {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    bottom: 0;
    right: 0;

}


/*paragraph*/
p {
    font-size: large;
    /*font-family: Arial, sans-serif;*/
    font-family: "Poppins", sans-serif;
    text-align: center;

}

/*image*/
img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.photo2 {
    margin-left: auto;
    margin-right: 30px;
    padding-top: 30px;
}

/* personal info*/
div {
    text-align: center;
    /*font-family: Arial, sans-serif;*/
    font-family: "Poppins", sans-serif;

}

li {
    font-family: "Poppins", sans-serif;
}

/*skills */
.skillList {
    list-style-type: square;
    padding: 0px;
    font-size: large;
    text-align: center;
}
.badge-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.badge {
    display: flex;
    align-items: center;
    background: #f1f1f1;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 16px;
    gap: 8px;
    box-shadow: 0 0 0 transparent; /* no shadow by default */
    transition: 
        transform 0.2s ease, /* smooth scaling */
        box-shadow 0.3s ease; /* smooth shadow transition */
    cursor: default; /* default cursor */
    /* ensures that the badges are 5 per row on larger screens */
    flex: 1 1 calc(20% - 10px); /* flexible width with gap adjustment */
    max-width: 180px; /* maximum width for each badge */
    color: #333; /* text color */

}
.badge:hover {
    transform: scale(1.05); /* slightly enlarge on hover (105%) */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* add shadow on hover */
}

/* education */
#education {
    max-width: 700px;
    margin: auto;
    padding: 40px 20px;
    font-family: 'Segoe UI', sans-serif;
}

#education h2 {
    font-size: 5em;
    color: #333;
    border-bottom: 2px solid coral;
    padding-bottom: 10px;
    margin-bottom: 30px;
}


/*lists*/
ul {
    list-style-type: none;
}

/*links*/
a {
    font-weight: bold;
    text-decoration: none;
    color: purple;

}

/*underlining*/
span {
    text-decoration: underline;
}

/*footer*/
footer {
    text-align: center;
    bottom: 0px;
    width: 100%;
    height: 20px;
    color: rgb(83, 83, 212);
    font-size: large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

/* projects section */
.projects-section {
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    color: #230065;
    margin-bottom: 40px;
}

/* Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    /* ensures 3 cards per row on larger screens */
    justify-items: center;
    /* center the cards */
    max-width: 1200px;
    margin: auto;
}

/* Text Card Style */
.project-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Project Info */
.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: #222;
}

.project-info p {
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: #555;
}

.tech-stack {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 12px;
}

/* Links */
.project-links a {
    display: inline-block;
    margin-right: 10px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.9rem;
    text-decoration: none;
    background: #0d8865;
    color: #fff;
    transition: background 0.3s ease;
}

.project-links a:hover {
    background: #005fcc;
}




/*-- Experience Section Styles --*/
/* This section styles the experience cards, including layout, colors, and typography */
/* It ensures a clean and modern look for the experience section of the portfolio */
/* It uses flexbox for responsive design and hover effects for interactivity */
#experience {
    font-family: 'Segoe UI', sans-serif;
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
}

#experience h2 {
    text-align: center;
    margin-bottom: 40px;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.experience-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 600px;
    padding: 20px;
    transition: transform 0.2s;
}

.experience-card:hover {
    transform: translateY(-5px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.company-logo {
    background-color: #3B82F6;
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.9em;
}

.experience-card h3 {
    margin: 0;
    font-size: 1.1em;
}

.date-location {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.experience-card ul {
    padding-left: 20px;
    margin: 0;
}

.experience-card li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.experience-card ul {
    list-style-type: disc;
    /* ensures bullet points */
    padding-left: 20px;
    /* space before bullets */
    margin: 0;
}

.experience-card li {
    margin-bottom: 8px;
    line-height: 1.4;
}