/* ===========================
   GOOGLE FONT
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050505;
    color:#fff;
    overflow-x:hidden;
    line-height:1.7;
}

a{
    text-decoration:none;
    color:inherit;
}

img{
    width:100%;
    display:block;
}

ul{
    list-style:none;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===========================
   BACKGROUND
=========================== */

.background{
    position:fixed;
    inset:0;
    z-index:-5;
    overflow:hidden;
    background:#050505;
}

.blob{
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.25;
    animation:blobMove 12s ease-in-out infinite alternate;
}

.blob1{
    background:#ff7b00;
    top:-150px;
    left:-120px;
}

.blob2{
    background:#ff5100;
    right:-120px;
    bottom:-150px;
}

@keyframes blobMove{

0%{
transform:scale(1) translate(0,0);
}

100%{
transform:scale(1.35) translate(80px,-40px);
}

}

/* ===========================
   NAVBAR
=========================== */

.navbar{
    position:fixed;
    width:100%;
    top:0;
    left:0;
    z-index:999;
    backdrop-filter:blur(16px);
    background:rgba(0,0,0,.45);
    border-bottom:1px solid rgba(255,255,255,.06);
}

.navbar .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:80px;
}

.logo{
    font-size:30px;
    font-weight:700;
    letter-spacing:1px;
}

.logo span{
    color:#ff7b00;
}

.nav-links{
    display:flex;
    gap:38px;
}

.nav-links a{
    font-size:15px;
    transition:.35s;
    position:relative;
}

.nav-links a::after{
    content:'';
    position:absolute;
    left:0;
    bottom:-8px;
    width:0;
    height:2px;
    background:#ff7b00;
    transition:.35s;
}

.nav-links a:hover{
    color:#ff7b00;
}

.nav-links a:hover::after{
    width:100%;
}

.menu-btn{
    display:none;
    font-size:26px;
    cursor:pointer;
}

/* ===========================
   HERO
=========================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    position:relative;
}

.hero-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    align-items:center;
    gap:70px;
}

.subtitle{
    color:#ff7b00;
    letter-spacing:3px;
    margin-bottom:15px;
    font-weight:600;
}

.hero h1{
    font-size:65px;
    line-height:1.1;
    margin-bottom:12px;
}

.hero h2{
    font-size:30px;
    color:#ff7b00;
    margin-bottom:20px;
    min-height:40px;
}

.hero-text{
    color:#cfcfcf;
    margin-bottom:35px;
    max-width:550px;
}

.hero-buttons{
    display:flex;
    gap:18px;
    margin-bottom:40px;
}

.primary-btn,
.secondary-btn{
    padding:15px 34px;
    border-radius:50px;
    font-weight:600;
    transition:.35s;
}

.primary-btn{
    background:#ff7b00;
    color:#fff;
}

.primary-btn:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 35px rgba(255,123,0,.35);
}

.secondary-btn{
    border:2px solid #ff7b00;
}

.secondary-btn:hover{
    background:#ff7b00;
}

.social-icons{
    display:flex;
    gap:18px;
}

.social-icons a{
    width:48px;
    height:48px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111;
    transition:.35s;
    font-size:18px;
}

.social-icons a:hover{
    background:#ff7b00;
    transform:translateY(-6px);
}

.image-box{
    width:420px;
    height:420px;
    margin:auto;
    position:relative;
}

.circle{
    position:absolute;
    inset:0;
    border-radius:50%;
    border:8px solid #ff7b00;
}

.image-box img{
    position:absolute;
    top:22px;
    left:22px;
    width:calc(100% - 44px);
    height:calc(100% - 44px);
    border-radius:50%;
    object-fit:cover;
    object-position:center top;
    z-index:5;
}
@keyframes rotateCircle{

100%{
transform:rotate(360deg);
}

}

.scroll-down{
    position:absolute;
    bottom:35px;
    left:50%;
    transform:translateX(-50%);
    animation:bounce 1.8s infinite;
}

.scroll-down i{
    font-size:32px;
    color:#ff7b00;
}

@keyframes bounce{

50%{
transform:translateY(10px);
}

}

/* ===========================
   SECTIONS
=========================== */

section{
    padding:110px 0;
}

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:42px;
}

.line{
    width:90px;
    height:4px;
    margin:15px auto;
    background:#ff7b00;
    border-radius:30px;
}

/* ===========================
   ABOUT
=========================== */

.about-content{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:55px;
    align-items:center;
}

.about-text p{
    margin-bottom:25px;
    color:#cfcfcf;
}

.about-cards{
    display:grid;
    gap:22px;
}

.card{
    background:#101010;
    padding:28px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.05);
    transition:.35s;
}

.card:hover{
    transform:translateY(-8px);
    border-color:#ff7b00;
}

.card h3{
    margin-bottom:10px;
    color:#ff7b00;
}

.card span{
    color:#bcbcbc;
}

/* ===========================
   SKILLS
=========================== */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
}

.skill-card{
    background:#101010;
    padding:40px 20px;
    border-radius:18px;
    text-align:center;
    overflow:visible;
    transition:.35s;
    border:1px solid rgba(255,255,255,.05);
}

.skill-card i{
    font-size:42px;
    color:#ff7b00;
    margin-bottom:20px;
    transition:all .35s ease;
}

.skill-card h3{
    font-size:18px;
    transition:all .35s ease;
}

.skill-card:hover{
    transform:translateY(-12px) scale(1.15);
    border-color:#ff7b00;
    box-shadow:0 25px 50px rgba(255,123,0,.35);
}

/* ===========================
   EXPERIENCE
=========================== */

.timeline{
    position:relative;
    max-width:900px;
    margin:auto;
}

.timeline::before{
    content:'';
    position:absolute;
    left:50%;
    top:0;
    width:3px;
    height:100%;
    background:#ff7b00;
    transform:translateX(-50%);
}

.timeline-item{
    width:50%;
    padding:20px 40px;
    position:relative;
}

.timeline-item:nth-child(odd){
    left:0;
    text-align:right;
}

.timeline-item:nth-child(even){
    left:50%;
}

.timeline-content{
    background:#101010;
    padding:28px;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.06);
    transition:.35s;
    position:relative;
}

.timeline-content:hover{
    transform:translateY(-8px);
    border-color:#ff7b00;
    box-shadow:0 18px 40px rgba(255,123,0,.18);
}

.timeline-content h3{
    color:#ff7b00;
    margin-bottom:8px;
}

.timeline-content h4{
    margin-bottom:8px;
}

.timeline-content span{
    display:inline-block;
    margin-bottom:15px;
    color:#bcbcbc;
    font-size:14px;
}

.timeline-content p{
    color:#d2d2d2;
}

.timeline-item::before{
    content:'';
    position:absolute;
    top:38px;
    width:18px;
    height:18px;
    background:#ff7b00;
    border-radius:50%;
    z-index:5;
}

.timeline-item:nth-child(odd)::before{
    right:-10px;
}

.timeline-item:nth-child(even)::before{
    left:-9px;
}

/* ===========================
   PROJECTS
=========================== */

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:30px;
}

.project-card{
    background:#101010;
    border-radius:20px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.05);
    transition:.4s;
}

.project-card img{
    height:230px;
    object-fit:cover;
    transition:.5s;
}

.project-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
    position: relative;
}

.project-video iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.video-expand {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

.project-card:hover{
    transform:translateY(-12px);
    border-color:#ff7b00;
    box-shadow:0 20px 45px rgba(255,123,0,.22);
}

.project-card img{
    height:230px;
    object-fit:cover;
    transition:.5s;
}

.project-card:hover img{
    transform:scale(1.08);
}

.project-content{
    padding:25px;
}

.project-content h3{
    color:#ff7b00;
    margin-bottom:15px;
}

.project-content p{
    color:#cfcfcf;
}

/* ===========================
   CONTACT
=========================== */

.contact-box{
    max-width:850px;
    margin:auto;
    text-align:center;
    background:#101010;
    border-radius:22px;
    padding:60px 40px;
    border:1px solid rgba(255,255,255,.05);
}

.contact-box h3{
    font-size:34px;
    margin-bottom:20px;
}

.contact-box p{
    color:#cfcfcf;
    max-width:620px;
    margin:auto;
    margin-bottom:35px;
}

.contact-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* ===========================
   FOOTER
=========================== */

footer{
    padding:30px 0;
    border-top:1px solid rgba(255,255,255,.08);
    text-align:center;
    color:#a9a9a9;
    background:#080808;
}

/* ===========================
   SCROLLBAR
=========================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#090909;
}

::-webkit-scrollbar-thumb{
    background:#ff7b00;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#ff5e00;
}

/* ===========================
   SELECTION
=========================== */

::selection{
    background:#ff7b00;
    color:#fff;
}

/* ===========================
   ANIMATIONS
=========================== */

@keyframes fadeUp{

0%{
opacity:0;
transform:translateY(40px);
}

100%{
opacity:1;
transform:translateY(0);
}

}

.hero-left{
    animation:fadeUp .9s ease;
}

.hero-right{
    animation:fadeUp 1.2s ease;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1100px){

.hero-container{
grid-template-columns:1fr;
text-align:center;
}

.hero-text{
margin:auto auto 35px;
}

.hero-buttons,
.social-icons{
justify-content:center;
}

.image-box{
margin-top:40px;
}

.about-content{
grid-template-columns:1fr;
}

.skills-grid{
grid-template-columns:repeat(2,1fr);
}

.timeline::before{
left:30px;
}

.timeline-item{
width:100%;
left:0!important;
padding-left:75px;
padding-right:10px;
text-align:left!important;
}

.timeline-item::before{
left:22px!important;
}

}

@media(max-width:768px){

.nav-links{
position:fixed;
top:80px;
left:-100%;
width:100%;
background:#090909;
display:flex;
flex-direction:column;
align-items:center;
padding:40px 0;
gap:28px;
transition:.4s;
}

.nav-links.active{
left:0;
}

.menu-btn{
display:block;
}

.hero h1{
font-size:46px;
}

.hero h2{
font-size:24px;
}

.section-title h2{
font-size:34px;
}

.image-box{
width:320px;
height:320px;
}

.contact-box{
padding:45px 25px;
}

.contact-box h3{
font-size:28px;
}

}

@media(max-width:600px){

.container{
width:92%;
}

.hero{
padding-top:120px;
}

.hero-buttons{
flex-direction:column;
align-items:center;
}

.primary-btn,
.secondary-btn{
width:100%;
max-width:280px;
text-align:center;
}

.skills-grid{
grid-template-columns:1fr;
}

.project-grid{
grid-template-columns:1fr;
}

.image-box{
width:270px;
height:270px;
}

.hero h1{
font-size:38px;
}

.hero h2{
font-size:22px;
}

.subtitle{
font-size:14px;
letter-spacing:2px;
}

.social-icons{
flex-wrap:wrap;
}

}

@media(max-width:400px){

.logo{
font-size:24px;
}

.hero h1{
font-size:32px;
}

.section-title h2{
font-size:28px;
}

.image-box{
width:230px;
height:230px;
}

.card,
.timeline-content,
.project-card,
.contact-box,
.skill-card{
border-radius:15px;
}

}

/* ===========================
   EXTRA HOVER EFFECTS
=========================== */

.card,
.skill-card,
.project-card,
.timeline-content,
.contact-box{
transition:
transform .35s ease,
box-shadow .35s ease,
border-color .35s ease;
}

.primary-btn,
.secondary-btn,
.social-icons a{
transition:
background .35s ease,
transform .35s ease,
box-shadow .35s ease;
}

/* ===========================
   END OF FILE
=========================== */

/* ==========================
   EXPERIENCE ACCORDION
========================== */

.experience-accordion{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.accordion-item{
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:18px;
    overflow:hidden;
    transition:0.4s ease;
}

.accordion-item:hover{
    border-color:#ff8c00;
    transform:translateY(-4px);
}


.accordion-header{
    width:100%;
    background:transparent;
    border:none;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 28px;
    cursor:pointer;
    font-size:1.1rem;
    font-weight:600;
    text-align:left;
}

.accordion-header span{
    display:flex;
    align-items:center;
    gap:12px;
}

.accordion-header i{
    color:#ff8c00;
    transition:transform .3s ease;
}



.accordion-content{
    max-height:0;
    overflow:hidden;
    padding:0 28px;
    transition:max-height .4s ease, padding .4s ease;
}

.accordion-item.active .accordion-content{
    max-height:500px;
    padding:0 28px 24px;
}

.accordion-content h4{
    color:#ff8c00;
    margin-bottom:8px;
}

.accordion-content span{
    display:block;
    margin-bottom:18px;
    color:#bfbfbf;
    font-size:.95rem;
}

.accordion-content ul{
    padding-left:20px;
}

.accordion-content li{
    margin-bottom:10px;
    line-height:1.7;
}

.accordion-item.active .accordion-header i{
    transform:rotate(180deg);
}


/* ==========================
   SKILL CARD HOVER EFFECT
========================== */

.skills-grid:hover .skill-card:not(:hover){
    opacity:.45;
    transform:scale(.96);
    filter:blur(.5px);
}

.skills-grid .skill-card{
    transition:
        transform .35s ease,
        box-shadow .35s ease,
        opacity .35s ease,
        filter .35s ease,
        background .35s ease;
}

.skills-grid .skill-card:hover{

    opacity:1;

    transform: translateY(-20px) scale(1.25);

    transform-origin: center;

    z-index:100;

    border-color:#ff8c00;

    background:
    linear-gradient(
        135deg,
        rgba(255,140,0,.18),
        rgba(255,255,255,.05)
    );

    box-shadow:
        0 0 18px rgba(255,140,0,.35),
        0 18px 35px rgba(0,0,0,.35);

}


/* Grow icon on hover */
.skills-grid .skill-card:hover i{
    transform:scale(1.35);
    filter:drop-shadow(0 0 12px rgba(255,140,0,.8));
}

/* Grow text on hover */
.skills-grid .skill-card:hover h3{
    transform:scale(1.12);
    letter-spacing:.5px;
}



/* ===========================
   VIDEO LIGHTBOX
=========================== */

.video-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 30px;
}

.video-lightbox-content {
    width: min(1100px, 95vw);
    aspect-ratio: 16 / 9;
    background: #000;
}

.video-lightbox-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-close {
    position: absolute;
    top: 25px;
    right: 35px;
    background: none;
    border: none;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 10001;
}




/* =========================================================
   CHINESE BLACK THEME
   ========================================================= */

:root {
    --chinese-black: #0C1519;
    --dark-jungle: #162127;
    --jet: #3A3534;
    --coffee: #724B39;
    --antique-brass: #CF9D7B;

    --text-primary: #F2EDE7;
    --text-secondary: #B8B1AA;
}


/* GLOBAL */
body {
    background: var(--chinese-black);
    color: var(--text-primary);
}

.background {
    background: var(--chinese-black);
}


/* BACKGROUND BLOBS */
.blob1 {
    background: var(--coffee);
}

.blob2 {
    background: var(--dark-jungle);
}


/* NAVBAR */
.navbar {
    background: rgba(12, 21, 25, 0.72);
    border-bottom: 1px solid rgba(207, 157, 123, 0.12);
}

.logo span {
    color: var(--antique-brass);
}

.nav-links a:hover {
    color: var(--antique-brass);
}

.nav-links a::after {
    background: var(--antique-brass);
}


/* HERO */
.subtitle {
    color: var(--antique-brass);
}

.hero h2 {
    color: var(--antique-brass);
}

.hero-text {
    color: var(--text-secondary);
}


/* BUTTONS */
.primary-btn {
    background: var(--antique-brass);
    color: var(--chinese-black);
}

.primary-btn:hover {
    background: #D8AA8C;
    box-shadow: 0 12px 35px rgba(207, 157, 123, 0.28);
}

.secondary-btn {
    border-color: var(--antique-brass);
}

.secondary-btn:hover {
    background: var(--antique-brass);
    color: var(--chinese-black);
}


/* SOCIAL ICONS */
.social-icons a {
    background: var(--dark-jungle);
}

.social-icons a:hover {
    background: var(--antique-brass);
    color: var(--chinese-black);
}


/* HERO IMAGE */
.circle {
    border-color: var(--antique-brass);
}


/* SCROLL DOWN */
.scroll-down i {
    color: var(--antique-brass);
}


/* SECTION TITLES */
.line {
    background: var(--antique-brass);
}


/* ABOUT CARDS */
.card {
    background: var(--dark-jungle);
    border-color: rgba(207, 157, 123, 0.10);
}

.card:hover {
    border-color: var(--antique-brass);
}

.card h3 {
    color: var(--antique-brass);
}

.card span {
    color: var(--text-secondary);
}


/* SKILLS */
.skill-card {
    background: var(--dark-jungle);
    border-color: rgba(207, 157, 123, 0.10);
}

.skill-card i {
    color: var(--antique-brass);
}

.skill-card:hover {
    border-color: var(--antique-brass);

    box-shadow:
        0 0 18px rgba(207, 157, 123, 0.22),
        0 20px 45px rgba(0, 0, 0, 0.35);
}


/* EXPERIENCE */
.timeline::before {
    background: var(--antique-brass);
}

.timeline-item::before {
    background: var(--antique-brass);
}

.timeline-content {
    background: var(--dark-jungle);
    border-color: rgba(207, 157, 123, 0.10);
}

.timeline-content:hover {
    border-color: var(--antique-brass);
}

.timeline-content h3 {
    color: var(--antique-brass);
}

.timeline-content span {
    color: var(--text-secondary);
}

.timeline-content p {
    color: var(--text-secondary);
}


/* EXPERIENCE ACCORDION */
.accordion-item {
    background: var(--dark-jungle);
    border-color: rgba(207, 157, 123, 0.12);
}

.accordion-item:hover {
    border-color: var(--antique-brass);
}

.accordion-header i {
    color: var(--antique-brass);
}

.accordion-content h4 {
    color: var(--antique-brass);
}

.accordion-content span {
    color: var(--text-secondary);
}


/* PROJECTS */
.project-card {
    background: var(--dark-jungle);
    border-color: rgba(207, 157, 123, 0.10);
}

.project-card:hover {
    border-color: var(--antique-brass);

    box-shadow:
        0 20px 45px rgba(207, 157, 123, 0.14);
}

.project-content h3 {
    color: var(--antique-brass);
}

.project-content p {
    color: var(--text-secondary);
}


/* PROJECT VIDEO */
.project-video {
    background: var(--chinese-black);
}

.video-expand {
    background: rgba(12, 21, 25, 0.82);
}

.video-expand:hover {
    background: var(--antique-brass);
    color: var(--chinese-black);
}


/* CONTACT */
.contact-box {
    background: var(--dark-jungle);
    border-color: rgba(207, 157, 123, 0.12);
}


/* FOOTER */
footer {
    background: var(--chinese-black);
    border-top-color: rgba(207, 157, 123, 0.12);
    color: var(--text-secondary);
}


/* MOBILE MENU */
@media (max-width: 768px) {

    .nav-links {
        background: var(--chinese-black);
        border-bottom: 1px solid rgba(207, 157, 123, 0.12);
    }

}


/* SCROLLBAR */
::-webkit-scrollbar-track {
    background: var(--chinese-black);
}

::-webkit-scrollbar-thumb {
    background: var(--antique-brass);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--coffee);
}


/* TEXT SELECTION */
::selection {
    background: var(--antique-brass);
    color: var(--chinese-black);
}


/* VIDEO LIGHTBOX */
.video-lightbox {
    background: rgba(12, 21, 25, 0.94);
}

.video-lightbox-content {
    background: var(--chinese-black);
}


/* SKILL HOVER */
.skills-grid .skill-card:hover {
    border-color: var(--antique-brass);

    background:
        linear-gradient(
            135deg,
            rgba(207, 157, 123, 0.14),
            rgba(22, 33, 39, 0.95)
        );

    box-shadow:
        0 0 18px rgba(207, 157, 123, 0.22),
        0 18px 35px rgba(0, 0, 0, 0.35);
}

.skills-grid .skill-card:hover i {
    filter:
        drop-shadow(
            0 0 12px rgba(207, 157, 123, 0.55)
        );
}


/* =========================================================
   MOUSE FOLLOWING AMBIENT LIGHT
   ========================================================= */

.mouse-glow {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;

    background: radial-gradient(
        circle,
        rgba(207, 157, 123, 0.10) 0%,
        rgba(207, 157, 123, 0.045) 25%,
        rgba(207, 157, 123, 0.015) 50%,
        transparent 72%
    );

    transform: translate(-50%, -50%);
    transition:
        left 0.12s ease-out,
        top 0.12s ease-out;

    filter: blur(8px);
}