@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

/* RESET */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
text-decoration: none;
}

html {
font-size: 62.5%;
scroll-behavior: smooth;
}

body {
min-height: 100vh;
color: #fff;
background: #000;
overflow-x: hidden;
}

/* ================= BACKGROUND ================= */

.bg-image {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: url("bg-image.png") no-repeat center center/cover;
z-index: -3;
filter: brightness(0.6);
}

/* animated gradient overlay */
.bg-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: radial-gradient(circle at 50% 50%, rgba(47,93,80,0.25), rgba(0,0,0,0.95));
animation: pulseBG 8s infinite ease-in-out;
z-index: -2;
}

/* floating particles */
.bg-overlay::after {
content: "";
position: absolute;
width: 200%;
height: 200%;
background: radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
background-size: 40px 40px;
animation: moveParticles 60s linear infinite;
}

@keyframes moveParticles {
0% { transform: translate(0,0); }
100% { transform: translate(-200px, -200px); }
}

@keyframes pulseBG {
0%,100% { opacity: 1; }
50% { opacity: 0.7; }
}

/* ================= HEADER ================= */

header {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 20px 9%;
display: flex;
justify-content: space-between;
align-items: center;

background: rgba(0,0,0,0.4);
backdrop-filter: blur(15px);

border-bottom: 1px solid rgba(255,255,255,0.08);

z-index: 1000;
}

/* LOGO */

.logo {
font-size: 2.8rem;
font-weight: 700;
color: #fff;
letter-spacing: 1px;
}

.logo span {
color: #6f8f72;
text-shadow: 0 0 15px rgba(111,143,114,0.7);
}

/* NAV */

nav {
display: flex;
gap: 35px;
}

nav a {
position: relative;
font-size: 1.8rem;
color: #fff;
font-weight: 500;
padding: 5px 0;
transition: 0.3s;
}

/* neon sweep line */
nav a::after {
content: "";
position: absolute;
left: 50%;
bottom: -5px;
width: 0%;
height: 2px;
background: linear-gradient(90deg, transparent, #6f8f72, transparent);
transition: 0.4s ease;
transform: translateX(-50%);
}

nav a:hover::after,
nav a.active::after {
width: 120%;
}

nav a:hover,
nav a.active {
color: #6f8f72;
text-shadow: 0 0 10px rgba(111,143,114,0.7);
}

/* ================= HERO ================= */

.home {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 120px 9%;
}

.hero-container {
display: flex;
align-items: center;
justify-content: space-between;
gap: 80px;
max-width: 1200px;
width: 100%;
}

/* TEXT */

.home-content h1 {
font-size: 5rem;
margin-bottom: 10px;
}

.home-content span {
color: #6f8f72;
text-shadow: 0 0 20px rgba(111,143,114,0.7);
}

.typing-text {
font-size: 2.6rem;
margin-bottom: 20px;
}

.hero-text {
font-size: 1.6rem;
color: #bbb;
max-width: 500px;
margin-bottom: 25px;
}

/* ================= STACK ================= */

.dev-stack {
display: flex;
flex-wrap: wrap;
gap: 12px;
margin-bottom: 25px;
}

.tech-badge {
display: flex;
align-items: center;
gap: 8px;
padding: 10px 16px;
border-radius: 14px;
font-size: 1.3rem;

background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.08);
backdrop-filter: blur(10px);

transition: 0.3s;
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.tech-badge i {
font-size: 1.6rem;
color: #6f8f72;
}

/* glow hover */
.tech-badge:hover {
transform: translateY(-5px) scale(1.08);
background: #2f5d50;
color: #fff;
box-shadow:
0 0 20px #2f5d50,
0 0 40px rgba(47,93,80,0.7);
}

/* SOCIAL ICONS */
.social-icons {
display: flex;
gap: 12px;
margin-bottom: 20px;
}

.social-icons a {
display: flex;
align-items: center;
justify-content: center;

width: 48px;
height: 48px;
border-radius: 14px;

font-size: 20px;

/* FORCE GREEN THEME */
color: #6f8f72 !important;

background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.08);

transition: 0.3s;
}

/* REMOVE BRAND COLORS COMPLETELY */
.social-icons a i {
color: #6f8f72 !important;
}

/* HOVER */
.social-icons a:hover {
transform: translateY(-6px) scale(1.1);

/* GREEN GLOW ONLY */
background: #6f8f72;
color: #0f1a17 !important;

box-shadow:
0 0 20px #6f8f72,
0 0 40px rgba(111,143,114,0.7);
}

/* ICON ON HOVER */
.social-icons a:hover i {
color: #0f1a17 !important;
text-shadow:
0 0 10px #fff,
0 0 20px #fff;
}

/* ================= BUTTON ================= */

.btn {
display: inline-block;
padding: 14px 32px;
margin-top: 20px;

border-radius: 40px;
border: 2px solid #6f8f72;

color: #6f8f72;
font-size: 1.6rem;

position: relative;
overflow: hidden;
transition: 0.4s;
}

/* glow fill animation */
.btn::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: #6f8f72;
transition: 0.4s;
z-index: -1;
}

.btn:hover::before {
left: 0;
}

.btn:hover {
color: #0f1a17;
box-shadow: 0 0 25px #6f8f72;
}

/* ================= IMAGE ================= */

.home-img {
position: relative;
}

.home-img img {
width: 320px;
border-radius: 50%;
transition: 0.4s;
z-index: 2;
}

/* animated glow */
.img-glow {
position: absolute;
width: 360px;
height: 360px;
background: radial-gradient(circle, #2f5d50, transparent);
border-radius: 50%;
filter: blur(100px);
animation: pulseGlow 4s infinite ease-in-out;
z-index: 1;
}

@keyframes pulseGlow {
0%,100% { transform: scale(1); opacity: 0.4; }
50% { transform: scale(1.2); opacity: 0.7; }
}

/* ================= FOOTER ================= */

footer {
text-align: center;
padding: 25px;
background: rgba(0,0,0,0.6);
font-size: 1.4rem;
}

/* TYPING EFFECT */
.typing-text span::before {
content: "Frontend Developer";
color: #6f8f72;
animation: words 16s infinite;
}

@keyframes words {
0%,25% { content: "Frontend Developer"; }
26%,50% { content: "Backend Developer"; }
51%,75% { content: "UI / UX Designer"; }
76%,100% { content: "Full Stack Developer"; }
}

/* RESPONSIVE */
@media (max-width: 900px) {

.hero-container {
flex-direction: column-reverse;
text-align: center;
}

.home-content h1 {
font-size: 4rem;
}

.home-img img {
width: 260px;
}

.dev-stack {
justify-content: center;
}

}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

.hero-container {
flex-direction: column-reverse;
text-align: center;
}

.home-content h1 {
font-size: 4rem;
}

.home-img img {
width: 260px;
}

.dev-stack {
justify-content: center;
}

nav {
display: none;
}

}

/* ================= LOGO IMAGE ================= */

.logo {
display: flex;
align-items: center;
}

/* BALANCED BIG + NOTICEABLE */
.logo-img {
height: 80px; /* bigger but controlled */

width: auto;
object-fit: contain;

/* crisp + noticeable */
filter:
brightness(1.1)
contrast(1.1)
drop-shadow(0 0 10px rgba(111,143,114,0.7))
drop-shadow(0 0 25px rgba(111,143,114,0.5));

transition: 0.35s ease;
}

/* HOVER (SUBTLE, NOT CRAZY) */
.logo-img:hover {
transform: translateY(-2px) scale(1.06);

filter:
brightness(1.15)
drop-shadow(0 0 15px #6f8f72)
drop-shadow(0 0 35px rgba(111,143,114,0.8));
}