/* ===================================
   CSS Variables & Root Styles
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-color: #F4F4F4;
    --text-primary: #2E2E2E;
    --text-secondary: #6B6B6B;
    --accent: #4A90E2;
    --accent-dim: #3A7BC8;
    --card-bg: #FFFFFF;
    --border: #E0E0E0;
}

[data-theme="dark"] {
    --bg-color: #0a0a0a;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --accent: #4A90E2;
    --accent-dim: #3A7BC8;
    --card-bg: #1a1a1a;
    --border: #2a2a2a;
}


body {

    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
    line-height: 1.5;
    background-color: var(--bg-color);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

[data-theme="dark"] nav {
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding:
        15px 15px;
    position: relative;
}

.logo {
    font-family: "Passion One", sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    color: var(--accent);
    text-decoration: none;
}

.nav-links {

    font-family: "Ubuntu", sans-serif;
    font-style: normal;
    display: flex;
    gap: 40px;
    list-style: none;
    align-items: center;

}

.nav-links img {

    width: 30px;
    height: 30px;
    object-fit: contain;

}

.nav-links li a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    min-height: 50px;
}


.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav-links li {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    align-items: center;
    justify-items: center;
    align-content: center;
    min-height: 50px;
    list-style: none;
}

.nav-links a:hover {
    color: var(--accent);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.theme-toggle {
    background: none;
    border: 1px solid var(--border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 40px;
}

/* Hero Section */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 100px;
}

.hero h1 {
    font-family: "Passion One", sans-serif;
    font-size: 4em;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 800px;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
    font-weight: 400;
}

.hero-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    max-width: 900px;
    line-height: 1.5;

    font-family: "Ubuntu", sans-serif;
    font-style: normal;
}

.accent-text {
    color: var(--accent);
    font-weight: 500;

}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    line-height: 1.5;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
}



.btn {
    padding: 14px 32px;
    line-height: 1.5;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: var(--accent);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--accent-dim);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}



/* Section Titles */
.section {
    margin-bottom: 120px;
}

.section-title {

    font-family: "Passion One", sans-serif;
    font-weight: 400;
    font-size: 2.5em;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent);
}

/* Experience Section */
.experience-grid {
    display: grid;
    gap: 40px;

}

.experience-item {
    border-left: 3px solid var(--border);
    padding-left: 30px;
    transition: all 0.3s ease;
}

.experience-item:hover {
    border-left-color: var(--accent);
}

.experience-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-title {
    line-height: 1.5;
    font-family: "Ubuntu", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 1.25em;
    color: var(--text-secondary);
}

.experience-period {
    color: var(--text-secondary);
    line-height: 1.5;
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
}

.experience-company {
    color: var(--accent);
    line-height: 1.5;
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25em;
    margin-bottom: 10px;

    text-decoration: none;
    cursor: pointer;
    position: relative;
}

.experience-company-no-link {
    color: var(--accent);
    line-height: 1.5;
    font-family: "Ubuntu", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.25em;
    margin-bottom: 10px;

    text-decoration: none;
    cursor: default;
    position: relative;
}

.experience-company::after {
    content: "↗";
    /* External link arrow */
    font-size: 0.8em;
    margin-left: 0px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.experience-company:hover::after {
    opacity: 1;
}

.experience-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-family: "Ubuntu", sans-serif;
    font-weight: 300;
    font-style: normal;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.project-card {
    display: flex;
    align-items: stretch;
    background: var(--card-bg);
    border: 1px solid var(--border);

    transition: all 0.3s ease;
    overflow: hidden;
    /* ensures image clips to rounded corners */
    cursor: default;
}

/* Left side: content with padding */
.project-content {
    padding: 20px;
    flex: 1;
}

/* Right side: image fully flush on the right and full height */
.project-image {
    width: 30%;
    /* adjust % as needed */
    height: 100%;
    /* fill full card height */
    object-fit: cover;
    /* crop image properly */

    width: 40%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(0% 0%, 88% 0, 100% 50%, 88% 100%, 0% 100%);
}

.project-image-left {
    width: 30%;
    /* adjust % as needed */
    height: 100%;
    /* fill full card height */
    object-fit: cover;
    /* crop image properly */

    width: 40%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 51%);
}

.map-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: var(--accent, #ff6b6b);
    /* desired color */
    /* mask (standard) */
    mask-image: url('/assets/images/icons/map.Png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    /* webkit for Safari */
    -webkit-mask-image: url('/assets/images/icons/map.Png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.mail-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: var(--accent, #ff6b6b);
    /* desired color */
    /* mask (standard) */
    mask-image: url('/assets/images/icons/mail.Png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    /* webkit for Safari */
    -webkit-mask-image: url('/assets/images/icons/mail.Png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.degree-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: var(--accent, #ff6b6b);
    /* desired color */
    /* mask (standard) */
    mask-image: url('/assets/images/icons/degree.Png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    /* webkit for Safari */
    -webkit-mask-image: url('/assets/images/icons/degree.Png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;

}

.linkedin-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: var(--accent, #ff6b6b);
    /* desired color */
    /* mask (standard) */
    mask-image: url('/assets/images/icons/linkedin.png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    /* webkit for Safari */
    -webkit-mask-image: url('/assets/images/icons/linkedin.png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}

.celphone-icon {
    width: 30px;
    height: 30px;
    display: inline-block;
    background-color: var(--accent, #ff6b6b);
    /* desired color */
    /* mask (standard) */
    mask-image: url('/assets/images/icons/cell.Png');
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
    /* webkit for Safari */
    -webkit-mask-image: url('/assets/images/icons/cell.Png');
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
}



















:active,
:hover,
:focus {
    outline: 0 !important;
    outline-offset: 0;
}

::before,
::after {
    position: absolute;
    content: "";
}

.newbtn-holder {
    display: flex;
    flex-wrap: wrap;
    justify-content: left;
    max-width: 1000px;
    gap: 15px;
    margin: 10px auto 5px;
    font-weight: 500;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
}

.newbtn {
    position: relative;
    width: auto;
    height: auto;
    background-color: transparent;
    border: none;
    cursor: pointer;
    min-width: 150px;
    font-weight: 500;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;

    display: inline-flex;
    /* centers text horizontally & vertically */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* removes underline */
    cursor: pointer;
    border: none;
}

.newbtn span {
    position: relative;
    display: inline-flex;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 2px;
    top: 0;
    left: 0;
    width: 100%;
    padding: 5px 5px;
    transition: 0.3s;
    font-weight: 500;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
    display: inline-flex;
    /* centers text horizontally & vertically */
    align-items: center;
    justify-content: center;
    text-decoration: none;
    /* removes underline */
    cursor: pointer;
    border: none;
}

/*--- btn-1 ---*/
.newbtn-1::before {
    background-color: var(--accent);
    transition: 0.3s ease-out;
}

.newbtn-1 span {
    color: rgb(255, 255, 255);
    border: 1px solid var(--accent);
    transition: 0.2s 0.1s;
}

.newbtn-1 span:hover {
    color: var(--accent);
    transition: 0.2s 0.1s;
}

/* 1.hover-filled-slide-down */
.newbtn.hover-filled-slide-down::before {
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.newbtn.hover-filled-slide-down:hover::before {
    height: 0%;
}

/* 2.hover-filled-slide-up */
.newbtn.hover-filled-slide-up::before {
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.newbtn.hover-filled-slide-up:hover::before {
    height: 0%;
}

/* 3.hover-filled-slide-left */
.newbtn.hover-filled-slide-left::before {
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.newbtn.hover-filled-slide-left:hover::before {
    width: 0%;
}

/* 4. hover-filled-slide-right */
.newbtn.hover-filled-slide-right::before {
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.newbtn.hover-filled-slide-right:hover::before {
    width: 0%;
}

/* 5. hover-filled-opacity */
.newbtn.hover-filled-opacity::before {
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 1;
}

.newbtn.hover-filled-opacity:hover::before {
    opacity: 0;
}






/*--- btn-2 ---*/
.newbtn-2 span {
    color: rgb(28, 31, 30);
    border: 1px solid rgb(28, 31, 30);
    transition: 0.2s;
}

.newbtn-2 span:hover {
    color: rgb(255, 255, 255);
    transition: 0.2s 0.1s;
}

/* 6. hover-slide-down */
.newbtn.hover-slide-down::before {
    top: 0;
    left: 0;
    right: 0;
    height: 0%;
    width: 100%;
}


.newbtn.hover-slide-down:hover::before {
    height: 100%;
}

/* 7. hover-slide-up */
.newbtn.hover-slide-up::before {
    bottom: 0;
    left: 0;
    right: 0;
    height: 0%;
    width: 100%;
}

.newbtn.hover-slide-up:hover::before {
    height: 100%;
}

/* 8. hover-slide-left */
.newbtn.hover-slide-left::before {
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 0%;
}

.newbtn.hover-slide-left:hover::before {
    width: 100%;
}

/* 9. hover-slide-right */
.newbtn.hover-slide-right::before {
    top: 0;
    bottom: 0;
    left: 0;
    height: 100%;
    width: 0%;
}

.newbtn.hover-slide-right:hover::before {
    width: 100%;
}

/* 10. hover-opacity */
.newbtn.hover-opacity::before {
    top: 0;
    bottom: 0;
    right: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
}

.newbtn.hover-opacity:hover::before {
    opacity: 1;
}

/*--- btn-3 ---*/
.newbtn-3 {
    padding: 5px;
}

.newbtn-3 span {
    color: rgb(255, 255, 255);
    background-color: rgb(54, 56, 55);
}

.btn-3::before,
.btn-3::after {
    background: transparent;
    z-index: 2;
}

/* 11. hover-border-1 */
.btn.hover-border-1::before,
.btn.hover-border-1::after {
    width: 10%;
    height: 25%;
    transition: 0.35s;
}

.btn.hover-border-1::before {
    top: 0;
    left: 0;
    border-left: 1px solid rgb(28, 31, 30);
    border-top: 1px solid rgb(28, 31, 30);
}

.btn.hover-border-1::after {
    bottom: 0;
    right: 0;
    border-right: 1px solid rgb(28, 31, 30);
    border-bottom: 1px solid rgb(28, 31, 30);
}

.btn.hover-border-1:hover::before,
.btn.hover-border-1:hover::after {
    width: 99%;
    height: 98%;
}

/* 12. hover-border-2 */
.btn.hover-border-2::before,
.btn.hover-border-2::after {
    width: 10%;
    height: 25%;
    transition: 0.35s;
}

.btn.hover-border-2::before {
    bottom: 0;
    left: 0;
    border-left: 1px solid rgb(28, 31, 30);
    border-bottom: 1px solid rgb(28, 31, 30);
}

.btn.hover-border-2::after {
    top: 0;
    right: 0;
    border-right: 1px solid rgb(28, 31, 30);
    border-top: 1px solid rgb(28, 31, 30);
}

.btn.hover-border-2:hover::before,
.btn.hover-border-2:hover::after {
    width: 99%;
    height: 99%;
}

/* 13. hover-border-3 */
.btn.hover-border-3::before,
.btn.hover-border-3::after {
    width: 0%;
    height: 0%;
    opacity: 0;
    transition: width 0.2s 0.15s linear, height 0.15s linear, opacity 0s 0.35s;
}

.btn.hover-border-3::before {
    top: 0;
    right: 0;
    border-top: 1px solid rgb(28, 31, 30);
    border-left: 1px solid rgb(28, 31, 30);
}

.btn.hover-border-3::after {
    bottom: 0;
    left: 0;
    border-bottom: 1px solid rgb(28, 31, 30);
    border-right: 1px solid rgb(28, 31, 30);
}

.btn.hover-border-3:hover::before,
.btn.hover-border-3:hover::after {
    width: 100%;
    height: 99%;
    opacity: 1;
    transition: width 0.2s linear, height 0.15s 0.2s linear, opacity 0s;
}

/* 14. hover-border-4 */
.btn.hover-border-4::before,
.btn.hover-border-4::after {
    width: 0%;
    height: 0%;
    opacity: 0;
    transition: width 0.2s linear, height 0.15s 0.2s ease-out, opacity 0s 0.35s;
}

.btn.hover-border-4::before {
    bottom: 0;
    left: -1px;
    border-top: 1px solid rgb(28, 31, 30);
    border-left: 1px solid rgb(28, 31, 30);
}

.btn.hover-border-4::after {
    top: 0;
    right: 0;
    border-bottom: 1px solid rgb(28, 31, 30);
    border-right: 1px solid rgb(28, 31, 30);
}

.btn.hover-border-4:hover::before,
.btn.hover-border-4:hover::after {
    width: 100%;
    height: 99%;
    opacity: 1;
    transition: width 0.2s 0.15s ease-out, height 0.15s ease-in, opacity 0s;
}

/* 15. hover-border-5 */
.btn.hover-border-5::before,
.btn.hover-border-5::after {
    width: 0%;
    height: 0%;
    opacity: 0;
}

.btn.hover-border-5::before {
    top: 0;
    right: 0;
    border-top: 1px solid rgb(28, 31, 30);
    border-left: 1px solid rgb(28, 31, 30);
    transition: width 0.2s 0.5s ease-out, height 0.15s 0.35s linear, opacity 0s 0.7s;
}

.btn.hover-border-5::after {
    bottom: 0;
    left: 0px;
    border-bottom: 1px solid rgb(28, 31, 30);
    border-right: 1px solid rgb(28, 31, 30);
    transition: width 0.2s 0.15s linear, height 0.15s ease-in, opacity 0s 0.35s;
}

.btn.hover-border-5:hover::before,
.btn.hover-border-5:hover::after {
    width: 100%;
    height: 96%;
    opacity: 1;
}

.btn.hover-border-5:hover::before {
    transition: width 0.2s ease-in, height 0.15s 0.2s linear, opacity 0s;
    /* 1,2 */
}

.btn.hover-border-5:hover::after {
    transition: width 0.2s 0.35s linear, height 0.15s 0.5s ease-out, opacity 0s 0.3s;
}

/*--- btn-4 ---*/
.btn-4 span {
    color: rgb(28, 31, 30);
    background-color: rgb(245, 245, 245);
}

.btn-4 span:hover {
    color: rgb(54, 56, 55);
}

.btn-4::before,
.btn-4::after {
    width: 15%;
    height: 2px;
    background-color: rgb(54, 56, 55);
    z-index: 2;
}

/* 16. hover-border-6 */
.btn.hover-border-6::before,
.btn.hover-border-6::after {
    top: 0;
    transition: width 0.2s 0.35s ease-out;
}

.btn.hover-border-6::before {
    right: 50%;
}

.btn.hover-border-6::after {
    left: 50%;
}

.btn.hover-border-6:hover::before,
.btn.hover-border-6:hover::after {
    width: 50%;
    transition: width 0.2s ease-in;
}

.btn.hover-border-6 span::before,
.btn.hover-border-6 span::after {
    width: 0%;
    height: 0%;
    background: transparent;
    opacity: 0;
    z-index: 2;
    transition: width 0.2s ease-in, height 0.15s 0.2s linear, opacity 0s 0.35s;
}

.btn.hover-border-6 span::before {
    top: 0;
    left: 0;
    border-left: 2px solid rgb(54, 56, 55);
    border-bottom: 2px solid rgb(54, 56, 55);
}

.btn.hover-border-6 span::after {
    top: 0;
    right: 0;
    border-right: 2px solid rgb(54, 56, 55);
    border-bottom: 2px solid rgb(54, 56, 55);
}

.btn.hover-border-6 span:hover::before,
.btn.hover-border-6 span:hover::after {
    width: 50%;
    height: 96%;
    opacity: 1;
    transition: height 0.2s 0.2s ease-in, width 0.2s 0.4s linear, opacity 0s 0.2s;
}

/* 17. hover-border-7 */
.btn.hover-border-7::before,
.btn.hover-border-7::after {
    bottom: 0;
    transition: width 0.2s 0.35s ease-out;
}

.btn.hover-border-7::before {
    right: 50%;
}

.btn.hover-border-7::after {
    left: 50%;
}

.btn.hover-border-7:hover::before,
.btn.hover-border-7:hover::after {
    width: 50%;
    transition: width 0.2s ease-in;
}

.btn.hover-border-7 span::before,
.btn.hover-border-7 span::after {
    width: 0%;
    height: 0%;
    background: transparent;
    opacity: 0;
    z-index: 2;
    transition: width 0.2s ease-in, height 0.15s 0.2s linear, opacity 0s 0.35s;
}

.btn.hover-border-7 span::before {
    bottom: 0;
    left: 0;
    border-left: 2px solid rgb(54, 56, 55);
    border-top: 2px solid rgb(54, 56, 55);
}

.btn.hover-border-7 span::after {
    bottom: 0;
    right: 0;
    border-right: 2px solid rgb(54, 56, 55);
    border-top: 2px solid rgb(54, 56, 55);
}

.btn.hover-border-7 span:hover::before,
.btn.hover-border-7 span:hover::after {
    width: 50%;
    height: 96%;
    opacity: 1;
    transition: height 0.2s 0.2s ease-in, width 0.2s 0.4s linear, opacity 0s 0.2s;
}

/* 18. hover-border-8 */
.btn.hover-border-8::before,
.btn.hover-border-8::after {
    bottom: 0;
    width: 15%;
    transition: width 0.2s 0.35s ease-out;
}

.btn.hover-border-8::before {
    right: 50%;
}

.btn.hover-border-8::after {
    left: 50%;
}

.btn.hover-border-8:hover::before {
    width: 50%;
    transition: width 0.2s ease-in;
}

.btn.hover-border-8:hover::after {
    width: 50%;
    transition: width 0.1s ease-in;
}

.btn.hover-border-8 span::before,
.btn.hover-border-8 span::after {
    width: 0%;
    height: 0%;
    bottom: 0;
    background: transparent;
    opacity: 0;
    z-index: 2;
}

.btn.hover-border-8 span::before {
    left: 0%;
    border-left: 2px solid rgb(54, 56, 55);
    transition: height 0.25s ease-in, opacity 0s 0.35s;
}

.btn.hover-border-8 span:hover::before {
    height: 96%;
    opacity: 1;
    transition: height 0.25s 0.2s ease-out, opacity 0s 0.2s;
}

.btn.hover-border-8 span::after {
    right: 0%;
    border-right: 2px solid rgb(54, 56, 55);
    border-top: 2px solid rgb(54, 56, 55);
    transition: width 0.2s ease-in, height 0.15s 0.2s linear, opacity 0s 0.35s;
}

.btn.hover-border-8 span:hover::after {
    width: 99%;
    height: 96%;
    opacity: 1;
    transition: height 0.15s 0.1s linear, width 0.2s 0.25s linear, opacity 0s 0.1s;
}

/* 19. hover-border-9 */
.btn.hover-border-9::before,
.btn.hover-border-9::after {
    bottom: 0;
    width: 15%;
    transition: width 0.2s 0.35s ease-out;
}

.btn.hover-border-9::before {
    right: 50%;
}

.btn.hover-border-9::after {
    left: 50%;
}

.btn.hover-border-9:hover::before {
    width: 50%;
    transition: width 0.1s ease-in;
}

.btn.hover-border-9:hover::after {
    width: 50%;
    transition: width 0.2s ease-in;
}

.btn.hover-border-9 span::before,
.btn.hover-border-9 span::after {
    width: 0%;
    height: 0%;
    bottom: 0;
    background: transparent;
    opacity: 0;
    z-index: 2;
}

.btn.hover-border-9 span::after {
    right: 0%;
    border-right: 2px solid rgb(54, 56, 55);
    transition: height 0.25s ease-in, opacity 0s 0.35s;
}

.btn.hover-border-9 span:hover::after {
    height: 96%;
    opacity: 1;
    transition: height 0.25s 0.2s ease-out, opacity 0s 0.2s;
}

.btn.hover-border-9 span::before {
    left: 0%;
    border-left: 2px solid rgb(54, 56, 55);
    border-top: 2px solid rgb(54, 56, 55);
    transition: width 0.2s ease-in, height 0.15s 0.2s linear, opacity 0s 0.35s;
}

.btn.hover-border-9 span:hover::before {
    width: 98.5%;
    height: 96%;
    opacity: 1;
    transition: height 0.15s 0.1s linear, width 0.2s 0.25s linear, opacity 0s 0.1s;
}

/* 20. hover-border-10 */
.btn.hover-border-10::before,
.btn.hover-border-10::after {
    left: 0%;
    height: 30%;
    width: 2px;
    transition: height 0.2s 0.35s ease-out;
}

.btn.hover-border-10::before {
    top: 50%;
}

.btn.hover-border-10::after {
    bottom: 50%;
}

.btn.hover-border-10:hover::before {
    height: 50%;
    transition: height 0.2s ease-in;
}

.btn.hover-border-10:hover::after {
    height: 50%;
    transition: height 0.1s ease-in;
}

.btn.hover-border-10 span::before,
.btn.hover-border-10 span::after {
    width: 0%;
    height: 0%;
    background: transparent;
    opacity: 0;
    z-index: 2;
}

.btn.hover-border-10 span::after {
    bottom: 0;
    left: 0%;
    border-bottom: 2px solid rgb(54, 56, 55);
    transition: width 0.25s ease-in, opacity 0s 0.35s;
}

.btn.hover-border-10 span:hover::after {
    width: 100%;
    opacity: 1;
    transition: width 0.25s 0.2s ease-out, opacity 0s 0.2s;
}

.btn.hover-border-10 span::before {
    top: 0%;
    left: 0%;
    border-top: 2px solid rgb(54, 56, 55);
    border-right: 2px solid rgb(54, 56, 55);
    transition: height 0.15s ease-in, width 0.2s 0.15s linear, opacity 0s 0.35s;
}

.btn.hover-border-10 span:hover::before {
    width: 98.5%;
    height: 96%;
    opacity: 1;
    transition: width 0.2s 0.1s linear, height 0.15s 0.3s ease-out, opacity 0s 0.1s;
}

/*--- btn-5 ---*/
.btn-5 span {
    color: rgb(28, 31, 30);
    border: 2px solid rgb(249, 211, 27);
    transition: 0.2s;
}

.btn-5 span:hover {
    background-color: rgb(245, 245, 245);
}

/* 21. hover-border-11 */
.btn.hover-border-11::before,
.btn.hover-border-11::after {
    width: 100%;
    height: 2px;
    background-color: rgb(54, 56, 55);
    z-index: 2;
    transition: 0.35s;
}

.btn.hover-border-11::before {
    top: 0;
    right: 0;
}

.btn.hover-border-11::after {
    bottom: 0;
    left: 0;
}

.btn.hover-border-11:hover::before,
.btn.hover-border-11:hover::after {
    width: 0%;
    transition: 0.2s 0.2s ease-out;
}

.btn.hover-border-11 span::before,
.btn.hover-border-11 span::after {
    width: 2px;
    height: 100%;
    background-color: rgb(54, 56, 55);
    z-index: 2;
    transition: 0.25s;
}

.btn.hover-border-11 span::before {
    bottom: 0;
    right: -2px;
}

.btn.hover-border-11 span::after {
    top: 0;
    left: -2px;
}

.btn.hover-border-11 span:hover::before,
.btn.hover-border-11 span:hover::after {
    height: 0%;
}

.project-card:hover {
    /*transform: translateY(-8px);*/
    border-color: var(--accent);
    cursor: default;
}

.project-icon {
    font-size: 3em;
    margin-bottom: 20px;
}


.project-title {
    font-size: 1.5em;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    overflow: hidden;
    padding: 0;
}

.project-tags li {
    float: left;
}

.tag {
    background: #eee;
    border-radius: 3px 0 0 3px;
    color: #999;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 20px 0 23px;
    position: relative;
    margin: 0 10px 10px 0;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.85em;
    font-weight: 500;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
}

.tag::before {
    background: #fff;
    border-radius: 10px;
    box-shadow: inset 0 1px rgba(0, 0, 0, 0.25);
    content: '';
    height: 6px;
    left: 10px;
    position: absolute;
    width: 6px;
    top: 10px;
}

.tag::after {
    background: #fff;
    border-bottom: 13px solid transparent;
    border-left: 10px solid #eee;
    border-top: 13px solid transparent;
    content: '';
    position: absolute;
    right: 0;
    top: 0;
}

.tag:hover {
    background-color: var(--accent);
    color: white;
}

.tag:hover::after {
    border-left-color: var(--accent);
}

/* ===================================
   Skills Section - RPG Style Squares
   =================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
}

.skill-category h3 {
    font-size: 1.3em;
    margin-bottom: 25px;
    color: var(--accent);
}

.skill-list {
    list-style: none;
}

.skill-list li {
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.skill-name {
    flex: 1;
    font-size: 0.95em;
    color: var(--text-primary);
}

.skill-squares {
    display: flex;
    gap: 6px;
}

.skill-square {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    background: transparent;
    transition: all 0.3s ease;
}

.skill-square.filled {
    background: var(--accent);
    border-color: var(--accent);
}

/* Hover effect */
.skill-list li:hover .skill-square {
    border-color: var(--accent);
}

.skill-list li:hover .skill-square.filled {
    opacity: 0.8;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.stat-item {
    display: grid;
    text-align: left;
}

.stat-number {
    font-size: 3em;
    font-weight: 700;
    color: var(--accent);
    display: block;
    margin-bottom: 10px;
}

.stat-container {
    align-items: left;
    display: flex;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
    list-style: none;
    align-items: left;
    gap: 8px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 1.1em;
    align-items: left;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    text-align: left;
}

.stat-label-label {
    color: var(--text-secondary);
    font-size: 1.5em;
    gap: 8px;
    text-decoration: none;
    font-weight: 400;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
    list-style: none;
    align-items: center;
    align-content: center;
    text-align: left;
    margin-bottom: 20px;
}

.stat-label-label-label {
    color: var(--text-secondary);
    font-size: 1.25em;
    gap: 8px;
    text-decoration: none;
    font-weight: 400;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
    list-style: none;
    align-items: center;
    align-content: center;
    text-align: center;
}

/* Contact Section */
.contact-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1em;
    transition: all 0.3s ease;
    padding: 15px 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.contact-link:hover {
    color: var(--accent);
    border-color: var(--accent);
    transform: translateX(5px);
}

.contact-icon {
    font-size: 1.5em;
}

footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.85em;
    margin-top: 80px;
    opacity: 0.6;
}

/* ===================================
   Project Detail Page Styles
   =================================== */

.back-button-container {
    margin-bottom: 40px;
}












.project-hero {
    margin-bottom: 60px;
}

.project-hero h1 {
    font-family: "Passion One", sans-serif;
    font-size: 4em;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.1;
}

.project-hero-content {
    max-width: 900px;
}

.project-page-title {
    font-family: "Passion One", sans-serif;
    font-size: 4em;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.1;
}

.project-page-subtitle {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 20px;
    max-width: 800px;
    font-family: "Ubuntu", sans-serif;
    font-style: normal;
    font-weight: 400;
}

.project-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Project Media */
.project-media {
    margin-bottom: 80px;
}

.project-image-large {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.placeholder-image {
    width: 100%;
    height: 500px;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: var(--text-secondary);
    border: 2px dashed var(--border);
}

/* Project Overview */
.project-overview p {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.feature-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Technical Details */
.tech-details {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 40px;
    margin-top: 40px;
}

.tech-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

.tech-row:last-child {
    border-bottom: none;
}

.tech-label {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 180px;
}

.tech-value {
    color: var(--text-secondary);
}

/* Challenges */
.challenges-list {
    margin-top: 40px;
}

.challenge-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.challenge-item h3 {
    color: var(--accent);
    margin-bottom: 15px;
    font-size: 1.3em;
}

.challenge-item p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 10px;
}

.challenge-item strong {
    color: var(--text-primary);
}

/* Screenshots Gallery */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.screenshot-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===================================
   Lightbox Modal for Images
   =================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
    z-index: 1;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
    transition: transform 0.2s ease;
}

.lightbox-close:hover {
    transform: scale(1.2);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: #fff;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 20px;
    border-radius: 8px;
    transition: background 0.3s ease;
    user-select: none;
    z-index: 2;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-caption {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 1.1em;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
    }

    to {
        transform: scale(1);
    }
}

/* Make screenshots clickable */
.screenshot-item {
    cursor: pointer;









}





/* ===================================
   Project Video Player with Custom Controls
   =================================== */
.project-video-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: #000;
    position: relative;
    cursor: pointer;
}

.project-video-container video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
}

/* Custom Play/Pause Button */
.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: 3px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.video-play-button:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Play Icon */
.video-play-button .play-icon {
    width: 0;
    height: 0;
    border-left: 25px solid #fff;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

/* Pause Icon */
.video-play-button .pause-icon {
    display: none;
    width: 30px;
    height: 30px;
    position: relative;
}

.video-play-button .pause-icon::before,
.video-play-button .pause-icon::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 30px;
    background: #fff;
}

.video-play-button .pause-icon::before {
    left: 5px;
}

.video-play-button .pause-icon::after {
    right: 5px;
}

.video-play-button.playing .play-icon {
    display: none;
}

.video-play-button.playing .pause-icon {
    display: block;
}















/* Learnings */
.learning-list {
    list-style: none;
    margin-top: 30px;
}

.learning-list li {
    padding: 15px 0;
    padding-left: 40px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    position: relative;
    font-size: 1.1em;
    line-height: 1.6;
}

.learning-list li:last-child {
    border-bottom: none;
}

.learning-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.5em;
}

/* Project CTA */
.project-cta {
    text-align: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 60px 40px;
}

.project-cta h2 {
    margin-bottom: 15px;
}

.project-cta p {
    color: var(--text-secondary);
    font-size: 1.2em;
    margin-bottom: 30px;
}

.project-cta .project-actions {
    justify-content: center;
}



































/* Responsive */
@media (max-width: 768px) {

    body {

        font-family: "Ubuntu", sans-serif;
        font-weight: 300;
        font-style: normal;
        line-height: 1.5;
        background-color: var(--bg-color);
        color: var(--text-primary);
        transition: all 0.3s ease;

        margin-top: 25%;
    }

    .project-video-container video {
        max-height: 400px;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
    }

    .video-play-button .play-icon {
        border-left: 18px solid #fff;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
    }

    .video-play-button .pause-icon {
        width: 20px;
        height: 20px;
    }

    .video-play-button .pause-icon::before,
    .video-play-button .pause-icon::after {
        width: 6px;
        height: 20px;
    }

    .lightbox-nav {
        font-size: 30px;
        padding: 10px;
    }

    .lightbox-close {
        top: -50px;
        font-size: 30px;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .project-page-title {
        font-size: 2.5em;
    }

    .project-page-subtitle {
        font-size: 1.2em;
    }

    .placeholder-image {
        height: 300px;
    }

    .tech-row {
        flex-direction: column;
        gap: 5px;
    }

    .tech-label {
        min-width: auto;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }


    .nav-container {
        padding: 15px 20px;
    }

    .logo {
        z-index: 1001;
    }

    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--card-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 20px 40px;
        gap: 30px;
        transition: left 0.3s ease;
        border-right: 1px solid var(--border);
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;

    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: left;
        display: flex;
    }

    .nav-links a {
        display: block;
        font-size: 1.2em;
        text-align: left;
        padding: 15px;
        border-bottom: 1px solid var(--border);
    }

    .theme-toggle {
        width: 100%;
        margin-top: 20px;
    }

    .container {
        padding: 20px 20px 20px;
    }

    .hero h1 {
        font-size: 2.5em;
    }

    .hero-subtitle {
        font-size: 1.2em;
    }

    .section-title {
        font-size: 2em;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }


    .project-card {
        flex-direction: column;
        align-items: flex-start;
        /* keep text aligned left */
    }

    /* Right side: image fully flush on the right and full height */
    .project-image {
        width: 100%;
        /* adjust % as needed */
        height: 100%;
        /* fill full card height */
        object-fit: cover;
        /* crop image properly */
        height: 100%;
        object-fit: cover;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }



    .project-image-left {
        width: 100%;
        /* adjust % as needed */
        height: 100%;
        /* fill full card height */
        object-fit: cover;
        /* crop image properly */
        height: 100%;
        object-fit: cover;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }


    .hero-cta {
        flex-direction: column;
    }

    .btn {
        text-align: center;
    }

    .experience-header {
        flex-direction: column;
        align-items: start;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--accent);
    color: #FFFFFF;
}