/* Global Styles */
:root {
--bg-primary: #07070A;
--bg-secondary: #0D0D12; 
--bg-glass: rgba(13, 13, 18, 0.6);
--text-primary: #E6EEF8;
--text-secondary: #A0A9BA;
--accent-cyan: #00E9FF;
--accent-violet: #8A2EFF;
--accent-magenta: #FF00A0;
--gradient-primary: linear-gradient(135deg, #00E9FF 0%, #8A2EFF 50%, #FF00A0 100%);
--gradient-secondary: linear-gradient(135deg, #8A2EFF 0%, #FF00A0 100%);
--shadow-glow: 0 0 20px rgba(0, 233, 255, 0.3);
--shadow-violet: 0 0 20px rgba(138, 46, 255, 0.3);
--shadow-magenta: 0 0 20px rgba(255, 0, 160, 0.3);
}
/* .{
margin: 0;
padding: 0;
box-sizing: border-box;
} */
body {
font-family: 'Rajdhani', sans-serif;
background: var(--bg-secondary); 
color: var(--text-primary);
overflow-x: hidden;
cursor: none;
line-height: 1.6;
/* FIX: Disable native smooth scrolling behavior to force GSAP snap immediacy */
scroll-behavior: auto; 
}
/* ... rest of the CSS ... */
/* Custom Cursor */
.cursor {
position: fixed;
width: 20px;
height: 20px;
background: var(--accent-cyan);
border-radius: 50%;
pointer-events: none;
z-index: 9999;
mix-blend-mode: difference;
transition: transform 0.1s ease;
}
.cursor-follower {
position: fixed;
width: 40px;
height: 40px;
border: 2px solid var(--accent-cyan);
border-radius: 50%;
pointer-events: none;
z-index: 9998;
transition: all 0.3s ease;
opacity: 0.5;
}
/* Typography */
h1, h2, h3 {
font-family: 'Orbitron', sans-serif;
font-weight: 700;
}
.section-title {
font-size: clamp(2.5rem, 5vw, 4rem);
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
position: relative;
display: inline-block;
margin-bottom: 3rem;
}
.title-glow {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* background: var(--gradient-primary); */
filter: blur(20px);
opacity: 0.5;
z-index: -1;
}
/* Navigation */
.navbar {
position: fixed;
top: 0;
width: 100%;
padding: 1rem 0;
background: var(--bg-glass);
backdrop-filter: blur(10px);
border-bottom: 1px solid rgba(0, 233, 255, 0.2);
z-index: 1000;
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
display: flex;
justify-content: space-between;
align-items: center;
}
.nav-logo {
position: relative;
}
.logo-text {
font-family: 'Orbitron', sans-serif;
font-size: 1.5rem;
font-weight: 900;
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.logo-glow {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 60px;
height: 60px;
background: var(--gradient-primary);
filter: blur(30px);
opacity: 0.3;
animation: pulse 2s infinite;
}
.nav-menu {
display: flex;
list-style: none;
gap: 2rem;
}
.nav-link {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
position: relative;
transition: all 0.3s ease;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: var(--gradient-primary);
transition: width 0.3s ease;
}
.nav-link:hover,
.nav-link.active {
color: var(--text-primary);
}
.nav-link:hover::after,
.nav-link.active::after {
width: 100%;
}
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}
.hamburger span {
width: 25px;
height: 3px;
background: var(--text-primary);
margin: 3px 0;
transition: 0.3s;
}
/* Buttons */
.btn {
display: inline-block;
padding: 1rem 2rem;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}
.btn-primary {
background: var(--gradient-primary);
color: var(--bg-primary);
border: none;
}
.btn-secondary {
background: transparent;
color: var(--text-primary);
border: 2px solid var(--accent-cyan);
}
.btn span {
position: relative;
z-index: 1;
}
.btn-glow {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background: var(--gradient-primary);
filter: blur(20px);
opacity: 0;
transition: opacity 0.3s ease;
}
.btn:hover .btn-glow {
opacity: 0.5;
}
.btn:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-glow);
}
/* Container */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 2rem;
}
/* Hero Section */
.hero-section {
margin-top: -60px;
min-height: 100vh;
display: flex; 
/* FIX 1: Align content items for the two-column layout */
align-items: center; 
justify-content: space-around; 
position: relative;
padding-top: 10vh;
padding-left: 5vw;
padding-right: 5vw; 
gap: 30px;
}
#three-container {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: auto; 
bottom: 0;
z-index: 1;
}
.hero-content {
    /* FIX 2: Set width for the left column and align text left */
    width: 50%; 
    max-width: 600px; 
    z-index: 20; 
    text-align: left; 
    margin: 0; 
    position: relative;
    
    /* FIX: Make content box transparent */
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0; 
}

/* NEW: Hero Image (Right Column) */
.hero-image {
    width: 40%;
    max-width: 400px; /* Constrain image size */
    z-index: 20;
    display: flex;
    justify-content: flex-end; 
    align-items: center;
    position: relative;
    /* Vertically center the image element */
    height: 100%; 
}
.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1 / 1; 
    /* Create the circular shape */
    border-radius: 50%; 
    /* Add a subtle neon glow border */
    border: 5px solid rgba(0, 233, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 233, 255, 0.5), 
                0 0 60px rgba(138, 46, 255, 0.4);
}

.hero-title {
font-size: clamp(3rem, 8vw, 6rem);
font-weight: 900;
margin-bottom: 1rem;
line-height: 1.1;
}
.name-first,
.name-last {
display: block;
}
.name-first {
background: var(--gradient-primary);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.name-last {
color: var(--text-primary);
}
.hero-subtitle {
font-size: 1.5rem;
color: var(--text-primary); 
margin-bottom: 1rem;
font-weight: 500;
text-shadow: 0 0 10px rgba(0, 233, 255, 0.4);
}
.hero-description {
font-size: 1.1rem;
color: var(--text-secondary);
margin-bottom: 2rem;
max-width: 100%; 
margin: 0 0 2rem 0;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: flex-start;
margin-bottom: 3rem;
}
.hero-stats {
display: flex;
justify-content: flex-start;
gap: 3rem;
}
.stat-item {
text-align: left; 
}
.stat-number {
display: block;
font-size: 2rem;
font-weight: 700;
color: var(--accent-cyan);
font-family: 'Orbitron', sans-serif;
}
.stat-label {
font-size: 0.9rem;
color: var(--text-secondary);
}
.scroll-indicator {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
}
.scroll-arrow {
width: 30px;
height: 30px;
border-right: 2px solid var(--accent-cyan);
border-bottom: 2px solid var(--accent-cyan);
transform: rotate(45deg);
animation: bounce 2s infinite;
}
/* Styling for About/Projects Main Content Wrapper */
.about-main-content {
    /* FIX 3: Make content box transparent */
    background: transparent;
    backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0; 
    
    position: relative; 
    z-index: 5;
    margin: 0 auto; 
    max-width: 1200px; 
}
/* Custom Background for Content Sections (After Home) */
.about-section,
.projects-section,
.education-section,
.contact-section,
.resume-section {
    position: relative; 
    /* Apply a static background that maintains the aesthetic */
    background: linear-gradient(180deg, 
        rgba(13, 13, 18, 1) 0%,      
        rgba(40, 0, 70, 0.5) 15%,    
        rgba(13, 13, 18, 1) 50%,     
        rgba(0, 50, 60, 0.5) 85%,    
        rgba(13, 13, 18, 1) 100%     
    );
    z-index: 10;
    
    padding: 5rem 0;
    min-height: 100vh;
}
.about-header {
text-align: center;
margin-bottom: 4rem;
}
.about-content {
display: grid;
gap: 4rem;
/* FIX 4: Ensure content container is transparent */
background: transparent;
padding: 0;
}
.about-text {
max-width: 800px;
margin: 0 auto;
/* FIX 5: Ensure text wrapper is fully transparent */
background: transparent !important;
padding: 0 !important;
}
.about-intro {
font-size: 1.3rem;
color: var(--accent-cyan);
margin-bottom: 2rem;
font-weight: 500;
}
.about-description,
.about-goal {
margin-bottom: 2rem;
color: var(--text-secondary);
line-height: 1.8;
padding: 0;
}
.skills-title {
font-size: 2rem;
margin-bottom: 2rem;
text-align: center;
color: var(--text-primary);
}
.skills-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.skill-category {
background: var(--bg-glass);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 233, 255, 0.2);
border-radius: 10px;
padding: 2rem;
position: relative;
overflow: hidden;
}
.skill-category::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: var(--gradient-primary);
border-radius: 10px;
opacity: 0;
z-index: -1;
transition: opacity 0.3s ease;
}
.skill-category:hover::before {
opacity: 0.3;
}
.skill-category h3 {
color: var(--accent-cyan);
margin-bottom: 1rem;
}
.skill-chips {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.skill-chip {
background: rgba(0, 233, 255, 0.1);
color: var(--accent-cyan);
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.9rem;
border: 1px solid rgba(0, 233, 255, 0.3);
transition: all 0.3s ease;
}
.skill-chip:hover {
background: rgba(0, 233, 255, 0.2);
transform: translateY(-2px);
}
/* Projects Section */
.projects-section {
/* Styles applied by the grouped selector above */
}
.projects-header {
text-align: center;
margin-bottom: 4rem;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 3rem;
}
.project-card {
background: var(--bg-glass);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 233, 255, 0.2);
border-radius: 15px;
padding: 2rem;
position: relative;
transition: all 0.3s ease;
cursor: pointer;
}
.card-glow {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--gradient-primary);
border-radius: 15px;
opacity: 0;
z-index: -1;
filter: blur(20px);
transition: opacity 0.3s ease;
}

.project-card:hover .card-glow {
opacity: 0.3;
}
.project-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 233, 255, 0.1);
}
.project-icon {
width: 60px;
height: 60px;
background: var(--gradient-primary);
border-radius: 15px;

display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1.5rem;
}
.project-icon svg {
width: 30px;
height: 30px;
color: var(--bg-primary);
}
.project-title {
font-size: 1.5rem;
margin-bottom: 1rem;
color: var(--text-primary);
}
.project-description {
color: var(--text-secondary);
margin-bottom: 1.5rem;
line-height: 1.6;
}
.project-tech {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
margin-bottom: 1.5rem;
}
.tech-tag {
background: rgba(138, 46, 255, 0.1);
color: var(--accent-violet);
padding: 0.3rem 0.8rem;
border-radius: 15px;
font-size: 0.8rem;
border: 1px solid rgba(138, 46, 255, 0.3);
}
.project-links {
display: flex;
gap: 1rem;
}
.project-link {
color: var(--accent-cyan);
text-decoration: none;
font-weight: 500;
position: relative;
}
.project-link::after {
content: '';
position: absolute;
bottom: -2px;
left: 0;
width: 0;
height: 1px;
background: var(--accent-cyan);
transition: width 0.3s ease;
}
.project-link:hover::after {
width: 100%;
}
/* Education Section */
.education-section {
/* Styles applied by the grouped selector above */
}
.education-header {
text-align: center;
margin-bottom: 4rem;
}
.timeline {
position: relative;
max-width: 800px;
margin: 0 auto;
}
.timeline-line {
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 2px;
background: rgba(0, 233, 255, 0.2);
transform: translateX(-50%);
}
.timeline-progress {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 0%;
background: var(--gradient-primary);
transition: height 0.3s ease;
}
.timeline-item {
position: relative;
margin-bottom: 4rem;
}
.timeline-item:nth-child(odd) .timeline-content {
margin-right: 50%;
padding-right: 3rem;
text-align: right;
}
.timeline-item:nth-child(even) .timeline-content {
margin-left: 50%;
padding-left: 3rem;
}
.timeline-dot {
position: absolute;
top: 20px;
left: 50%;
transform: translateX(-50%);
width: 20px;
height: 20px;
background: var(--accent-cyan);
border-radius: 50%;
border: 4px solid var(--bg-primary);
box-shadow: var(--shadow-glow);
}
.timeline-card {
background: var(--bg-glass);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 233, 255, 0.2);
border-radius: 15px;
padding: 2rem;
position: relative;
}
.timeline-title {
font-size: 1.3rem;
color: var(--text-primary);
margin-bottom: 0.5rem;
}
.timeline-institution {
color: var(--accent-cyan);
font-weight: 500;
margin-bottom: 0.3rem;
}
.timeline-duration {
color: var(--text-secondary);
font-size: 0.9rem;
margin-bottom: 1rem;
}
.timeline-description {
color: var(--text-secondary);
line-height: 1.6;
margin-bottom: 1rem;
}
.timeline-achievements {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
}
.achievement-badge {
background: rgba(255, 0, 160, 0.1);
color: var(--accent-magenta);
padding: 0.3rem 0.8rem;
border-radius: 15px;
font-size: 0.8rem;
border: 1px solid rgba(255, 0, 160, 0.3);
}
/* Contact Section */
.contact-section {
/* Styles applied by the grouped selector above */
}
.contact-header {
text-align: center;
margin-bottom: 4rem;
}
.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 4rem;
max-width: 1000px;
margin: 0 auto;
}
.contact-subtitle {
font-size: 2rem;
margin-bottom: 1rem;
color: var(--text-primary);
}
.contact-description {
color: var(--text-secondary);
margin-bottom: 2rem;
line-height: 1.6;
}
.contact-methods {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.contact-item {
display: flex;
align-items: center;
gap: 1rem;
text-decoration: none;
color: inherit;
padding: 1.5rem;
background: var(--bg-glass);
backdrop-filter: blur(10px);
border: 1px solid rgba(0, 233, 255, 0.2);
border-radius: 10px;
transition: all 0.3s ease;
}
.contact-item:hover {
transform: translateX(10px);
border-color: var(--accent-cyan);
box-shadow: var(--shadow-glow);
}
.contact-icon {
width: 50px;
height: 50px;
background: var(--gradient-primary);
border-radius: 10px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.contact-icon svg {
width: 24px;
height: 24px;
color: var(--bg-primary);
}
.contact-details {
display: flex;
flex-direction: column;
}
.contact-label {
font-size: 0.9rem;
color: var(--text-secondary);
}
.contact-value {
font-size: 1.1rem;
color: var(--text-primary);
font-weight: 500;
}
.contact-form {
display: flex;
flex-direction: column;
gap: 2rem;
}
.form-group {
position: relative;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 1rem;
background: var(--bg-glass);
border: 1px solid rgba(0, 233, 255, 0.2);
border-radius: 10px;
color: var(--text-primary);
font-family: inherit;
font-size: 1rem;
transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: var(--accent-cyan);
box-shadow: var(--shadow-glow);
}
.form-group label {
position: absolute;
top: 1rem;
left: 1rem;
color: var(--text-secondary);
transition: all 0.3s ease;
pointer-events: none;
}
.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
top: -0.5rem;
left: 0.5rem;
font-size: 0.8rem;
color: var(--accent-cyan);
background: var(--bg-primary);
padding: 0 0.5rem;
}
.form-glow {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--gradient-primary);
border-radius: 10px;
opacity: 0;
z-index: -1;
filter: blur(20px);
transition: opacity 0.3s ease;
}
.form-group:focus-within .form-glow {
opacity: 0.3;
}
/* Resume Section */

.resume-header {
text-align: center;
margin-bottom: 3rem;
display: flex;
justify-content: space-between;
align-items: center;
max-width: 800px;
margin: 0 auto 3rem;
}
.download-btn {
margin-left: auto;
}
.resume-viewer {
position: relative;
max-width: 800px;
margin: 0 auto;
background: var(--bg-glass);
border-radius: 15px;
overflow: hidden;
border: 1px solid rgba(0, 233, 255, 0.2);
}
.resume-viewer iframe {
display: block;
border: none;
}
.resume-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: var(--bg-secondary);
display: flex;
align-items: center;
justify-content: center;
text-align: center;
padding: 2rem;
opacity: 0;
pointer-events: none;
}
.resume-overlay a {
color: var(--accent-cyan);
text-decoration: none;
}
/* Responsive Design */@media (max-width: 768px) {
/* Hamburger Menu Styles - Makes it visible and sets up the slide-in */
.nav-menu {
position: fixed;
top: 70px;
/* FIX 1: Use transform to move it off-screen (left: 0, then shift 100%) */
left: 0; 
transform: translateX(100%); 
width: 100%;
height: calc(100vh - 70px);
background: var(--bg-glass);
backdrop-filter: blur(10px);
flex-direction: column;
justify-content: start;
align-items: center;
padding-top: 2rem;
/* FIX 2: Update transition to use transform property */
transition: transform 0.3s ease; 
}
.nav-menu.active {
    /* FIX 3: Slide into view */
    transform: translateX(0);
}
.hamburger {
    display: flex; /* Displays the hamburger icon */
}

/* HERO SECTION MOBILE FIXES (Vertical Stacking) */
.hero-section {
    flex-direction: column;
    padding-top: 10vh; /* Reduce top padding for better screen usage */
    padding-left: 20px;
    padding-right: 20px;
    justify-content: flex-start; 
    min-height: auto; 
}

.hero-content {
    width: 100%; /* Take full width */
    max-width: none;
    text-align: center;
    margin: 0;
    padding: 0;
    order: 2; /* Content (text/stats) goes below the image */
}
.hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem); 
}
.hero-buttons {
    justify-content: center; /* Center buttons */
}
.hero-stats {
    justify-content: center; /* Center stats */
}
.hero-description {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.hero-image {
    order: 1; /* Place image above text */
    width: 70%; /* Image takes less width to appear central */
    max-width: 300px;
    margin-bottom: 2rem;
    margin-top: 0;
}
.hero-image img {
    border-width: 3px;
}

/* General Mobile Overrides */
.hero-stats {
    flex-direction: column;
    gap: 1.5rem;
}
.contact-content {
    grid-template-columns: 1fr;
}
.timeline-item:nth-child(odd) .timeline-content,
.timeline-item:nth-child(even) .timeline-content {
    margin: 0;
    padding: 0 0 0 3rem;
    text-align: left;
}
.timeline-line {
    left: 20px;
}
.timeline-dot {
    left: 20px;
}
.resume-header {
    flex-direction: column;
    gap: 2rem;
}
.download-btn {
    margin: 0;
}
}
@keyframes pulse {
0%, 100% {
opacity: 0.3;
}
50% {
opacity: 0.6;
}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0) rotate(45deg);
}
40% {
transform: translateY(-10px) rotate(45deg);
}
60% {
transform: translateY(-5px) rotate(45deg);
}
}



/* FOOTER STYLES */
/* FOOTER STYLES */
.final-footer {
    padding: 2rem 0; 
    /* FIX 1: Remove min-height to make it small */
    /* min-height: 10vh; <--- REMOVE THIS LINE */
    min-height: 100px; /* Use a reasonable absolute pixel height */
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background: var(--bg-secondary); */
    border-top: 1px solid rgba(0, 233, 255, 0.1);
    
    /* FIX 2: Ensure it has no full-page positioning constraints */
    position: sticky; /* Set position back to relative for normal flow */
    z-index: 10; /* Keep it above background elements */
}
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
}
.footer-social-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}
.social-icon {
    width: 28px;
    height: 28px;
    color: var(--text-secondary);
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-icon:hover {
    color: var(--accent-cyan);
    transform: translateY(-3px);
    filter: drop-shadow(0 0 5px var(--accent-cyan));
}
.footer-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}
/* make sure they are rendered immediately */