@import"https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300..500&display=swap";
@import"https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,200&display=swap";
*{
    padding:0;
    margin:0;
    border:none
}
*,*:before,*:after{
    -webkit-box-sizing:border-box;
    box-sizing:border-box
}
a,a:link,a:visited,a:hover{
    text-decoration:none
}
aside,nav,footer,header,section,main{
    display:block
}
h1,h2,h3,h4,h5,h6,p{
    font-size:inherit;
    font-weight:inherit
}
ul,ul li{
    list-style:none
}
img{
    vertical-align:top
}
img,svg{
    max-width:100%;
    height:auto
}
address{
    font-style:normal
}
input,textarea,button,select{
    font-family:inherit;
    font-size:inherit;
    color:inherit;
    background-color:#0000
}
input::-ms-clear{
    display:none
}
button,input[type=submit]{
    display:inline-block;
    -webkit-box-shadow:none;
    box-shadow:none;
    background-color:#0000;
    background:none;
    cursor:pointer
}
input:focus,input:active,button:focus,button:active{
    outline:none
}
button::-moz-focus-inner{
    padding:0;
    border:0
}
label{
    cursor:pointer
}
legend{
    display:block
}
@-webkit-keyframes rotation{
    0%{
        -webkit-transform:rotate(0);
        transform:rotate(0)
    }
    to{
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg)
    }
}
@keyframes rotation{
    0%{
        -webkit-transform:rotate(0);
        transform:rotate(0)
    }
    to{
        -webkit-transform:rotate(360deg);
        transform:rotate(360deg)
    }
}
.around-spin{
    -webkit-animation:rotation 30s linear infinite;
    animation:rotation 30s linear infinite
}
html{
    overflow-x:hidden;
    scroll-behavior:auto
}
body{
    background:#fff;
    color:#000;
    font-family:Inter Tight,sans-serif;
    font-size:clamp(1rem,.886rem + .57vw,1.25rem);
    font-weight:400;
    line-height:1
}
body a{
    color:#000;
    text-decoration:none
}
.container{
    position:relative;
    max-width:1920px;
    padding-inline:clamp(1.25rem,-.536rem + 8.93vw,7.5rem);
    margin:0 auto
}
.section{
    padding-block:clamp(4rem,2.636rem + 6.82vw,7rem)
}
.section-title{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    font-weight:400;
    font-size:clamp(2.375rem,1.92rem + 2.27vw,3.375rem)
}
.section-title__index{
    font-family:Big Shoulders,sans-serif;
    opacity:.5;
    font-weight:200;
    font-size:2em;
    letter-spacing:-.05em
}
.preloader{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:100dvh;
    background-color:#fff;
    z-index:10000
}
.header{
    position:fixed;
    width:100%;
    z-index:100;
    color:#fff;
    padding-block:1rem;
    -webkit-transition:color .4s ease-in-out;
    transition:color .4s ease-in-out
}
.header.dark{
    color:#000
}
.header-container{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    position:relative;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content:space-between;
    height:80px;
    width:100%;
    margin:0 auto;
    max-width:1920px;
    padding-inline:clamp(1.25rem,6.25vw,4rem)
}
.header__logo{
    font-family:Big Shoulders,sans-serif;
    font-size:2.4rem
}
.header__mail{
    margin-block:1rem
}
.menu-nav{
    position:absolute;
    right:clamp(0rem,-.909rem + 4.55vw,2rem);
    top:0;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
    background-color:#000;
    color:#fff;
    height:400px;
    width:300px;
    max-width:300px;
    border-radius:5px;
    padding:2rem;
    padding-top:80px;
    z-index:99;
    opacity:0;
    visibility:hidden;
    font-size:24px
}
.menu-nav__list{
    -webkit-box-flex:1;
    -ms-flex:1;
    flex:1;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    height:100%;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content:space-between;
    padding-top:2rem;
    padding-bottom:6rem;
    border-bottom:1px solid #4f4f4f
}
.menu-nav__link{
    position:absolute;
    top:100%;
    left:0;
    color:#fff;
    opacity:.5;
    -webkit-transition:opacity .4s ease-in-out;
    transition:opacity .4s ease-in-out
}
.menu-nav__link:hover{
    opacity:1
}
.menu-nav__link.active{
    opacity:1;
    font-weight:450
}
.menu-nav__link-wrap{
    display:block;
    height:24px;
    position:relative;
    overflow:hidden
}
.menu-nav__mail{
    padding-top:1rem;
    font-size:.7em
}
.hero{
    position:relative;
    min-height:100vh;
    height:auto;
    width:auto;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    background-color:#191919;
    color:#fff
}
.hero-container{
    position:relative;
    width:100%;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
    padding-top:120px;
    padding-bottom:18px;
    z-index:2
}
.hero__title{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
    -webkit-box-flex:1;
    -ms-flex:1;
    flex:1;
    font-size:calc(7*(1vw + 1vh));
    font-weight:350;
    letter-spacing:-.4rem;
    will-change:transform,color
}
@media (min-width: 1921px){
    .hero__title{
        font-size:194px
    }
}
@media (max-width: 768px){
    .hero__title{
        font-size:calc(6*(1vw + 1vh));
        letter-spacing:-.1rem
    }
}
.hero__subtitle{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column;
    gap:.5rem;
    color:#fff;
    font-size:clamp(1.6rem,1.486rem + .57vw,2rem);
    line-height:1.1;
    max-width:42%;
    margin-left:auto;
    text-wrap:balance
}
@media (max-width: 1440px){
    .hero__subtitle{
        max-width:54%
    }
}
@media (max-width: 1024px){
    .hero__subtitle{
        max-width:unset
    }
}
.hero__subtitle .around-spin{
    margin-top:1rem;
    height:1.5em;
    width:1.5em
}

/* Enhanced Hero CTA Buttons - Fixed to match design */
.hero__cta {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
}

.hero__about-btn,
.hero__projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    padding: 0.7rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 2px solid transparent;
}

/* About Me Button - Primary light button */
.hero__about-btn {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(255, 255, 255, 0.95);
    color: #191919;
}

.hero__about-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    background: #fff;
}

.hero__about-btn:hover::before {
    left: 0;
}

.hero__about-btn:hover {
    color: #191919;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
    border-color: #fff;
}

.hero__about-btn img {
    filter: brightness(0);
    width: 1em;
    height: 1em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Projects Button - Secondary dark button */
.hero__projects-btn {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.hero__projects-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    background: rgba(255, 255, 255, 0.2);
}

.hero__projects-btn:hover::before {
    left: 0;
}

.hero__projects-btn:hover {
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.hero__projects-btn img {
    width: 1em;
    height: 1em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0) invert(1);
}

.hero__about-btn:hover img,
.hero__projects-btn:hover img {
    transform: translateX(4px);
}

@media (max-width: 1024px) {
    .hero__cta {
        justify-content: center;
        margin-top: 1.2rem;
        margin-bottom: 0.8rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero__about-btn,
    .hero__projects-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85em;
    }
    
    .hero__cta {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero__cta {
        flex-direction: column;
        align-items: center;
        margin-top: 0.8rem;
        margin-bottom: 0.4rem;
        gap: 0.6rem;
    }
    
    .hero__about-btn,
    .hero__projects-btn {
        width: 100%;
        max-width: 220px;
        justify-content: center;
        padding: 0.55rem 1.1rem;
        font-size: 0.8em;
    }
}
.hero__bottom{
    height:100px;
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack:center;
    -ms-flex-pack:center;
    justify-content:center;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    padding-top:50px;
    -webkit-column-gap:.2em;
    -moz-column-gap:.2em;
    column-gap:.2em;
    margin-top: auto;
    text-align: center;
    width: 100%;
}

/* Resume Download Section - Updated with dual buttons */
.resume-download-wrapper {
    margin-top: clamp(3rem, 2.5rem + 2vw, 4rem);
    margin-bottom: clamp(1rem, 0.5rem + 1vw, 2rem);
}

.resume-download-container {
    background: #87b37a;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

.resume-download-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #191919, #4f4f4f, #191919);
    background-size: 200% 100%;
    animation: resume-gradient 4s ease-in-out infinite;
}

@keyframes resume-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.resume-download-content {
    flex: 1;
}

.resume-download-title {
    font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
    font-weight: 500;
    color: #000;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.resume-download-subtitle {
    font-size: 1rem;
    color: #000;
    opacity: 0.8;
    line-height: 1.5;
    max-width: 500px;
}

.resume-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.resume-download-btn,
.about-me-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border: 2px solid transparent;
}

.resume-download-btn {
    background: #191919;
    border-color: #191919;
}

.about-me-btn {
    background: transparent;
    border-color: #191919;
    color: #191919;
}

.resume-download-btn::before,
.about-me-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.resume-download-btn::before {
    background: #000;
}

.about-me-btn::before {
    background: #191919;
}

.resume-download-btn:hover::before,
.about-me-btn:hover::before {
    left: 0;
}

.resume-download-btn:hover {
    border-color: #000;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.about-me-btn:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.resume-download-btn:hover svg,
.about-me-btn:hover svg {
    transform: translateY(2px);
}

.resume-download-btn svg,
.about-me-btn svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.resume-download-btn:focus-visible,
.about-me-btn:focus-visible {
    outline: 3px solid #000;
    outline-offset: 3px;
}

/* Mobile responsive updates */
@media (max-width: 768px) {
    .resume-download-container {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }
    
    .resume-buttons {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .resume-download-btn,
    .about-me-btn,
    .about-me-btn-primary {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .resume-download-container {
        padding: 1.5rem 1rem;
        gap: 1.2rem;
    }
    
    .resume-download-btn,
    .about-me-btn,
    .about-me-btn-primary {
        padding: 0.8rem 1.6rem;
        font-size: 0.9em;
        max-width: 260px;
    }
}
.about{
    background-color:#87b37a
}
.about-content{
    display:grid;
    grid-template-columns:repeat(2,1fr)
}
@media (max-width: 1024px){
    .about-content{
        grid-template-columns:1fr
    }
}
.about-content__text{
    margin-top:48px;
    grid-column:2;
    font-size:clamp(1.25rem,1.136rem + .57vw,1.5rem);
    line-height:1.4;
    width:60%
}
@media (max-width: 1440px){
    .about-content__text{
        width:100%
    }
}
.skills{
    margin-top:clamp(4rem,3.091rem + 4.55vw,6rem)
}
@media (max-width: 1024px){
    .skills{
        grid-template-columns:1fr
    }
}
.skills__container{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:vertical;
    -webkit-box-direction:normal;
    -ms-flex-direction:column;
    flex-direction:column
}
@media (max-width: 1024px){
    .skills__container{
        margin-top:48px
    }
}
.skills__heading{
    font-size:.47em;
    padding-block:.886em
}
.skills__content{
    font-size:.38em;
    letter-spacing:normal;
    padding-bottom:1.9em
}
.skills__list{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-orient:horizontal;
    -webkit-box-direction:normal;
    -ms-flex-flow:row wrap;
    flex-flow:row wrap;
    line-height:1.4;
    position:relative
}
.skills__list li:not(:last-child):after{
    position:relative;
    content:"/";
    display:inline-block;
    padding-inline:clamp(.5rem,.386rem + .57vw,.75rem)
}
.projects{
    background-color:#fff
}

/* Override existing projects styles for card layout */
.projects-container {
    display: none; /* Hide old container */
}

/* Remove old project item styles that conflict */

/* Keep the projects section background */
.projects {
    background-color: #fff;
}

/* Enhanced JavaScript toggle functionality for cards - Fixed */
.project-details[aria-expanded="true"] {
    max-height: none; /* Changed from fixed 200px to none */
    padding: 1.2rem;
}

.project-details[aria-expanded="false"] {
    max-height: 0;
    padding: 0 1.2rem;
}

/* Improved accessibility for card layout */
.project-card:focus-within {
    outline: 2px solid #87b37a;
    outline-offset: 2px;
}

/* Animation enhancements */
.project-card {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for cards */
.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }
.project-card:nth-child(4) { animation-delay: 0.4s; }
.project-card:nth-child(5) { animation-delay: 0.5s; }
.project-card:nth-child(6) { animation-delay: 0.6s; }

.projects-container{
    margin-top:clamp(3rem,2.318rem + 3.41vw,4.5rem);
    display:grid;
    grid-template-columns:repeat(2,1fr);
    grid-auto-rows: max-content; /* Add this to maintain row heights */
    justify-items:stretch;
    align-items:start;
    width:100%;
    column-gap:1rem;
    row-gap:2rem;
}
@media (max-width: 860px){
    .projects-container{
        grid-template-columns:1fr;
    }
}
.projects-item{
    display: flex;
    flex-direction: column;
    background: #fff;
    box-sizing: border-box;
    min-height: auto;
    max-height: none;
    height: auto;
    width: 100%;
    border-radius: 8px;
    overflow: visible; /* Changed from hidden to visible */
    position: relative;
    contain: layout; /* Add containment for better performance */
}
.projects-item__img{
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    height: 500px;
    
    
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.projects-item__img img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 5px;
    display: block;
    background: #fff;
}
.projects-item__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3em;
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    justify-content: flex-start;
    padding: 1.2em 1em 1em 1em;
    box-sizing: border-box;
    min-height: 0;
    overflow: visible; /* Remove scroll bar */
}
.projects-item__content h3{
    text-align:center;
    width: 100%;
}
.project-tagline {
    font-size: 0.95em;
    color: #4f4f4f;
    opacity: 0.85;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
}
.project-toggle-btn {
    background: none;
    border: none;
    color: #191919;
    font-size: 1em;
    cursor: pointer;
    text-align: left;
    padding: 0.2em 0 0.2em 0;
    transition: color 0.2s;
    font-family: inherit;
    opacity: 0.8;
}
.project-toggle-btn:hover {
    color: #87b37a;
    opacity: 1;
}
.project-details {
    background: #f8f8f8;
    color: #191919;
    border-radius: 5px;
    margin: 0.5em 0;
    padding: 0;
    font-size: 0.98em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    line-height: 1.5;
    opacity: 1;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: max-height, padding;
}

.project-details:not([hidden]) {
    max-height: 800px; /* Increased from 300px to accommodate larger content */
    padding: 1em;
}

.project-details a {
    color: #87b37a;
    text-decoration: underline;
    font-weight: 500;
}
.project-btn {
    align-self: flex-end;
    background: none;
    border: none;
    color: #191919;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0.1em 0.2em;
    transition: color 0.2s;
    font-family: inherit;
    opacity: 0.8;
    margin-top: 0.2em;
}
.project-btn:hover {
    color: #87b37a;
    opacity: 1;
}
@media (max-width: 1024px){
    .projects-item{
        min-height: auto; /* Changed from fixed height */
        height: auto;
        max-height: none;
    }
    .projects-item__img{
        height: 300px;
        min-height: 300px;
        max-height: 300px;
    }
}
@media (max-width: 768px) {
    .projects-item{
        min-height: auto; /* Changed from fixed height */
        height: auto;
        max-height: none;
    }
    .projects-item__img{
        height: 320px;
        min-height: 320px;
        max-height: 320px;
    }
    .projects-item__content{
        padding: 1em 0.7em 0.7em 0.7em;
    }
    .project-details {
        padding: 0.7em;
        font-size: 0.95em;
    }
    .project-tagline {
        font-size: 0.92em;
    }
    .project-btn {
        font-size: 1.2em;
        padding: 0.1em 0.1em;
    }
}
@media (max-width: 480px){
    .projects-item__img{
        height: 280px;
        min-height: 280px;
        max-height: 280px;
    }
}
.footer{
    bottom:0;
    width:100%;
    color:#fff;
    background:#191919;
    padding:1.2rem 0 0rem;
    opacity:.8
}
.footer-row{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-pack:justify;
    -ms-flex-pack:justify;
    justify-content:space-between
}
.footer-row__back-to-top{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    color:#fff;
    gap:.1em;
    width:120px
}
.hamburger{
    margin-left:auto;
    position:relative;
    width:50px;
    height:100%;
    padding:1rem 0 1rem 1rem;
    cursor:pointer;
    -webkit-transition:all .25s ease-in-out;
    transition:all .25s ease-in-out;
    z-index:100
}
.hamburger-bar{
    position:absolute;
    top:50%;
    right:0;
    width:30px;
    height:1px;
    -webkit-transform:translate(0%,-50%);
    transform:translateY(-50%);
    background:#0000
}
.hamburger-bar:before,.hamburger-bar:after{
    content:"";
    position:absolute;
    width:100%;
    height:1.5px;
    background:#fff
}
.hamburger-bar:before{
    -webkit-transform:rotate(0deg) translate(0px,-4px);
    transform:rotate(0) translateY(-4px)
}
.hamburger-bar:after{
    -webkit-transform:rotate(0deg) translate(0px,4px);
    transform:rotate(0) translateY(4px)
}
.header.dark .hamburger-bar:before,.header.dark .hamburger-bar:after{
    background:#000
}
.header.dark .hamburger.active .hamburger-bar.light:before,.header.dark .hamburger.active .hamburger-bar.light:after{
    background:#fff
}
.hamburger.active .hamburger-bar:before{
    -webkit-transform:rotate(45deg) translate(0px,0px);
    transform:rotate(45deg) translate(0)
}
.hamburger.active .hamburger-bar:after{
    -webkit-transform:rotate(-45deg) translate(0px,0px);
    transform:rotate(-45deg) translate(0)
}
.hamburger-bar,.hamburger-bar:before,.hamburger-bar:after{
    -webkit-transition:all .25s ease-in-out;
    transition:all .25s ease-in-out
}
.line{
    width:100%;
    height:1px;
    background-color:#4f4f4f
}
.arrow-link{
    display:-webkit-box;
    display:-ms-flexbox;
    display:flex;
    -webkit-box-align:center;
    -ms-flex-align:center;
    align-items:center;
    opacity:.8;
    -webkit-transition:opacity .25s ease-in-out;
    transition:opacity .25s ease-in-out
}
.arrow-link a{
    color:#fff
}
.arrow-link:hover{
    opacity:1
}
.arrow-link img{
    width:1.1em;
    height:1.1em
}
/* Accordion styles */
.project-tagline {
    /* grid-column: 1 / -1; */ /* Remove this */
    font-size: 0.95em;
    color: #4f4f4f;
    opacity: 0.85;
    margin-bottom: 0.2em;
    margin-top: 0.2em;
}
.project-toggle-btn {
    /* grid-column: 1 / -1; */ /* Remove this */
    background: none;
    border: none;
    color: #191919;
    font-size: 1em;
    cursor: pointer;
    text-align: left;
    padding: 0.2em 0 0.2em 0;
    transition: color 0.2s;
    font-family: inherit;
    opacity: 0.8;
}
.project-toggle-btn:hover {
    color: #87b37a;
    opacity: 1;
}
.project-details {
    /* grid-column: 1 / -1; */ /* Remove this */
    background: #f8f8f8;
    color: #191919;
    border-radius: 5px;
    margin: 0.5em 0;
    padding: 0; /* Start with 0 padding */
    font-size: 0.98em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    line-height: 1.5;
    opacity: 1;
    width: 100%;
    max-height: 0; /* Start collapsed */
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease; /* Smooth transition */
}

.project-details:not([hidden]) {
    max-height: 800px; /* Increased from 300px to accommodate larger content */
    padding: 1em; /* Apply padding when expanded */
}

.project-details a {
    color: #87b37a;
    text-decoration: underline;
    font-weight: 500;
}
.project-btn {
    /* grid-column: 3 / 4; */ /* Remove this */
    align-self: flex-end;
    background: none;
    border: none;
    color: #191919;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0.1em 0.2em;
    transition: color 0.2s;
    font-family: inherit;
    opacity: 0.8;
    margin-top: 0.2em;
}
.project-btn:hover {
    color: #87b37a;
    opacity: 1;
}
.contact{
    background-color:#191919;
    color:#fff;
    padding-bottom:1.2rem;
}
.contact-title{
    margin-bottom:1.2rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
}
@media (max-width: 576px){
    .contact-title{
        grid-template-columns:1fr;
    }
}
.contact-row{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    padding-block:1.2rem;
    font-size:1em;
    gap: 1.2rem;
}
@media (max-width: 768px){
    .contact-row{
        grid-template-columns:1fr;
        gap: 1rem;
        padding-block: 1rem;
    }
}
.contact-row__contacts,
.contact-row__socials {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.contact-row__title{
    font-weight:450;
    margin-bottom:8px;
}
.contact-row li{
    opacity:.8;
    line-height:1.3;
    margin-bottom: 0.2em;
}
.contact-row ul {
    padding-left: 0;
}
.arrow-link {
    display: flex;
    align-items: center;
    gap: 0.3em;
}
.arrow-link a {
    color: #fff;
}
.arrow-link img {
    width: 1.1em;
    height: 1.1em;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .around-spin {
    animation: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .project-details {
    border: 2px solid #000;
  }
  
  .project-toggle-btn,
  .project-btn {
    border: 1px solid currentColor;
  }
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #87b37a;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10001;
}

.skip-link:focus {
  top: 6px;
}

/* Better focus indicators */
.project-toggle-btn:focus-visible,
.project-btn:focus-visible {
  outline: 3px solid #87b37a;
  outline-offset: 2px;
  background: rgba(135, 179, 122, 0.1);
}

/* Screen reader only content */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Loading states */
.loading {
  position: relative;
  overflow: hidden;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Hover animations */
.projects-item {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.projects-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Button loading state */
.btn-loading {
  position: relative;
  color: transparent !important;
}

.btn-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid #87b37a;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.projects{
    background-color:#fff
}

.projects__link {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: clamp(3rem, 2.5rem + 2vw, 4rem);
    width: 100%;
}

.projects__link a {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    padding: 1rem 2rem;
    background: transparent;
    border: 2px solid #191919;
    border-radius: 50px;
    color: #191919;
    font-size: clamp(1rem, 0.9rem + 0.3vw, 1.1rem);
    font-weight: 450;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.projects__link a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #191919;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.projects__link a:hover::before {
    left: 0;
}

.projects__link a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.projects__link a:hover img {
    filter: brightness(0) invert(1);
    transform: translateX(4px);
}

.projects__link img {
    width: 1.2em;
    height: 1.2em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.projects__link a:focus-visible {
    outline: 3px solid #87b37a;
    outline-offset: 3px;
}

@media (max-width: 768px) {
    .projects__link a {
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
}

/* Enhanced Skills Progress Bars - Completely Separate */
.enhanced-skills-grid {
    margin-top: clamp(2rem, 1.5rem + 2vw, 3rem);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.skill-progress-section {
    background: rgba(25, 25, 25, 0.03);
    border: 1px solid rgba(25, 25, 25, 0.08);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.skill-progress-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #191919, #4f4f4f);
}

.skill-progress-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #191919;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-progress-title::before {
    content: "▣";
    color: #191919;
    font-size: 1.4em;
}

.skill-progress-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.skill-progress-item {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 1rem;
}

.skill-progress-name {
    font-weight: 450;
    color: #191919;
    font-size: 0.95rem;
}

.skill-progress-bar {
    height: 6px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.skill-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #191919, #4f4f4f);
    border-radius: 3px;
    width: 0;
    transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.skill-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: skill-shimmer 2s ease-in-out;
}

@keyframes skill-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skill-progress-level {
    font-size: 0.8rem;
    color: #191919;
    font-weight: 500;
    text-align: right;
}

/* Stats Counter Section - Completely Separate */
.portfolio-stats-wrapper {
    margin-top: clamp(3rem, 2rem + 3vw, 4rem);
    padding: 2.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.portfolio-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.portfolio-stat-card {
    text-align: center;
    padding: 1.5rem 1rem;
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.02), rgba(25, 25, 25, 0.01));
    border-radius: 8px;
    border: 1px solid rgba(25, 25, 25, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(25, 25, 25, 0.1);
}

.portfolio-stat-number {
    font-family: 'Big Shoulders', sans-serif;
    font-size: clamp(2.2rem, 1.8rem + 1.5vw, 3rem);
    font-weight: 300;
    color: #191919;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.portfolio-stat-label {
    font-size: 0.9rem;
    color: #191919;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 450;
}

/* Currently Learning Section - Completely Separate */
.currently-learning-wrapper {
    margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
}

.currently-learning-card {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.04), rgba(25, 25, 25, 0.02));
    border: 1px solid rgba(25, 25, 25, 0.12);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.currently-learning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #191919, #4f4f4f, #191919);
    background-size: 200% 100%;
    animation: learning-gradient 3s ease-in-out infinite;
}

@keyframes learning-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.currently-learning-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.currently-learning-icon {
    font-size: 1.5rem;
    animation: learning-pulse 2s ease-in-out infinite;
    color: #191919;
    display: flex;
    align-items: center;
    justify-content: center;
}

.currently-learning-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

@keyframes learning-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.currently-learning-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #191919;
    margin: 0;
}

.currently-learning-subtitle {
    font-size: 0.85rem;
    color: #191919;
    opacity: 0.7;
    margin-top: 0.2rem;
}

.currently-learning-tags-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
}

.currently-learning-tag {
    background: rgba(25, 25, 25, 0.06);
    color: #191919;
    padding: 0.6rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(25, 25, 25, 0.15);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.currently-learning-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(25, 25, 25, 0.08), transparent);
    transition: left 0.5s ease;
}

.currently-learning-tag:hover::before {
    left: 100%;
}

.currently-learning-tag:hover {
    background: rgba(25, 25, 25, 0.1);
    border-color: rgba(25, 25, 25, 0.25);
    transform: translateY(-2px);
}

/* Responsive Design for Enhanced Components */
@media (max-width: 1024px) {
    .skill-progress-item {
        grid-template-columns: 100px 1fr 50px;
        gap: 0.8rem;
    }
    
    .portfolio-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .skill-progress-section {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .skill-progress-item {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    
    .skill-progress-name {
        order: 1;
    }
    
    .skill-progress-bar {
        order: 2;
        margin: 0.5rem 0;
    }
    
    .skill-progress-level {
        order: 3;
        text-align: center;
    }
    
    .portfolio-stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .currently-learning-tags-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.6rem;
    }
    
    .currently-learning-card {
        padding: 1.5rem;
    }
    
    .skill-progress-section {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .currently-learning-tags-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .portfolio-stat-card {
        padding: 1rem 0.8rem;
    }
    
    .enhanced-skills-grid {
        gap: 1.5rem;
    }
}

/* Animation Utilities - Completely Separate */
.fade-in-enhanced {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-enhanced.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation {
    animation-delay: var(--delay);
}

/* Enhanced About Me Button in Resume Section */
.about-me-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.8em;
    padding: 1rem 2rem;
    border-radius: 50px;
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    border: 2px solid #fff;
    background: transparent;
}

.about-me-btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    background: #fff;
}

.about-me-btn-primary:hover::before {
    left: 0;
}

.about-me-btn_primary:hover {
    color: #87b37a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.about-me-btn-primary:hover svg {
    transform: translateY(2px);
}

.about-me-btn-primary svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Contact Section About Me Link */
.contact-about {
    margin-top: 0.5rem;
    opacity: 0.9;
}

.contact-about:hover {
    opacity: 1;
}

.contact-about a {
    font-style: italic;
    text-transform: lowercase;
}

/* Color Variants for Cards - Add these to ensure proper dark colors */
.project-card--navy {
    background: #1A237E; /* Dark navy */
    color: #ffffff;
}

.project-card--maroon {
    background: #6D2C91; /* Dark maroon */
    color: #ffffff;
}

.project-card--olive {
    background: #556B2F; /* Dark olive */
    color: #ffffff;
}

.project-card--slate {
    background: #455A64; /* Dark slate */
    color: #ffffff;
}

.project-card--crimson {
    background: #DC143C; /* Crimson red */
    color: #ffffff;
}

.project-card--charcoal {
    background: #2C2C2C; /* Dark charcoal */
    color: #ffffff;
}

/* Fix the project details strong text color for dark cards */
.project-details strong {
    color: #ffffff; /* Changed back to white for better contrast on dark cards */
    font-weight: 600;
}

.project-details h4 {
    margin: 1em 0 0.5em;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.1em;
}

.project-details .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
    margin: 0.7em 0;
}

.project-details .tech-tag {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.2em 0.7em;
    border-radius: 12px;
    font-size: 0.85em;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 1em;
    margin-top: 1em;
}

.project-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s;
}

.project-links a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

