:root {
--primary: #6366f1;
--primary-light: #818cf8;
--secondary: #a855f7;
--dark: #0f172a;
--darker: #020617;
--light: #f8fafc;
--gray: #94a3b8;
--success: #10b981;
--warning: #f59e0b;
--danger: #ef4444;
--glass: rgba(255, 255, 255, 0.05);
--glass-border: rgba(255, 255, 255, 0.1);
--gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Space Grotesk', 'Poppins', sans-serif;
}

body {
background-color: var(--dark);
color: var(--light);
line-height: 1.6;
overflow-x: hidden;
scroll-behavior: smooth;
}

.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
        }

section {
padding: 100px 0;
position: relative;
}

/* Header Styles */
header {
background-color: rgba(15, 23, 42, 0.95);
padding: 20px 0;
position: fixed;
width: 100%;
top: 0;
z-index: 1000;
backdrop-filter: blur(10px);
transition: all 0.3s ease;
border-bottom: 1px solid var(--glass-border);
}

header.scrolled {
padding: 15px 0;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

nav {
display: flex;
justify-content: space-between;
align-items: center;
}

.logo {
font-size: 22px;
font-weight: 700;
color: var(--light);
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
}

.logo-icon {
font-size: 24px;
background: var(--gradient);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}

.logo-text {
background: var(--gradient);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
}

.logo-text::after {
content: '';
position: absolute;
width: 100%;
height: 2px;
bottom: -2px;
left: 0;
background: var(--gradient);
transform: scaleX(0);
transform-origin: right;
transition: transform 0.3s ease;
}

.logo:hover .logo-text::after {
transform: scaleX(1);
transform-origin: left;
}

.nav-links {
display: flex;
list-style: none;
gap: 30px;
}

.nav-links a {
color: var(--gray);
text-decoration: none;
font-weight: 500;
transition: all 0.3s;
position: relative;
font-size: 16px;
display: inline-block;
}

.nav-links a::before {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -5px;
left: 0;
background: var(--gradient);
transition: width 0.3s;
}

.nav-links a:hover {
color: var(--light);
}

.nav-links a:hover::before {
width: 100%;
}

.menu-toggle {
display: none;
cursor: pointer;
font-size: 24px;
color: var(--light);
z-index: 1001;
}

/* Hero Section */
.hero {
min-height: 100vh;
display: flex;
align-items: center;
position: relative;
overflow: hidden;
padding-top: 80px;
}

.hero-bg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--dark) 0%, rgba(15, 23, 42, 0.9) 100%), 
            url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
z-index: -2;
}

.hero-particles {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -1;
opacity: 0.5;
}

.hero-content {
display: flex;
align-items: center;
justify-content: space-between;
gap: 300px;
width: 100%;
}

.hero-text {
flex: 1;
max-width: 600px;
background: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid var(--glass-border);
border-radius: 20px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
padding: 40px;
transition: all 0.4s ease;
transform: translateY(20px);
opacity: 0;
animation: fadeInUp 0.8s 0.2s forwards;
}

.hero-image {
flex: 1;
display: flex;
justify-content: center;
position: relative;
transform: translateY(20px);
opacity: 0;
animation: fadeInUp 0.8s 0.4s forwards;
}

.profile-img {
width: 350px;
height: 350px;
border-radius: 50%;
object-fit: cover;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
border: 3px solid rgba(99, 102, 241, 0.5);
position: relative;
z-index: 1;
transition: transform 0.5s, box-shadow 0.5s;
}

.profile-img:hover {
transform: scale(1.03);
box-shadow: 0 30px 60px -12px rgba(99, 102, 241, 0.3);
}

.hero-badge {
position: absolute;
padding: 10px 20px;
background: var(--gradient);
color: white;
border-radius: 30px;
font-weight: 600;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
animation: float 3s ease-in-out infinite;
font-size: 14px;
display: flex;
align-items: center;
gap: 8px;
}

.badge-1 {
top: -55px;
left: 20px;
animation-delay: 0s;
}

.badge-2 {
bottom: -55px;
right: 20px;
animation-delay: 0.5s;
}

.hero h1 {
font-size: 48px;
margin-bottom: 20px;
line-height: 1.2;
background: linear-gradient(90deg, var(--light), var(--gray));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.hero h1 span {
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.hero p {
color: var(--gray);
font-size: 18px;
margin-bottom: 30px;
}

.hero p.highlight {
background: rgba(99, 102, 241, 0.1);
color: var(--light);
border-radius: 8px;
padding: 15px;
border-left: 4px solid var(--primary);
font-weight: 500;
}

.hero-buttons {
display: flex;
gap: 20px;
margin-top: 40px;
}

/* Button Styles */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 30px;
border-radius: 8px;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
cursor: pointer;
border: none;
font-size: 16px;
position: relative;
overflow: hidden;
}

.btn-primary {
background: var(--gradient);
color: white;
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
z-index: 1;
}

.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, var(--primary-light), var(--secondary));
z-index: -1;
opacity: 0;
transition: opacity 0.3s;
}

.btn-primary:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover::before {
opacity: 1;
}

.btn-secondary {
background-color: var(--glass);
color: var(--light);
backdrop-filter: blur(5px);
border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
background-color: rgba(255, 255, 255, 0.2);
transform: translateY(-3px);
border-color: var(--primary);
}

/* Services Section */
.services {
background-color: var(--darker);
position: relative;
overflow: hidden;
}

.services::before {
content: '';
position: absolute;
top: -100px;
right: -100px;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
z-index: 0;
}

.section-title {
text-align: center;
margin-bottom: 60px;
position: relative;
z-index: 1;
transform: translateY(20px);
opacity: 0;
animation: fadeInUp 0.8s forwards;
}

.section-title h2 {
font-size: 36px;
margin-bottom: 15px;
background: linear-gradient(90deg, var(--light), var(--gray));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
display: inline-block;
}

.section-title p {
max-width: 700px;
margin: 0 auto;
color: var(--gray);
font-size: 18px;
}

.services-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 30px;
position: relative;
z-index: 1;
}


.service-card {
background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
border-radius: 16px;
padding: 20px; /* removed duplicate */
border: 1px solid var(--glass-border);
backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;

display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
height: 100%;

transform: translateY(20px);
opacity: 0;
}


.service-card:nth-child(1) { animation: fadeInUp 0.8s 0.2s forwards; }
.service-card:nth-child(2) { animation: fadeInUp 0.8s 0.4s forwards; }
.service-card:nth-child(3) { animation: fadeInUp 0.8s 0.6s forwards; }
.service-card:nth-child(4) { animation: fadeInUp 0.8s 0.8s forwards; }

.service-card:hover {
transform: translateY(-10px) !important;
box-shadow: 0 15px 30px rgba(99, 102, 241, 0.2);
border-color: rgba(99, 102, 241, 0.3);
}

.service-card i {
font-size: 30px;
margin-bottom: 2px;
background: var(--gradient);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.service-card h3 {
font-size: 22px;
margin-bottom: 15px;
color: var(--light);
}

.service-card p {
color: var(--gray);
margin-bottom: 20px;
font-size: 15px;
}

.tech-stack {
display: flex;
flex-wrap: wrap;
gap: 10px;
margin-top: 20px;
}

.tech-stack span {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 8px; 
border-radius: 4px;
font-size: 11px;  
font-weight: 500;
color: var(--light);
background-color: rgba(30, 41, 59, 0.8);
border: 1px solid var(--glass-border);
transition: all 0.2s ease;
}

.tech-stack span:hover {
background-color: rgba(99, 102, 241, 0.2);
transform: translateY(-2px);
border-color: var(--primary);
}

/* Contact Section */
.contact {
position: relative;
overflow: hidden;
}

.contact::before {
content: '';
position: absolute;
bottom: -100px;
left: -100px;
width: 300px;
height: 300px;
background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
z-index: 0;
}

.contact-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 50px;
position: relative;
z-index: 1;
}

.contact-info {
transform: translateY(20px);
opacity: 0;
animation: fadeInUp 0.8s 0.2s forwards;
}

.contact-info h3 {
font-size: 24px;
margin-bottom: 20px;
background: linear-gradient(90deg, var(--light), var(--gray));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.contact-info p {
color: var(--gray);
margin-bottom: 30px;
font-size: 16px;
}

.contact-details {
margin-top: 30px;
}

.contact-item {
display: flex;
align-items: center;
margin-bottom: 20px;
transition: transform 0.3s;
}

.contact-item:hover {
transform: translateX(5px);
}

.contact-item i {
font-size: 20px;
margin-right: 15px;
color: var(--primary);
width: 40px;
height: 40px;
background-color: rgba(99, 102, 241, 0.1);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s;
}

.contact-item:hover i {
background-color: var(--primary);
color: white;
transform: rotate(10deg);
}

.contact-item span {
color: var(--light);
}

.contact-item a {
color: var(--light);
text-decoration: none;
transition: color 0.3s;
}

.contact-item a:hover {
color: var(--primary);
}

.contact-form {
background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
border-radius: 16px;
padding: 30px;
border: 1px solid var(--glass-border);
backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transform: translateY(20px);
opacity: 0;
animation: fadeInUp 0.8s 0.4s forwards;
}

.form-group {
margin-bottom: 20px;
}

.form-group label {
display: block;
margin-bottom: 8px;
color: var(--light);
font-weight: 500;
}

.form-control {
width: 100%;
padding: 15px;
background-color: var(--glass);
border: 1px solid var(--glass-border);
border-radius: 8px;
color: var(--light);
font-size: 16px;
transition: all 0.3s;
}

.form-control:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
}

textarea.form-control {
min-height: 150px;
resize: vertical;
}

/* Footer */
footer {
background-color: var(--darker);
padding: 50px 0 20px;
text-align: center;
border-top: 1px solid var(--glass-border);
position: relative;
}

.footer-content {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 30px;
}

.social-links {
display: flex;
gap: 20px;
}

.social-links a {
display: flex;
align-items: center;
justify-content: center;
width: 50px;
height: 50px;
background-color: var(--glass);
border-radius: 50%;
color: var(--light);
font-size: 20px;
transition: all 0.3s;
border: 1px solid var(--glass-border);
}

.social-links a:hover {
background: var(--gradient);
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
border-color: transparent;
}

.copyright {
color: var(--gray);
font-size: 14px;
margin-top: 30px;
}

/* Animations */
@keyframes float {
0%, 100% {
    transform: translateY(0);
}
50% {
    transform: translateY(-10px);
}
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(20px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes pulse {
0% {
    transform: scale(1);
    opacity: 0.8;
}
100% {
    transform: scale(1.1);
    opacity: 0.4;
}
}

/* Particle JS */
.particles-js-canvas-el {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
.hero-content {
    flex-direction: column;
    text-align: center;
}

.hero-text {
    max-width: 100%;
    margin-bottom: 50px;
}

.hero-buttons {
    justify-content: center;
}

.profile-img {
    width: 280px;
    height: 280px;
}

.hero-badge {
    font-size: 12px;
    padding: 8px 15px;
}
}

@media (max-width: 768px) {
.menu-toggle {
    display: block;
}

.nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background-color: var(--darker);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: all 0.5s ease;
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.nav-links.active {
    left: 0;
}

.hero h1 {
    font-size: 36px;
}

.hero p {
    font-size: 16px;
}

.section-title h2 {
    font-size: 30px;
}

.service-card {
    padding: 25px;
}
}

@media (max-width: 576px) {
.hero h1 {
    font-size: 30px;
}

.hero-buttons {
    flex-direction: column;
    gap: 15px;
}

.btn {
    width: 100%;
}

.profile-img {
    width: 220px;
    height: 220px;
}

.hero-badge {
    font-size: 11px;
    padding: 6px 12px;
}

.hero-text {
    padding: 30px 20px;
}

.section-title p {
    font-size: 16px;
}
}