/*==============================
Google Font
==============================*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

/*==============================
Variables
==============================*/

:root{
    --bg: #0B1F3A;          /* Navy Blue Background */
    --card: #F5F7FA;        /* Light Card */
    --accent: #FF6B35;      /* Orange Accent */
    --text: #1A1A1A;
    --white: #FFFFFF;
    --gray: #666666;
}

body.dark{

    --bg:#0d0d0d;
    --card:#171717;
    --text:#f5f5f5;
    --gray:#bcbcbc;
    --shadow:0 15px 40px rgba(255,255,255,.05);

}

/*==============================
Reset
==============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;

}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

section{

    width:100%;
    padding:110px 9%;

}

.section-title{

    font-size:18px;
    letter-spacing:4px;
    text-transform:uppercase;
    color:var(--accent);
    margin-bottom:50px;
    font-weight:600;

}

/*==============================
Scrollbar
==============================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--accent);
    border-radius:30px;

}

::-webkit-scrollbar-track{

    background:#ddd;

}

/*==============================
Progress Bar
==============================*/

.progress-bar{

    position:fixed;
    top:0;
    left:0;
    width:0%;
    height:5px;
    background:var(--accent);
    z-index:9999;

}

/*==============================
Cursor
==============================*/

.cursor{

    width:18px;
    height:18px;
    border:2px solid var(--accent);
    border-radius:50%;
    position:fixed;
    pointer-events:none;
    transform:translate(-50%,-50%);
    z-index:9999;
    transition:.08s;

}

/*==============================
Header
==============================*/

header{

    position:fixed;
    top:25px;
    left:50%;
    transform:translateX(-50%);
    width:85%;
    height:72px;

    background:rgba(255,255,255,.08);

    backdrop-filter:blur(15px);

    border-radius:50px;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 35px;

    z-index:1000;

    border:1px solid rgba(255,255,255,.15);

}

.logo{
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.35s ease;
}

.logo:hover{
    color: #FF6B35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

nav ul{

    display:flex;
    gap:45px;

}

nav a{

    color:white;
    font-size:15px;
    transition:.3s;

}

nav a:hover{

    color:var(--accent);

}

#themeBtn{

    width:48px;
    height:48px;
    border:none;
    border-radius:50%;
    background:var(--accent);
    color:white;
    cursor:pointer;
    font-size:18px;
    transition:.35s;

}

#themeBtn:hover{

    transform:rotate(180deg);

}

/*=====================================
HERO SECTION
======================================*/

.hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:1.1fr .9fr;
    align-items:center;
    gap:60px;
    padding:140px 8% 80px;
}

/*=====================================
LEFT SIDE
======================================*/

.hero-left{

    background:var(--card);
    border-radius:30px;
    padding:70px;
    min-height:620px;

    display:flex;
    flex-direction:column;
    justify-content:center;

    box-shadow:var(--shadow);

}

.small-title{

    display:inline-block;

    color:var(--accent);

    background:rgba(255,77,23,.08);

    padding:10px 18px;

    border-radius:50px;

    font-size:14px;

    letter-spacing:2px;

    font-weight:600;

    width:max-content;

    margin-bottom:25px;

}

.hero-left h1{

    font-family:'Cormorant Garamond',serif;

    font-size:72px;

    line-height:1;

    color:var(--text);

    margin-bottom:30px;

}

.hero-left h1 span{

    color:var(--accent);

}

.hero-left p{

    max-width:560px;

    font-size:17px;

    line-height:1.9;

    color:var(--gray);

    margin-bottom:40px;

}

/*=====================================
BUTTONS
======================================*/

.hero-buttons{

    display:flex;

    gap:18px;

    margin-bottom:40px;

    flex-wrap:wrap;

}

.btn{

    background:var(--accent);

    color:#fff;

    padding:16px 36px;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.btn:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(255,77,23,.35);

}

.btn-outline{

    padding:16px 36px;

    border-radius:50px;

    border:2px solid var(--accent);

    color:var(--accent);

    font-weight:600;

    transition:.35s;

}

.btn-outline:hover{

    background:var(--accent);

    color:#fff;

}

/*=====================================
SOCIAL
======================================*/

.hero-social{

    display:flex;

    gap:18px;

}

.hero-social a{

    width:52px;

    height:52px;

    border-radius:50%;

    background:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    color:var(--accent);

    font-size:20px;

    transition:.35s;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

}

.hero-social a:hover{

    background:var(--accent);

    color:#fff;

    transform:translateY(-6px);

}

/*=====================================
HERO SECTION
======================================*/

.hero{
    min-height:100vh;
    display:grid;
    grid-template-columns:48% 52%;
    align-items:stretch;
    gap:0;
    padding:120px 8% 60px;
}

/*=====================================
LEFT SIDE
======================================*/

.hero-left{

    background:var(--card);

    border-radius:30px 0 0 30px;

    padding:70px 60px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    min-height:650px;

    box-shadow:var(--shadow);

}

.small-title{

    display:inline-block;

    width:max-content;

    padding:10px 22px;

    background:rgba(255,77,23,.1);

    color:var(--accent);

    border-radius:50px;

    letter-spacing:2px;

    font-size:14px;

    font-weight:600;

    margin-bottom:30px;

}

.hero-left h1{

    font-family:'Cormorant Garamond',serif;

    font-size:70px;

    line-height:1;

    margin-bottom:25px;

    color:var(--text);

}

.hero-left h1 span{

    color:var(--accent);

}

.hero-left p{

    max-width:520px;

    font-size:17px;

    line-height:1.8;

    color:var(--gray);

    margin-bottom:40px;

}

/*=====================================
BUTTONS
======================================*/

.hero-buttons{

    display:flex;

    gap:20px;

    margin-bottom:40px;

}

.btn{

    padding:16px 38px;

    border-radius:50px;

    background:var(--accent);

    color:#fff;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 25px rgba(255,77,23,.35);

}

.btn-outline{

    padding:16px 38px;

    border-radius:50px;

    border:2px solid var(--accent);

    color:var(--accent);

    font-weight:600;

    transition:.3s;

}

.btn-outline:hover{

    background:var(--accent);

    color:#fff;

}

/*=====================================
SOCIAL
======================================*/

.hero-social{

    display:flex;

    gap:18px;

}

.hero-social a{

    width:50px;

    height:50px;

    border-radius:50%;

    background:#fff;

    color:var(--accent);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:20px;

    transition:.3s;

}

.hero-social a:hover{

    background:var(--accent);

    color:#fff;

    transform:translateY(-5px);

}

/*=====================================
RIGHT SIDE
======================================*/

.hero-right{

    min-height:650px;

    background:#7b7768;

    border-radius:0 30px 30px 0;

    overflow:hidden;

    box-shadow:var(--shadow);

}

/*=====================================
IMAGE
======================================*/

.image-box{

    width:100%;

    height:100%;

}

.image-box img{

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center top;

    transform:scale(1.08);

    transition:.5s;

}

.image-box:hover img{

    transform:scale(1.12);

}

/*=====================================
RESPONSIVE
======================================*/

@media(max-width:992px){

.hero{

grid-template-columns:1fr;

gap:35px;

padding:120px 6% 70px;

}

.hero-left{

border-radius:30px;

padding:45px;

min-height:auto;

align-items:center;

text-align:center;

}

.hero-right{

min-height:520px;

border-radius:30px;

}

.hero-left h1{

font-size:56px;

}

.hero-left p{

max-width:100%;

}

.hero-buttons{

justify-content:center;

flex-wrap:wrap;

}

.hero-social{

justify-content:center;

}

}

@media(max-width:768px){

.hero-left h1{

font-size:46px;

}

.hero-left{

padding:35px;

}

.hero-buttons{

flex-direction:column;

}

.btn,

.btn-outline{

width:100%;

text-align:center;

}

.hero-right{

min-height:420px;

}

}

@media(max-width:480px){

.hero{

padding:110px 5% 50px;

}

.hero-left h1{

font-size:38px;

}

.hero-left p{

font-size:15px;

}

.hero-right{

min-height:360px;

}

}
/*==============================
Floating Animation
==============================*/

@keyframes float{

    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0px);
    }

}

.image-box{

    animation:float 5s ease-in-out infinite;

}

/*==============================
Selection
==============================*/

::selection{

    background:var(--accent);
    color:white;

}
/*=====================================
ABOUT SECTION
======================================*/

.about{
    background:var(--card);
    border-radius:30px;
    margin:80px auto;
    width:90%;
    box-shadow:var(--shadow);
}

.about-content{
    display:grid;
    grid-template-columns:1fr;
    align-items:center;
}

.about-text p {
    max-width: 800px;
    margin: 0 auto;
    margin-bottom:50px;
    text-align: center;
    line-height: 1.8;
    color: var(--gray);
    font-size: 16px;
}
 

.about-text h2{
    font-family:'Cormorant Garamond',serif;
    font-size:70px;
    margin-bottom:25px;
    color:var(--accent);
    line-height:1.1;
}

/* .about-text p{
    color:var(--gray);
    font-size:16px;
    line-height:1.9;
    max-width:750px;
    margin-bottom:50px;
} */

/*=====================================
STATS
======================================*/

.stats{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.stats div{
    background:white;
    padding:35px;
    border-radius:20px;
    text-align:center;
    transition:.4s;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

body.dark .stats div{
    background:#222;
}

.stats div:hover{
    transform:translateY(-10px);
}

.stats h3{
    font-size:42px;
    color:var(--accent);
    margin-bottom:10px;
}

.stats span{
    color:var(--gray);
    font-size:15px;
}

/*=====================================
SKILLS
======================================*/

.skills{
    padding-top:80px;
}

.skill-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:25px;
}

.skill-grid div{
    background:var(--card);
    padding:30px;
    border-radius:20px;
    text-align:center;
    font-weight:600;
    font-size:18px;
    cursor:pointer;
    transition:.4s;
    box-shadow:var(--shadow);
}

.skill-grid div:hover{
    background:var(--accent);
    color:white;
    transform:translateY(-10px) scale(1.05);
}

/*=====================================
PROJECTS
======================================*/

.projects{
    padding-top:120px;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(330px,1fr));
    gap:35px;
}

/*=====================================
PROJECT CARD
======================================*/

.project-card{
    position:relative;
    overflow:hidden;
    border-radius:25px;
    height:450px;
    cursor:pointer;
    box-shadow:var(--shadow);
}

.project-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.8s;
}

.project-card:hover img{
    transform:scale(1.15);
}

/*=====================================
OVERLAY
======================================*/

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.85),
        rgba(0,0,0,.15)
    );
    display:flex;
    justify-content:flex-end;
    align-items:flex-start;
    flex-direction:column;
    padding:40px;
    opacity:0;
    transition:.45s;
}

.project-card:hover .overlay{
    opacity:1;
}

.overlay h3{
    color:white;
    font-size:30px;
    margin-bottom:15px;
    transform:translateY(30px);
    transition:.5s;
}

.overlay a{
    display:inline-block;
    background:var(--accent);
    color:white;
    padding:12px 28px;
    border-radius:50px;
    transform:translateY(30px);
    transition:.6s;
}

.project-card:hover h3,
.project-card:hover a{
    transform:translateY(0);
}

.overlay a:hover{
    background:white;
    color:var(--accent);
}

/*=====================================
PROJECT HOVER BORDER
======================================*/

.project-card::before{
    content:"";
    position:absolute;
    inset:15px;
    border:2px solid rgba(255,255,255,.35);
    border-radius:20px;
    opacity:0;
    transform:scale(.9);
    transition:.5s;
}

.project-card:hover::before{
    opacity:1;
    transform:scale(1);
}

/*=====================================
SECTION ANIMATION
======================================*/

.about,
.skills,
.projects{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

/*=====================================
SKILL BADGE EFFECT
======================================*/

.skill-grid div::after{
    content:"";
    display:block;
    width:0%;
    height:3px;
    background:white;
    margin:12px auto 0;
    transition:.4s;
}

.skill-grid div:hover::after{
    width:60%;
}

/*=====================================
PROJECT SHADOW EFFECT
======================================*/

.project-card:hover{
    box-shadow:0 25px 50px rgba(0,0,0,.25);
}
/*==============================
Resume
==============================*/

.resume{

    display:flex;
    justify-content:center;
    align-items:center;

    padding:120px 8%;

}

.resume-card{

    width:700px;

    background:var(--card);

    padding:60px;

    border-radius:25px;

    text-align:center;

    box-shadow:var(--shadow);

}

.resume-card h2{

    font-size:48px;

    color:var(--accent);

    margin-bottom:10px;

}

.resume-card p{

    color:var(--gray);

    margin-bottom:45px;

}

/* Folder */

.folder{

    position:relative;

    width:250px;

    height:170px;

    margin:auto;

    background:#D6A03D;

    border-radius:12px;

    overflow:hidden;

}

.folder-top{

    position:absolute;

    width:90px;

    height:20px;

    background:#B98620;

    left:20px;

    top:-10px;

    border-radius:8px 8px 0 0;

}

/* Paper */

.paper{

    position:absolute;

    left:50%;

    top:20px;

    transform:translateX(-50%);

    width:170px;

    height:210px;

    background:#fff;

    border-radius:10px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    cursor:grab;

    user-select:none;

    transition:.25s;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

}

.paper i{

    font-size:55px;

    color:var(--accent);

    margin-bottom:12px;

}

.paper h4{

    margin:5px 0;

}

.paper small{

    color:#888;

}

.paper:active{

    cursor:grabbing;

}

/*=====================================
CONTACT
======================================*/

.contact form{

    max-width:700px;

    margin:auto;

    display:flex;

    flex-direction:column;

    gap:22px;

}

.contact input,
.contact textarea{

    width:100%;

    padding:18px 22px;

    border:none;

    border-radius:15px;

    background:var(--card);

    color:var(--text);

    outline:none;

    font-size:16px;

    box-shadow:var(--shadow);

}

.contact textarea{

    resize:none;

    height:180px;

}

.contact button{

    width:220px;

    padding:16px;

    border:none;

    border-radius:50px;

    background:var(--accent);

    color:white;

    font-size:16px;

    cursor:pointer;

    transition:.35s;

}

.contact button:hover{

    transform:translateY(-6px);

}
.contact button{
    background:#25D366;
    color:#fff;
    border:none;
    padding:16px 35px;
    border-radius:50px;
    cursor:pointer;
    font-weight:600;
    transition:.3s;
}

.contact button:hover{
    background:#128C7E;
    transform:translateY(-3px);
}

/*=====================================
FOOTER
======================================*/

footer{

    padding:80px 9%;

    text-align:center;

    background:#111;

    color:white;

}

footer h2{

    font-family:'Cormorant Garamond',serif;

    font-size:60px;

    margin-bottom:20px;

}

footer p{

    color:#bbb;

    margin-bottom:35px;

}

.footer-icons{

    display:flex;

    justify-content:center;

    gap:25px;

}

.footer-icons a{

    width:55px;
    height:55px;

    border-radius:50%;

    background:rgba(255,255,255,.1);

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.35s;

    font-size:22px;

}

.footer-icons a:hover{

    background:var(--accent);

    transform:translateY(-8px);

}

/*=====================================
RESPONSIVE
======================================*/

@media(max-width:1100px){

.hero{

grid-template-columns:1fr;

}

.hero-left{

border-radius:25px;

height:auto;

}

.hero-right{

border-radius:25px;

height:500px;

}

.stats{

grid-template-columns:repeat(3,1fr);

}

}

@media(max-width:900px){

header{

width:94%;
padding:0 20px;

}

nav ul{

gap:20px;

}

.hero-left h1{

font-size:62px;

}

.about-text h2{

font-size:42px;

}

.resume-card{

padding:40px;

}

footer h2{

font-size:45px;

}

}

@media(max-width:768px){

section{

padding:90px 6%;

}

nav{

display:none;

}

.hero{

padding-top:130px;

}

.hero-left{

padding:40px;

}

.hero-left h1{

font-size:50px;

}

.hero-buttons{

flex-direction:column;

}

.stats{

grid-template-columns:1fr;

}

.skill-grid{

grid-template-columns:repeat(2,1fr);

}

.project-grid{

grid-template-columns:1fr;

}

.contact button{

width:100%;

}

}

@media(max-width:480px){

.hero-left h1{

font-size:40px;

}

.about-text h2{

font-size:34px;

}

.resume-card h2{

font-size:38px;

}

.folder{

width:180px;

}

.paper{

width:130px;

height:170px;

}

.skill-grid{

grid-template-columns:1fr;

}

footer h2{

font-size:35px;

}

}

/*=====================================
ANIMATIONS
======================================*/

@keyframes slideUp{

0%{

opacity:0;
transform:translateY(50px);

}

100%{

opacity:1;
transform:translateY(0);

}

}

@keyframes zoomIn{

0%{

opacity:0;
transform:scale(.8);

}

100%{

opacity:1;
transform:scale(1);

}

}

.hero-left{

animation:slideUp 1s ease;

}

.hero-right{

animation:zoomIn 1.2s ease;

}

.about,
.skills,
.projects,
.resume,
.contact{

animation:slideUp 1s ease;

}

/*=====================================
DARK MODE EXTRA
======================================*/

body.dark footer{

background:#050505;

}

body.dark .folder{

background:#5f471b;

}

body.dark .folder::before{

background:#74561f;

}

body.dark .paper{

background:#ffffff;

color:#111;

}

body.dark input,
body.dark textarea{

background:#222;

color:white;

}

body.dark .project-card{

box-shadow:0 15px 30px rgba(255,255,255,.05);

}

body.dark .stats div{

background:#222;

}

body.dark .hero-social a{

background:#222;

color:white;

}

body.dark .hero-social a:hover{

background:var(--accent);

}