/* --- Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Rajdhani:wght@400;600&display=swap');

/* --- General Enhancements --- */
:root {
    --primary-color: #b366ff; /* Purple/Blue - Used for main headings/accents */
    --secondary-color: #ff1493; /* Pink - Used for hover/glow effects */
    --text-color-light: #c9c9ff; /* Very light purple/blue for body text */
    --text-color-accent: #9be1ff; /* Accent Blue Color - For subheadings/links */
    --project-link-dark-blue: #007bff; /* Darker Neon Blue */
    --background-dark: #000;
    --background-radial: radial-gradient(circle at 30% 20%, #06060b, var(--background-dark));
    --card-background: rgba(10, 10, 20, 0.7); /* Slightly transparent dark background for cards */
}

body {
    margin: 0;
    background: var(--background-radial);
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.5px;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    text-shadow: none; 
}

section {
    border: 1px solid rgba(150, 0, 255, 0.3);
    border-radius: 20px;
    margin: 50px auto; 
    padding: clamp(30px, 5vw, 60px); 
    width: clamp(90%, 800px, 80%); 
    max-width: 1200px; 
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3); 
    backdrop-filter: blur(5px); 
    transition: 0.4s ease, box-shadow 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; 
}
section:hover {
    box-shadow: 0 0 25px var(--secondary-color);
    transform: translateY(-5px);
}

/* --- Header & Navigation (Static Styles) --- */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px clamp(5%, 10vw, 10%); 
    position: sticky;
    top: 0;
    background: rgba(0, 0, 0, 0.95); 
    z-index: 1000; 
    /* Applied the "scrolled" look permanently since JS is removed */
    border-bottom: 1px solid var(--secondary-color);
    box-shadow: 0 4px 20px rgba(255, 20, 147, 0.4); 
    transition: all 0.3s ease;
}

.logo {
    width: 45px; 
    height: 45px;
    background: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    border-radius: 12px; /* Rounded square */
    font-size: 20px; 
    color: #fff;
}
nav a {
    margin-left: 20px; 
    text-decoration: none;
    color: var(--primary-color);
    font-family: 'Orbitron', sans-serif;
    font-size: 14px; 
    transition: 0.3s;
    padding: 5px 0; 
}
nav a:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    margin-top: 50px;
}
.hero h1 {
    font-size: clamp(40px, 9vw, 72px); 
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 10px;
}
.hero p {
    font-size: clamp(18px, 3.5vw, 24px);
    color: var(--text-color-accent);
    letter-spacing: 1px;
    margin-bottom: 25px; 
}

/* --- Content Sections (About, Education) --- */
.about {
    text-align: center;
    line-height: 1.8; 
}
.about h2 {
    font-size: clamp(32px, 6vw, 40px);
}
.about p {
    max-width: 800px;
    margin: 15px auto;
    font-size: clamp(18px, 2.5vw, 20px);
    color: var(--text-color-light);
}

.education {
    text-align: center;
}
.education h2 {
    font-size: clamp(32px, 6vw, 40px);
}
.education ul {
    list-style: none;
    padding: 0;
    font-size: 20px;
    color: var(--text-color-light);
    max-width: 600px; 
    margin: 0 auto;
}
.education li {
    margin: 15px 0; 
    background: var(--card-background);
    border: 1px solid rgba(106, 0, 244, 0.3);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 0 15px rgba(106, 0, 244, 0.3);
    transition: 0.3s ease;
    text-align: left; 
}
.education li:hover {
    box-shadow: 0 0 25px var(--secondary-color);
    transform: translateY(-3px);
}
.education li strong {
    display: block;
    font-size: 22px;
    color: var(--primary-color);
}
.education li span {
    display: block;
    margin-top: 5px;
    font-size: 18px;
    color: var(--text-color-accent);
}

/* --- Projects --- */
#projects h2 {
    text-align: center;
    font-size: clamp(32px, 6vw, 42px);
    margin-bottom: 30px;
}
.projects {
    display: flex;
    flex-direction: column; 
    align-items: center; 
    gap: 20px; 
    padding: 0;
    max-width: 600px; 
    width: 100%;
}

.project-card {
    flex: 0 0 auto;
    width: 100%; 
    background: var(--card-background);
    border: 1px solid rgba(255, 20, 147, 0.3);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 0 15px rgba(255, 20, 147, 0.4); 
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between; 
    align-items: flex-start; 
}

.project-card:hover {
    box-shadow: 0 0 25px var(--primary-color); 
    transform: translateY(-3px); 
}

.project-card h3 {
    font-size: 22px; 
    margin-top: 0;
}
.project-card p {
    color: var(--text-color-light);
    font-size: 16px;
    line-height: 1.6; /* Increased line height for legibility */
    margin-top: 10px;
    margin-bottom: 15px; /* Added margin below paragraphs */
}
/* Style for numbered lists within projects */
.project-card ol {
    padding-left: 20px;
    margin-top: 10px;
    color: var(--text-color-light);
}
.project-card li {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 8px;
}

/* Project link color updated */
.project-card a {
    color: var(--project-link-dark-blue) !important; 
    text-decoration: none !important;
    transition: color 0.3s ease;
    font-weight: 600; 
    display: block; 
    margin-top: 15px; 
}
.project-card a:hover {
    color: var(--secondary-color) !important;
}
.project-card strong {
    display: block;
    margin-bottom: 10px; 
}

/* --- Tech Stack --- */
.skills h2 {
    text-align: center;
    font-size: clamp(32px, 6vw, 42px);
    margin-bottom: 30px;
}

.skills-group {
    width: 100%;
    max-width: 900px;
    margin-bottom: 30px;
    text-align: center; 
}
.skills-group h3 {
    font-family: 'Rajdhani', sans-serif; 
    font-weight: 600;
    color: var(--secondary-color);
    font-size: clamp(18px, 3vw, 24px);
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 20, 147, 0.3);
    padding-bottom: 5px;
    letter-spacing: 1px;
}

.tech-stack {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; 
    gap: 15px; 
    padding: 0 10px;
}
.tech {
    font-family: 'Orbitron', sans-serif;
    border: 1px solid rgba(255, 20, 147, 0.3);
    padding: 10px 20px; 
    border-radius: 8px; 
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.05);
    cursor: default; 
    letter-spacing: 1px;
    font-size: 14px; 
    color: var(--text-color-accent); 
}
.tech:hover {
    box-shadow: 0 0 25px var(--primary-color); 
    transform: scale(1.08);
    color: #fff; 
}

/* --- Timeline (Kept for content, though removed from nav) --- */
#timeline h2 {
    text-align: center;
    font-size: clamp(32px, 6vw, 42px);
    margin-bottom: 30px;
}
.timeline {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 700px; 
    position: relative;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px; 
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color)); 
    transform: translateX(-50%);
    border-radius: 2px;
}
.timeline li {
    position: relative;
    width: 50%;
    padding: 20px 35px; 
    box-sizing: border-box;
    color: var(--text-color-light);
    background: var(--card-background); 
    border: 1px solid rgba(106, 0, 244, 0.2);
    border-radius: 10px; 
    margin-bottom: 15px; 
    box-shadow: 0 0 8px rgba(106, 0, 244, 0.2); 
    transition: 0.3s ease;
}
.timeline li:hover {
    box-shadow: 0 0 15px var(--secondary-color); 
    transform: translateY(-3px); 
}
.timeline li:nth-child(odd) {
    left: 0;
    text-align: right;
}
.timeline li:nth-child(even) {
    left: 50%;
    text-align: left;
}
.timeline li::before {
    content: '';
    position: absolute;
    top: 30px; 
    width: 12px; 
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color); 
    border: 3px solid var(--primary-color); 
    z-index: 1; 
}
.timeline li:nth-child(odd)::before {
    right: -6px; 
}
.timeline li:nth-child(even)::before {
    left: -6px; 
}
.timeline li strong {
    color: var(--secondary-color); 
    font-size: 18px; 
    display: block; 
    margin-bottom: 3px;
}
.timeline li span { 
    font-size: 16px;
    color: var(--text-color-accent);
    display: block;
}

/* --- Contact --- */
.contact h2 {
    font-size: clamp(30px, 6vw, 38px);
}
.contact-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px; 
}
/* Combined styles for all buttons */
.contact-btns a, .discord-btn, .resume-btn { 
    font-family: 'Orbitron', sans-serif;
    background: var(--primary-color);
    color: #fff;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none; 
    transition: 0.3s ease;
    letter-spacing: 1px;
    font-size: 16px;
    cursor: pointer; 
    display: inline-block; 
}
/* Combined hover styles for all buttons */
.contact-btns a:hover, .discord-btn:hover, .resume-btn:hover { 
    background: var(--secondary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.4); 
}

/* Specific button styles */
.discord-btn {
    background: #5865F2; /* Discord's brand color */
    border: none;
}
.discord-btn:hover {
    background: #7289da;
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.6);
}


/* Internship CTA Style and Hover */
.internship-cta {
    margin-top: 30px;
    font-family: 'Orbitron', sans-serif;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: clamp(16px, 3vw, 24px); 
    text-align: center;
    width: 80%;
    max-width: 550px; 
    letter-spacing: 1px;
    border: 2px solid var(--secondary-color); 
    transition: 0.3s ease; 
    cursor: pointer; 
}
.internship-cta:hover {
    transform: scale(1.03); 
    box-shadow: 0 0 25px var(--secondary-color), 0 0 10px var(--primary-color); 
}


/* --- Footer --- */
footer {
    text-align: center;
    padding: 30px 10px;
    color: #aaa;
    border-top: 1px solid rgba(255, 20, 147, 0.3);
    box-shadow: 0 -2px 10px rgba(255, 20, 147, 0.2);
    font-size: 18px; /* Increased font size */
    letter-spacing: 1px;
}

/* --- Responsive Design (Mobile First) --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 5%;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
    }
    .logo {
        margin-bottom: 10px;
    }
    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px; 
    }
    nav a {
        margin: 5px 10px;
        font-size: 12px; 
    }

    section {
        margin-top: 140px; 
        width: 90%;
        padding: 30px 20px;
    }
    .hero {
        margin-top: 10px; 
    }

    .projects {
        gap: 15px;
    }
    .project-card {
        padding: 20px;
    }

    .timeline::before {
        left: 10px; 
    }
    .timeline li {
        width: 100%;
        padding: 15px 15px 15px 40px; 
        left: 0 !important; 
        text-align: left !important;
        margin-bottom: 15px; 
    }
    .timeline li::before {
        left: 2px !important; 
        top: 25px; 
    }
    .internship-cta {
        width: 100%;
        padding: 15px 10px;
    }
}
