:root {
    --bg-deep: #020617;
    --bg-card: #0f172a;
    --primary: #38bdf8;
    --primary-glow: rgba(56, 189, 248, 0.3);
    --secondary: #6366f1;
    --text-bright: #f8fafc;
    --text-main: #cbd5e1;
    --text-muted: #64748b;
    --border: rgba(255, 255, 255, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    z-index: 2000;
    transition: width 0.1s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 110%;
}

body.menu-open {
    overflow: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: 'Outfit', sans-serif;
    color: var(--text-bright);
}

#data-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #818cf8 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Navigation */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    display: flex;
    align-items: center;
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

#navbar.scrolled {
    height: 60px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#navbar .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-role {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    border-left: 1px solid var(--border);
    padding-left: 12px;
    height: 20px;
    display: flex;
    align-items: center;
    opacity: 0.8;
}

.logo-tag {
    font-size: 0.65rem;
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    padding: 2px 8px;
    border: 1px solid var(--primary-glow);
    border-radius: 4px;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    position: relative;
    padding: 5px 0;
}

.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Menu Toggle for Mobile */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    height: 3px;
    width: 100%;
    background-color: var(--text-bright);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Mobile Menu Animation */
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#hero::after {
    content: '';
    position: absolute;
    top: 15%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    z-index: -1;
    filter: blur(80px);
    animation: pulse 10s infinite alternate;
}

#hero::before {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
    animation: pulse 8s infinite alternate-reverse;
}

@keyframes pulse {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(20px, -20px) scale(1.1);
        opacity: 0.8;
    }
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h2 {
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
}

.hero-content h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -2px;
    font-weight: 800;
}

.hero-content h1 span.gradient-text {
    display: block;
    font-size: 5.5rem;
    margin-top: 0.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
}

.hero-btns {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    text-decoration: none;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-down:hover {
    opacity: 1;
    color: white;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    font-size: 1rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-deep);
    border: none;
    box-shadow: 0 10px 20px var(--primary-glow);
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px var(--primary-glow), 0 0 40px var(--primary-glow);
    background: #fff;
    color: var(--bg-deep);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: var(--y, 50%);
    left: var(--x, 50%);
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 1;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary span,
.btn-primary {
    z-index: 2;
}

.btn-outline {
    background: transparent;
    color: var(--text-bright);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(56, 189, 248, 0.05);
}

/* Sections */
section {
    padding: 30px 0;
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.underline {
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.data-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.data-card:hover {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.skill-category i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.skill-category li i {
    font-size: 1rem;
    margin-bottom: 0;
    width: 20px;
    opacity: 0.7;
}

/* Experience Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    padding-left: 60px;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-dot {
    position: absolute;
    left: 11px;
    top: 5px;
    width: 20px;
    height: 20px;
    background: var(--bg-deep);
    border: 3px solid var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-glow);
    z-index: 2;
}

.timeline-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 8px;
    transition: var(--transition);
}

.timeline-content:hover {
    border-color: var(--primary);
    transform: translateX(10px);
}

.exp-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.exp-logo {
    width: 60px;
    height: 40px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.exp-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.exp-title {
    flex-grow: 1;
}

.exp-title h3 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.exp-company-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.exp-company-link:hover .exp-company {
    color: var(--primary);
    text-decoration: underline;
}

.exp-company-link i {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.exp-company-link:hover i {
    color: var(--primary);
    transform: translate(2px, -2px);
}

.exp-company {
    color: #10b981;
    font-weight: 600;
}

.exp-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 12px;
    border-radius: 20px;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.6;
}

.timeline-content li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

@media (max-width: 768px) {
    .exp-header {
        flex-direction: column;
    }
}

.exp-tech-stack {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--border);
}

.exp-tech-stack h4 {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tech-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.exp-tech-stack .tech-tag {
    background: rgba(56, 189, 248, 0.05);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.exp-tech-stack .tech-tag:hover {
    background: var(--primary);
    color: var(--bg-deep);
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px var(--primary-glow);
}

/* Projects Section Redesign */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.project-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 3rem;
    align-items: center;
    background: rgba(15, 23, 42, 0.3);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.project-item:hover {
    border-color: var(--primary-glow);
    background: rgba(15, 23, 42, 0.5);
    transform: translateY(-5px);
}

.project-number {
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary);
    font-family: 'Outfit', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border-radius: 20px;
    background: var(--bg-deep);
    border: 2px solid var(--border);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.project-number::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 24px;
    border: 1px solid var(--primary-glow);
    opacity: 0;
    transition: var(--transition);
}

.project-item:hover .project-number {
    border-color: var(--primary);
    transform: rotate(-5deg);
}

.project-item:hover .project-number::after {
    opacity: 1;
    inset: -10px;
}

.project-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.project-header h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, var(--text-bright), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-category {
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.project-desc {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-main);
}

.project-tech-stack h4,
.project-achievements h4 {
    font-size: 0.9rem;
    color: var(--text-bright);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.tech-tags span {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.project-achievements ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.project-achievements li {
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.project-achievements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.btn-github {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-bright);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    max-width: fit-content;
}

.btn-github:hover {
    background: var(--text-bright);
    color: var(--bg-deep);
    border-color: var(--text-bright);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .project-item {
        grid-template-columns: 1fr;
        gap: 2rem;
        justify-items: center;
        text-align: center;
        padding: 2rem;
    }

    .project-header h3 {
        font-size: 1.5rem;
    }

    .tech-tags {
        justify-content: center;
    }

    .project-achievements ul {
        text-align: left;
        max-width: 100%;
        margin: 0 auto;
    }

    .btn-github {
        margin: 0 auto;
    }
}


/* Contact */
.contact-container {
    background: linear-gradient(145deg, var(--bg-card), rgba(15, 23, 42, 0.6));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-links a {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-bright);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-glow);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(2, 6, 23, 0.6);
    border: 1px solid var(--border);
    padding: 1.2rem;
    color: white;
    border-radius: 8px;
    outline: none;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: rgba(2, 6, 23, 0.8);
    box-shadow: 0 0 15px var(--primary-glow);
}

#contact-form .btn {
    width: 100%;
    padding: 1.2rem;
    font-size: 1rem;
}

/* Footer */
footer {
    padding: 5rem 0 2rem;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.8));
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--text-bright);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
}

.footer-nav li,
.footer-contact li {
    margin-bottom: 0.8rem;
}

.footer-nav a,
.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.white-text {
    color: var(--text-bright);
    font-weight: 600;
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-main);
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #10b981;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    
    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-brand .logo {
        justify-content: center;
    }
    
    .footer-nav a, .footer-contact a {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* Table & Content Utility */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.project-data-table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: 0.85rem;
    background: rgba(15, 23, 42, 0.4);
}

.project-data-table th,
.project-data-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.project-data-table th {
    background: rgba(56, 189, 248, 0.1);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.75rem;
    font-weight: 700;
}

.project-data-table tr:last-child td {
    border-bottom: none;
}

.project-data-table tr:hover {
    background: rgba(56, 189, 248, 0.05);
}

/* Media Queries for Mobile Responsiveness */
@media (max-width: 900px) {
    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content h1 span.gradient-text {
        font-size: 4rem;
    }

    .project-item {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }

    .project-number {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 100%;
        background: var(--bg-deep);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: 0.4s ease;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .hero-content h1 span.gradient-text {
        font-size: 3rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .timeline::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 40px;
    }

    .timeline-dot {
        left: 1px;
    }

    .contact-info h2 {
        font-size: 2rem;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content h1 span.gradient-text {
        font-size: 2.4rem;
    }

    .logo-role {
        display: none;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .data-card {
        padding: 1.5rem;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .exp-title h3 {
        font-size: 1.2rem;
    }

    .project-details {
        text-align: left;
    }

    .project-header h3 {
        font-size: 1.4rem;
    }

    .contact-container {
        padding: 1.5rem;
    }
}

/* Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--bg-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(56, 189, 248, 0.3);
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.5);
}