/* dont expect  me to write this css code by my own, yeah! i used chatgpt */

:root {
    --bg-color: #0a0a0a;
    --accent-color: #00f2ff;
    --text-color: #ffffff;
    --card-bg: #151515;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

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

/* Custom Cursor */
#custom-cursor {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.1s;
}

#cursor-blur {
    width: 400px;
    height: 400px;
    background: rgba(0, 242, 255, 0.15);
    filter: blur(100px);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 10%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo { font-weight: bold; font-size: 1.5rem; letter-spacing: 2px; }
.logo span { color: var(--accent-color); }
.nav-links { display: flex; list-style: none; gap: 30px; }
.nav-links a { text-decoration: none; color: white; font-size: 0.9rem; transition: 0.3s; }
.nav-links a:hover { color: var(--accent-color); }

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero h1 {
    font-size: 5rem;
    letter-spacing: 5px;
    margin: 10px 0;
}

.btn {
    padding: 12px 30px;
    background: var(--accent-color);
    color: black;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin: 10px;
    display: inline-block;
}

.btn.outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

/* Skills & Projects */
.section-title { text-align: center; margin-bottom: 50px; font-size: 2.5rem; }
.skills, .projects { padding: 100px 10%; }

.skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--card-bg);
    padding: 20px;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
    transition: 0.3s;
}

.skill-card:hover { transform: translateY(-10px); }

.project-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: 15px;
    border: 1px solid #333;
}

/* Contact Section Styles */
.contact {
    padding: 100px 10%;
    background: linear-gradient(180deg, var(--bg-color) 0%, #050505 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Glassmorphism Form */
.contact-form {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(0, 242, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.input-box {
    margin-bottom: 20px;
}

.input-box input, .input-box textarea {
    width: 100%;
    padding: 15px;
    background: #0a0a0a;
    border: 1px solid #333;
    border-radius: 8px;
    color: white;
    outline: none;
    transition: 0.3s;
}

.input-box input:focus, .input-box textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

/* Info Tiles */
.info-tile {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 20px;
    transition: 0.3s ease;
}

.info-tile:hover {
    background: #1a1a1a;
    transform: translateX(10px);
}

.tile-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.tile-content span {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 30px;
}

.social-item {
    text-align: center;
    padding: 15px;
    background: transparent;
    border: 1px solid #333;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    transition: 0.3s;
}

.social-item:hover {
    background: var(--accent-color);
    color: black;
    font-weight: bold;
}

/* Responsive Fix */
@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

:root {
   
    --bg-color: #1a0033;           
    --card-bg: #0d161f;            
    
    
    --accent-color: #ff007f;       
    --accent-glow: rgba(0, 255, 157, 0.4);
    
   
    --secondary-accent: #bcff00;   
    
    
    --text-main: #e0e6ed;
    --text-dim: #8892b0;
    --border-glow: rgba(0, 255, 157, 0.15);
}


/* Target the source code link specifically or all anchor tags */
.project-link, a {
    color: var(--accent-color);    
    text-decoration: none;         /* Removes the underline */
    font-weight: 600;             
    transition: 0.3s ease;         /*hover effect */
}

.project-link:hover, a:hover {
    color: var(--secondary-accent); /* Changes color on hover */
    text-shadow: 0 0 8px var(--accent-glow);
}