/* ===========================
   GOOGLE FONT
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/*====================================
        ROOT VARIABLES
=====================================*/
:root{
    --primary:#2563eb;
    --secondary:#0f172a;
    --light:#ffffff;
    --dark:#111827;
    --gray:#6b7280;
    --background:#f8fafc;
    --shadow:0 10px 30px rgba(0,0,0,.1);
    --radius:15px;
    --transition:.4s ease;
}

/* ===========================
   RESET
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
    font-family:'Poppins',sans-serif;
}

body{
    background:#08111f;
    color:#fff;
    line-height:1.7;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

section{
    padding:100px 0;
}

img{
    max-width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/* ===========================
   HEADER
=========================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    transition:.4s;
}

header.scrolled{
    background:#08111f;
    box-shadow:0 5px 20px rgba(0,0,0,.3);
}

.nav-container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo{
    color:#00d084;
    font-size:34px;
    font-weight:700;
}

.nav-links{
    display:flex;
    gap:35px;
}

.nav-links a{
    color:#9fc0a4;
    font-weight:500;
    transition:.3s;
}

.nav-links a:hover,
.nav-links a.active{
    color:#00d084;
}

/* ===========================
BUTTON
=========================== */

.btn{
    display:inline-block;
    padding:14px 35px;
    background:#00d084;
    color:#fff;
    border-radius:30px;
    transition:.4s;
    font-weight:600;
}

.btn:hover{
    background:#fff;
    color:#08111f;
    transform:translateY(-4px);
}

.btn-outline{
    display:inline-block;
    padding:15px 35px;
    border:2px solid var(--primary);
    color:var(--primary);
    border-radius:40px;
    margin-left:15px;
    transition:var(--transition);
}

.btn-outline:hover{
    background:var(--primary);
    color:#fff;
}

/* ===========================
HERO
=========================== */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
}

.hero-content{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:70px;
    align-items:center;
}

.hero h5{
    color:#00d084;
    font-size:20px;
    margin-bottom:15px;
}

.hero h1{
    font-size:65px;
    line-height:1.2;
    margin-bottom:20px;
}

.typing-text{
    color:#00d084;
}

.hero p{
    color:#ccc;
    margin-bottom:35px;
}

.profile-pic{
    width:430px;
    height:430px;
    object-fit:cover;
    border-radius:50%;
    border:8px solid #00d084;
    margin:auto;
    box-shadow:0 0 40px rgba(0,208,132,.4);
}

/* ===========================
SECTION TITLE
=========================== */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h5{
    color:#00d084;
    font-size:18px;
}

.section-title h2{
    font-size:42px;
}

/* ===========================
ABOUT
=========================== */

.about-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:60px;
    align-items:center;
}

.progress-block{
    margin-bottom:30px;
}

.progress-header{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}

.progress-bar{
    height:10px;
    background:#222;
    border-radius:50px;
    overflow:hidden;
}

.progress-fill{
    width:0;
    height:100%;
    background:#00d084;
    transition:2s;
}

/* ===========================
SERVICES
=========================== */

.service-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.service-card{
    background:#111d32;
    padding:40px;
    border-radius:15px;
    transition:.4s;
}

.service-card:hover{
    transform:translateY(-10px);
    background:#00d084;
}

.service-card:hover p,
.service-card:hover h3{
    color:#fff;
}

.service-card h3{
    margin-bottom:15px;
}

/* ===========================
PORTFOLIO
=========================== */

.filter-tabs{
    display:flex;
    justify-content:center;
    gap:20px;
    margin-bottom:40px;
}

.filter-tabs li{
    cursor:pointer;
    padding:10px 25px;
    border-radius:30px;
    background:#111d32;
}

.filter-tabs .active{
    background:#00d084;
}

.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
}

.portfolio-item{
    position:relative;
    overflow:hidden;
    border-radius:15px;
}

.portfolio-item img{
    transition:.5s;
    width:100%;
}

.portfolio-item:hover img{
    transform:scale(1.1);
}

.portfolio-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,208,132,.8);
    display:flex;
    justify-content:center;
    align-items:center;
    opacity:0;
    transition:.4s;
}

.portfolio-item:hover .portfolio-overlay{
    opacity:1;
}

/* ===========================
RESUME
=========================== */

.resume-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:40px;
}

.resume-block{
    background:#111d32;
    padding:30px;
    border-left:5px solid #00d084;
    border-radius:10px;
    margin-bottom:25px;
}

/* ===========================
CONTACT
=========================== */

.contact-grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:40px;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:18px;
    background:#111d32;
    border-color: #00d084;
    color:#fff;
    margin-bottom:20px;
    border-radius:10px;
}

.contact-form textarea{
    resize:none;
    height:180px;
}

.contact-info div{
    margin-bottom:30px;
}

.contact-info h6{
    color:#00d084;
    margin-bottom:8px;
}

/* ===========================
FOOTER
=========================== */

footer{
    background:#050b16;
    text-align:center;
    padding:30px 0;
}

/* ===========================
SCROLL ANIMATION
=========================== */

.reveal{
    opacity:0;
    transform:translateY(60px);
    transition:1s;
}

.reveal.active{
    opacity:1;
    transform:translateY(0);
}

/* ===========================
RESPONSIVE
=========================== */

@media(max-width:991px){

.hero-content,
.about-grid,
.service-grid,
.portfolio-grid,
.resume-grid,
.contact-grid{
    grid-template-columns:1fr;
}

.hero{
    text-align:center;
}

.profile-pic{
    width:300px;
    height:300px;
    margin-top:40px;
}

.hero h1{
    font-size:48px;
}

.nav-links{
    display:none;
}

.section-title h2{
    font-size:32px;
}

}

@media(max-width:600px){

.hero h1{
    font-size:38px;
}

.btn{
    padding:12px 28px;
}

.section{
    padding:70px 0;
}

.profile-pic{
    width:250px;
    height:250px;
}

}
.social-icons{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.social-icons a{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:#111;
    color:#fff;
    font-size:22px;
    text-decoration:none;
    transition:0.3s ease;
}

.social-icons a:hover{
    transform:translateY(-5px) scale(1.1);
    background:#00c896;
    color:#fff;
    box-shadow:0 8px 20px rgba(0,200,150,.4);
}
.nav-container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
}
.theme-toggle{
    margin-right:20px;
}
.theme-toggle{
    position:fixed;
    top:20px;
    left:20px;
    z-index:9999;
}
:root{
    --bg:#ffffff;
    --surface:#f8fafc;
    --card:#ffffff;
    --text:#111827;
    --text-light:#64748b;
    --primary:#00d084;
    --border:#e5e7eb;
}

body.dark{
    --bg:#08111f;
    --surface:#08111f;
    --card:#111d32;
    --text:#ffffff;
    --text-light:#cbd5e1;
    --primary:#00d084;
    --border:#1f2937;
}

body{
    background:var(--bg);
    color:var(--text);
    transition:.35s;
}

header.scrolled{
    background:var(--surface);
}

.service-card,
.resume-block,
.contact-form input,
.contact-form textarea,
.filter-tabs li{
    background:var(--card);
    color:var(--text);
}

p{
    color:var(--text-light);
}

.btn{
    background:var(--primary);
}

.theme-toggle{
    width:45px;
    height:45px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    background:var(--card);
    color:var(--text);
    box-shadow:0 5px 20px rgba(0,0,0,.15);
    transition:.3s;
}

.theme-toggle:hover{
    transform:rotate(180deg);
}
/* ===========================
   TESTIMONIAL
=========================== */

.testimonial{
    padding:100px 10%;
    background:#f8fafc;
    text-align:center;
}

body.dark .testimonial{
    background:#08111f;
}

.testimonial .title h2{
    font-size:40px;
    margin-bottom:50px;
    color:var(--text,#111);
}

body.dark .testimonial .title h2{
    color:#fff;
}

.testimonial-box{
    max-width:650px;
    margin:auto;
    padding:40px 30px;
    background:#fff;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.1);
    transition:.4s ease;
    opacity:0;
    transform:translateY(60px);
}

body.dark .testimonial-box{
    background:#111d32;
    color:#fff;
}

.testimonial-box.show{
    opacity:1;
    transform:translateY(0);
}

.testimonial-box:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,208,132,.25);
}

.testimonial-box img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #00d084;
    margin-bottom:20px;
}

.testimonial-box h3{
    font-size:28px;
    margin-bottom:15px;
    color:#00d084;
}

.testimonial-box p{
    font-size:17px;
    line-height:1.8;
    color:#666;
}

body.dark .testimonial-box p{
    color:#ddd;
}
.testimonial-slider{
    position:relative;
    max-width:700px;
    margin:auto;
    min-height:350px;
}

.testimonial-box{
    display:none;
}

.testimonial-box.active{
    display:block;
    animation:fadeIn .7s ease;
}

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