:root {
    --bg: #0e172a;
    --card: #ea590a;
    --text: #e5e7eb;
    --muted: #6b7280;
    --primary: #2563eb;
    --warn: #ef4444;
    --shadow: 10px 10px 10px rgba(0, 0, 0, .08);
}

.app[data-theme="dark"] {
    --bg: #40403c;
    --card: #111626;
    --text: #e5e7eb;
    --muted: #9aa3b2;
    --primary: #60a5fa;
    --warn: #f87171;
    --shadow: 10px 10px 10px rgba(249, 243, 243, 0.08);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: -apple-system, "system-ui", "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    /* align-items: center; */
    /* justify-content: center;  */
}

/* .card{
    background-color: #322565;
    margin:  30px 0px 30px 0px;
    color: #c7d0dd;
} */

#header {
    background-color: rgba(10, 14, 39, 1);
    display: flex;
    gap: 100px;
    justify-content: center;
    padding: 20px;
    font-size: 16px;
    font-weight: 300;
    position: fixed;
    z-index: 1000;
    width: 100%;
    top: 0;
    left: 0;
}

/* .header-image img{
   filter: brightness(0) invert(1);
   width: 18px;
   height: 18px;

} */

#header div {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
}

.header-image a {
    text-decoration: none;
    color: white;
    font-size: 20px;
}

/* #current_page, #header div:hover{
    background-color: #322565;
    padding: 12px;
    border-radius: 20px;
} */

#current_page a,
#header div:hover a {
    color: #8b5cf6;
    background-color: #322565;
    padding: 10px;
    border-radius: 18px;
}

/* #current_page img, #header div:hover img{
    filter: invert(42%) sepia(28%) saturate(7156%) hue-rotate(238deg) brightness(100%) contrast(94%)
} */

main {
    padding-top: 50px;
}

#about {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
    padding: 60px;
    margin-top: 10px;


}

#profile-pic img {
    width: 280px;
    height: 280px;
    margin-left: 30px;
    border-radius: 50%;
    overflow: hidden;
    /* box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4); */
}

/* #profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} */

.profile-info {
    text-align: center;
    padding-right: 100px;
}

.profile-name {
    font-size: 32px;
    font-weight: 800;
    color: #e2e8f0;
    margin-bottom: 4px;
}

.profile-pronouns {
    font-size: 16px;
    color: #64748b;
    margin-bottom: 25px;
}

.profile-title {
    font-size: 18px;
    font-weight: 600;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    line-height: 1.5;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding-right: 120px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: rgba(19, 23, 41, 0.8);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: #b8a194; */
    transition: all 0.3s;
    text-decoration: none;
}

.social-links img {
    width: 25px;
    height: 25px;
    filter: brightness(0) invert(1);
}

.social-link:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    color: #8b5cf6;
    transform: translateY(-3px);
}

.social-link:hover img {
    filter: invert(42%) sepia(28%) saturate(7156%) hue-rotate(238deg) brightness(100%) contrast(94%)
}

.profile-summary h2 {
    font-size: 56px;
    font-weight: 800;
    color: #e2e8f0;
    margin: 0px;
    line-height: 1.2;
}

.profile-summary p {
    font-size: 18px;
    color: #94a3b8;
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: justify;
}

.bring-card h1 {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0px;
    margin-top: 0px;

}

#bring {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    padding: 50px;
    gap: 50px;
    color: #e2e8f0;
    transition: all 0.3s;
}

.bring-grid {
    padding: 20px 20px;
    margin-top: 0px;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
}

.bring-grid h2 {
    font-size: 22px;
    font-weight: 900;
    color: #e2e8f0;
    line-height: 1.3;

}

.bring-grid img {
    filter: invert(42%) sepia(28%) saturate(7156%) hue-rotate(238deg) brightness(100%) contrast(94%);
    margin-bottom: 10px;
}

.connect-card {
    /* background-color:red; */
    margin: 0px 150px 150px 150px;
    text-align: center;
    padding: 40px 40px;
    background: rgba(10, 14, 39, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    font-size: 18px;
    /* gap: 20px; */
    /* transition: all 0.3s; */
    /* justify-content:center; */
    /* align-items: center; */
}

.connect-card h1 {
    font-size: 40px;
    font-weight: 800px;
    line-height: 64px;
}

.connect-card p {
    margin-bottom: 40px;
}

.contact {
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 900;
    transition: all 0.5s;
    cursor: pointer;
    font-size: 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

.contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

footer {
    text-align: center;
    padding: 10px;
    background: rgba(10, 14, 39, 0.6);
    border-top: 1px solid rgba(139, 92, 246, 0.15);
    width: 100%;
    margin: 0px;
}


/* styling for the experience page */
#education-experience,
#project-intro {
    text-align: center;
    margin-bottom: 80px;
    margin-top: 60px;

}

#education-experience h1,
#project-intro h1 {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    /* margin-top: 20px; */

}

#education-experience p,
#project-intro p {
    font-size: 20px;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto 30px;
    padding-bottom: 10px;
}

#education-experience a {
    padding: 14px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

#education-experience a:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

#experience,
#education,
#certification,
#skills {
    margin: 0px 150px 80px 150px;
}

#experience-title h1,
#education-title h1,
#certification-title h1,
#skills-title h1 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 30px;
}

#experience-title i,
#education-title i,
#certification-title i,
#skills-title i {
    width: 40px;
    height: 40px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
}

.experience-card {
    margin-bottom: 20px;
    padding: 10px 40px;
    background: rgba(19, 23, 41, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.experience-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.experience-card .job-title {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-wrap: wrap;
    gap: 15px;
}

.job-title p {
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 50px;
    color: #8b5cf6;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.company-name {
    font-size: 18px;
    color: #8b5cf6;
    font-weight: 600;
    margin: 0px;
}

.experience-summary,
.education-summary {
    color: #94a3b8;
    margin-bottom: 15px;
    line-height: 1.7;
}

.experience-achievement,
.education-achievement {
    padding-bottom: 10px;
}

.experience-achievement i,
.education-achievement i {
    color: #8b5cf6;
    font-weight: bold;
    flex-shrink: 0;
    padding-right: 12px;
    /* font-size: 18px; */
}

#education-grid {
    display: grid;
    /* grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); */
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.education-card {
    /* margin-bottom: 20px; */
    padding: 10px 40px;
    background: rgba(19, 23, 41, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.education-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.degree {
    font-size: 20px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 12px;
}

.university {
    font-size: 20px;
    color: #8b5cf6;
    margin-bottom: 5px;
    font-weight: 600;
}

.duration-grade {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.grade,
.duration {
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 50px;
    color: #8b5cf6;
    font-size: 14px;
    font-weight: 600;
}

#certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* #certification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px; 
}  */

.certification-card {
    /* margin-bottom: 10px; */
    padding: 10px 10px;
    background: rgba(19, 23, 41, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.certification-card:hover,
.skills-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(5px);
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
}

.certification-header {
    display: flex;
    align-items: center;
    gap: 15px;
    /* margin-bottom: 0px; */
    Font-size: 15px;
    Font-weight: 500px;
    Line-height: 24px;
}

.certification-header i {
    width: 35px;
    height: 35px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    flex-shrink: 0;
    padding: 0px;
}

.certification-name {
    padding-top: 5px;
    align-items: center;
    justify-content: center;

}

.certification-name p {
    margin-top: 0px;
    font-weight: bold;
}

#skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px 80px;
}

.skills-card {
    /* margin-bottom: 10px; */
    padding: 10px 20px;
    background: rgba(19, 23, 41, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

#skills-title h1 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.skills-header {
    display: flex;
    align-items: center;
    gap: 15px;
    Font-size: 19px;
    width: 100%;
    /* Font-weight:500px; */
    /* font-weight: bold; */
    Line-height: 24px;
}

.skills-header i {
    width: 35px;
    height: 35px;
    background: rgba(139, 92, 246, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8b5cf6;
    flex-shrink: 0;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.skills-list p {
    padding: 10px 10px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #8b5cf6;
    font-size: 14px;
    font-weight: 500;
}

/* Project page styling */
#filter {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;

}

.filter-btn {
    padding: 12px 24px;
    background: rgba(19, 23, 41, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    text-decoration: none;
    color: #cbd5e1;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s;
    font-size: 14px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.filter-btn:hover {
    border-color: rgba(139, 92, 246, 0.3);
    background: rgba(19, 23, 41, 0.7);
}

.filter-btn.active {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-color: transparent;
    color: white;
}

#project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
    /* grid-template-columns: 1fr 1fr; */
    gap: 40px;
    margin: 30px 100px;
}

.project-card {
    background: rgba(19, 23, 41, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.4s;
    backdrop-filter: blur(10px);
}

.project-card.hidden {
    display: none;
}

.project-thumbnail {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.project-thumbnail img:hover {
    transform: scale(1.1);
}

.project-category {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 16px;
    background: rgba(139, 92, 246, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.project-body {
    padding: 0px 40px 20px 40px;
}

.project-title {
    font-size: 24px;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 15px;
    line-height: 1.3;
    text-align: center;
}

.project-decription {
    color: #94a3b8;
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 15px;
    text-align: justify;
}

.project-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.project-stack p {
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #8b5cf6;
    font-size: 13px;
    font-weight: 500;
}

.project-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px 150px;
    margin-bottom: 20px;
    color: #cbd5e1;
    font-size: 14px;

}

.project-metrics i {
    color: #8b5cf6;
    font-weight: bold;
    flex-shrink: 0;
    padding-right: 15px;
}

.project-link {
    display: flex;
    gap: 12px;
}

.project-link a {
    flex: 1;
    padding: 12px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: #8b5cf6;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.project-link .code:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: #8b5cf6;
    transform: translateY(-2px);
}

.project-link .view {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    border-color: transparent;
    color: white;
}

.project-link .view:hover {
    box-shadow: 0 10px 25px rgba(139, 92, 246, 0.4);
}


/* Small devices (phones, less than 768px)
@media (max-width: 767px) {
  body {
    font-size: 0.8em;
  } */

/* Small devices (phones, less than 768px)  */
/* @media (min-width: 768px) {
main {
    margin: 1000px 100px;
}
} */

@media (min-width: 1440px) {
  main {
    max-width: 1350px;
    margin: 0 auto;
  }
}