
:root {
    --bg-dark: #0f1014;
    --bg-card: #181a20;
    --accent: #00f2ff; 
    --accent-purple: #bd00ff;
    --text-white: #ffffff;
    --text-gray: #a0a0a0;
    --nav-bg: rgba(15,16,20,0.95);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    overflow-x: hidden;

    animation: slideUpFade 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }


@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 10px rgba(0, 242, 255, 0.1); }
    50% { box-shadow: 0 0 25px rgba(0, 242, 255, 0.3); }
    100% { box-shadow: 0 0 10px rgba(0, 242, 255, 0.1); }
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: rgba(15,16,20,0.8);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    transition: transform 0.3s ease-in-out;
}

.brand {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-white);
    text-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
}

.brand span { color: var(--accent); }

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 30px; 
    transition: 0.3s ease;
    border: 1px solid transparent;
}


.nav-links a:hover {
    color: var(--text-white);
    background: rgba(0, 242, 255, 0.1);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
    transform: translateY(-2px);
}


.nav-links a.active {
    background: linear-gradient(45deg, var(--accent), #00aaff);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    font-weight: 700;
    border: none;
}

.nav-links a.active::after { display: none; }


.btn {
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent), #00aaff);
    color: #000;
    box-shadow: 0 0 20px rgba(0,242,255,0.3);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0,242,255,0.6);
}

.btn-outline {
    border: 2px solid var(--text-gray);
    color: var(--text-white);
    margin-left: 15px;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}


.container {
    padding: 120px 10% 60px;
    min-height: 100vh;
}

.page-title {
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}
.page-title span { color: var(--accent); text-shadow: 0 0 20px rgba(0, 242, 255, 0.4); }


.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 120px 10% 50px;
}

.hero-text h3 { 
    font-size: 1.5rem; 
    color: var(--accent); 
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.hero-text h1 { 
    font-family: 'Inter', sans-serif;
    font-size: 3.5rem; 
    line-height: 1.1; 
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -2px;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.hero-text p { color: var(--text-gray); max-width: 500px; margin-bottom: 30px; line-height: 1.6; }

.hero-img {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top: 2px solid var(--accent);
    border-right: 2px solid var(--accent-purple);
    animation: spin 10s linear infinite;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.2);
}

.my-photo {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    object-fit: cover;
    background: #222;
    filter: brightness(0.95);
}


.about-section {
    padding: 80px 10%;
    background: var(--bg-card);
    display: flex;
    gap: 60px;
    align-items: flex-start;
    border-top: 1px solid #333;
}

.about-services {
    flex: 1;
    border-left: 2px solid #333;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-row { display: flex; align-items: center; gap: 15px; }
.s-icon { font-size: 1.8rem; color: var(--accent); width: 50px; text-align: center; text-shadow: 0 0 15px var(--accent); }
.s-text h4 { font-size: 1.1rem; color: #fff; margin-bottom: 4px; font-weight: 700; }
.s-text p { font-size: 0.85rem; color: var(--text-gray); }

.about-bio { flex: 1.5; }

.about-bio h2 { 
    font-family: 'Inter', sans-serif;
    font-size: 2.5rem; 
    margin-bottom: 20px; 
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.about-bio p { color: var(--text-gray); line-height: 1.7; margin-bottom: 40px; }

.stats-container { display: flex; gap: 50px; }
.stat-box { display: flex; flex-direction: column; align-items: center; }

.stat-number { 
    font-size: 3rem; 
    font-weight: 800; 
    color: var(--text-white); 
    font-family: 'Inter', sans-serif;
    letter-spacing: -2px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.stat-number span { color: var(--accent); font-size: 2rem; }
.stat-label { color: var(--text-gray); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; text-align: center; font-weight: 600; }

.gpa-circle {
    width: 100px; height: 100px; border-radius: 50%;
    background: conic-gradient(var(--accent) 84%, #333 0);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}
.gpa-inner {
    width: 85px; height: 85px; background: var(--bg-card); border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.gpa-val { 
    font-size: 1.5rem; 
    font-weight: 800; 
    color: #fff; 
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}
.gpa-max { font-size: 0.7rem; color: #888; }


.skills-container {
    padding: 60px 10%;
    background: #0a0a0c;
    border-top: 1px solid #333;
}

.skills-title {
    font-family: 'Inter', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 40px;
    text-align: center;
    text-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.skill-card {
    background: var(--bg-card);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.skill-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.15);
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 15px;
    text-shadow: 0 0 15px var(--accent);
}

.skill-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #333;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    border-radius: 3px;
}

.skill-percent {
    font-size: 0.8rem;
    color: var(--text-gray);
    align-self: flex-end;
}


.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.card {
    background: var(--bg-card); padding: 30px; border-radius: 10px; border: 1px solid #333;
    transition: 0.3s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.card h3 { 
    font-size: 1.4rem; 
    margin-bottom: 10px; 
    color: #fff; 
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}
.card p { color: var(--text-gray); font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }
.tech-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.tag {
    background: rgba(255,255,255,0.05); padding: 5px 10px; border-radius: 4px;
    font-size: 0.75rem; color: var(--accent); border: 1px solid rgba(0, 242, 255, 0.2);
    font-weight: 600;
}
.links a { color: #fff; margin-right: 15px; font-size: 1.2rem; transition: 0.2s; }
.links a:hover { color: var(--accent); text-shadow: 0 0 10px var(--accent); }


.timeline { border-left: 3px solid #333; padding-left: 30px; position: relative; max-width: 800px; margin: 0 auto; }
.timeline-item { margin-bottom: 50px; position: relative; }
.timeline-item::before {
    content: ''; position: absolute; left: -38px; top: 5px; width: 13px; height: 13px;
    background: var(--accent); border-radius: 50%; box-shadow: 0 0 10px var(--accent);
}
.year { 
    color: var(--accent); 
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 0.9rem; margin-bottom: 5px; display: block; 
    text-shadow: 0 0 5px rgba(0, 242, 255, 0.4);
}
.degree { font-size: 1.5rem; font-weight: 700; color: #fff; margin-bottom: 5px; text-shadow: 0 0 10px rgba(255,255,255,0.1); }
.school { font-size: 1.1rem; color: #888; margin-bottom: 15px; font-style: italic; }
.details { color: var(--text-gray); line-height: 1.6; background: var(--bg-card); padding: 15px; border-radius: 8px; border: 1px solid #333; }


.exp-container { display: flex; gap: 50px; flex-wrap: wrap; }
.section-col { flex: 1; min-width: 300px; }

.sec-title { 
    font-family: 'Inter', sans-serif;
    font-size: 1.8rem; 
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 30px; 
    border-bottom: 2px solid var(--accent); 
    display: inline-block; 
    padding-bottom: 5px; 
    text-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.exp-card { background: var(--bg-card); padding: 25px; border-radius: 8px; border-left: 4px solid var(--accent); margin-bottom: 30px; box-shadow: 0 0 20px rgba(0,0,0,0.3); }
.exp-role { 
    font-size: 1.3rem; 
    font-weight: 700; 
    color: #fff; 
    font-family: 'Inter', sans-serif;
}
.exp-comp { color: var(--accent); font-size: 1rem; margin-bottom: 10px; display: block; font-weight: 600; }
.exp-desc { font-size: 0.9rem; color: var(--text-gray); line-height: 1.6; }
.exp-desc ul { list-style-position: inside; margin-top: 10px; }

.cert-item { display: flex; align-items: center; gap: 15px; background: rgba(255,255,255,0.03); padding: 15px; margin-bottom: 15px; border-radius: 5px; transition: 0.3s; }
.cert-item:hover { background: rgba(0, 242, 255, 0.1); transform: translateX(5px); box-shadow: 0 0 15px rgba(0, 242, 255, 0.1); }
.cert-icon { font-size: 1.5rem; color: var(--accent); text-shadow: 0 0 10px var(--accent); }
.cert-name { font-weight: 600; font-size: 1rem; }
.cert-auth { font-size: 0.8rem; color: #888; }


.contact-wrapper { display: flex; justify-content: center; align-items: center; min-height: 60vh; }
.contact-box { width: 100%; max-width: 600px; background: var(--bg-card); padding: 40px; border-radius: 10px; border: 1px solid #333; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.info-row { display: flex; justify-content: space-around; margin-bottom: 30px; text-align: center; }
.info-item i { font-size: 1.5rem; color: var(--accent); margin-bottom: 5px; text-shadow: 0 0 10px var(--accent); }
.info-item span { display: block; font-size: 0.9rem; color: #fff; }
form input, form textarea { width: 100%; padding: 15px; margin-bottom: 15px; background: #0f1014; border: 1px solid #333; color: #fff; border-radius: 5px; }
form input:focus, form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 15px rgba(0, 242, 255, 0.2); }
form button { width: 100%; padding: 15px; background: var(--accent); border: none; font-weight: bold; cursor: pointer; border-radius: 5px; transition: 0.3s; }
form button:hover { background: #fff; box-shadow: 0 0 20px rgba(0, 242, 255, 0.5); }
.socials { display: flex; justify-content: center; gap: 20px; margin-top: 20px; }
.socials a { font-size: 1.5rem; color: var(--text-gray); }
.socials a:hover { color: var(--accent); text-shadow: 0 0 15px var(--accent); }

.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}


@media(max-width: 900px) {
    .hero, .about-section { flex-direction: column; text-align: center; }
    .hero-img { margin-top: 40px; width: 300px; height: 300px; }
    
    .my-photo {
        width: 360px;
        height: 360px;
        border-radius: 50%;
        object-fit: cover;
        object-position: center 100%; 
        background: #222;
        border: 4px solid var(--bg-dark);
    }
    
    .about-services { border-left: none; padding-left: 0; align-items: center; margin-bottom: 40px; }
    .stats-container { justify-content: center; flex-wrap: wrap; }
    .nav-links { display: none; } 
}

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

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


.workflow-section {
    padding: 80px 10%;
    background: linear-gradient(180deg, var(--bg-dark) 0%, #08080a 100%);
    text-align: center;
    border-top: 1px solid #222;
}

.workflow-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.workflow-step {
    background: rgba(255, 255, 255, 0.02);
    padding: 30px;
    border-radius: 15px;
    width: 300px;
    position: relative;
    border: 1px solid #333;
    transition: 0.3s;
}

.workflow-step:hover {
    border-color: var(--accent);
    transform: translateY(-10px);
    background: rgba(0, 242, 255, 0.05);
}


.workflow-step:not(:last-child)::after {
    content: '\f105'; 
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--text-gray);
}

@media(max-width: 900px) {
    .workflow-step:not(:last-child)::after { display: none; }
}

.step-number {
    font-family: 'Inter', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0;
    right: 20px;
    line-height: 1;
}

.step-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
    display: inline-block;
}

.step-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
}

section, .skills-container {
    position: relative;
    z-index: 1;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7); 
}


section::after, .skills-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15%; 
    width: 70%; 
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
    box-shadow: 0 0 10px var(--accent);
}


.hero {
    background-color: var(--bg-dark);
}


.workflow-section {

    background: radial-gradient(circle at center, #0f1014 0%, #000000 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.workflow-section::after {
    background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
    box-shadow: 0 0 10px var(--accent-purple);
}


.about-section {
    background-color: #1a1c22; 
    border-top: 1px solid rgba(0, 242, 255, 0.05);
}


.skills-container {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px; 
    border-top: 1px solid rgba(0, 242, 255, 0.1);
    padding-bottom: 80px; 
}
.skills-container::after {
    display: none;
}

.shimmer-text {
    background: linear-gradient(
        to right,
        #ffffff 0%,
        #ffffff 35%,
        #ff3333 50%,
        #ffffff 65%,
        #ffffff 100%
    );
    
    background-size: 200% auto;
    
    color: #fff; 
    background-clip: text;
    -webkit-background-clip: text;
    text-fill-color: transparent;
    -webkit-text-fill-color: transparent;
    
    display: inline-block;
    
    animation: shine 6s linear infinite;
}

@keyframes shine {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.typing-wrapper {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    
    font-family: 'Inter', sans-serif; 
    font-weight: 600;
    color: var(--accent); 
    
    animation: textReveal 8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    width: 0; 
}

@keyframes textReveal {
    from { width: 0; }
    to { width: 100%; }
}

.hero-text h1 {
    opacity: 0;
    animation: slideUpFade 2s ease-out 1.0s forwards;
}

.hero-text p, .hero-text .btn {
    opacity: 0;
    animation: slideUpFade 2s ease-out 1.0s forwards;
}

.reveal.active .progress-fill {
    animation: growBar 2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

@keyframes growBar {
    from { width: 0; }
}

@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}