/* Base Styles */
:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #121212;
    --tertiary-bg: #1a1a1a;
    --primary-text: #ffffff;
    --secondary-text: #b3b3b3;
    --accent-blue: #00f0ff;
    --accent-purple: #a100f0;
    --accent-cyan: #00f0ff;
    --accent-pink: #ff00aa;
    --glass-bg: rgba(15, 15, 15, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

[data-bs-theme="light"] {
    --primary-bg: #f5f5f5;
    --secondary-bg: #ffffff;
    --tertiary-bg: #e5e5e5;
    --primary-text: #121212;
    --secondary-text: #4a4a4a;
    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    overflow-x: hidden;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6,
.navbar-brand, .section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-header h2 span {
    color: var(--accent-blue);
}

.section-line {
    height: 4px;
    width: 80px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.section-line::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--accent-blue), 0 0 20px var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    position: relative;
    overflow: hidden;
}

.btn-neon {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: #000;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

.btn-neon:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.8);
}

.btn-neon-outline {
    background: transparent;
    color: var(--accent-blue);
    border: 2px solid var(--accent-blue);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.btn-neon-outline:hover {
    background: var(--accent-blue);
    color: #000;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--accent-blue);
    position: fixed;
    pointer-events: none;
    mix-blend-mode: difference;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cursor-follower::after {
    content: '';
    width: 10px;
    height: 10px;
    background-color: var(--accent-blue);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor.active ~ .cursor-follower::after {
    opacity: 1;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background-color: rgba(0, 240, 255, 0.1);
}

/* Navbar */
.navbar {
    padding: 20px 0;
    background-color: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition);
    z-index: 1000;
}

.navbar.scrolled {
    padding: 15px 0;
    background-color: rgba(10, 10, 10, 0.95);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-blue);
    letter-spacing: 2px;
}

.navbar-nav {
    gap: 20px;
}

.nav-link {
    position: relative;
    padding: 5px 0;
    font-weight: 500;
    letter-spacing: 1px;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.navbar-toggler {
    border: none;
    color: var(--primary-text);
    font-size: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Theme Switch */
.theme-switch-wrapper {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.theme-switch {
    display: inline-block;
    height: 24px;
    position: relative;
    width: 50px;
}

.theme-switch input {
    display: none;
}

.slider {
    background-color: var(--tertiary-bg);
    bottom: 0;
    cursor: pointer;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.slider:before {
    background-color: var(--accent-blue);
    bottom: 3px;
    content: "";
    height: 16px;
    left: 4px;
    position: absolute;
    transition: var(--transition);
    width: 16px;
}

input:checked + .slider {
    background-color: var(--tertiary-bg);
}

input:checked + .slider:before {
    transform: translateX(26px);
    background-color: var(--accent-purple);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(161, 0, 240, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 30%, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.hero-section .container {
    position: relative;
    z-index: 3;
}

.glitch {
    position: relative;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary-text);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    color: var(--accent-blue);
    animation: glitch-effect 3s infinite;
    z-index: -1;
}

.glitch::after {
    color: var(--accent-purple);
    animation: glitch-effect 2s infinite reverse;
    z-index: -2;
}

@keyframes glitch-effect {
    0% { transform: translate(0); }
    20% { transform: translate(-3px, 3px); }
    40% { transform: translate(-3px, -3px); }
    60% { transform: translate(3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

.typewriter h2 {
    font-size: 1.8rem;
    color: var(--accent-cyan);
    margin-bottom: 20px;
    overflow: hidden;
    border-right: 3px solid var(--accent-cyan);
    white-space: nowrap;
    letter-spacing: 2px;
    animation: typing 3.5s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--accent-cyan) }
}

.hero-subtext {
    font-size: 1.1rem;
    color: var(--secondary-text);
    margin-bottom: 30px;
    max-width: 600px;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chevron {
    width: 20px;
    height: 5px;
    background-color: var(--accent-blue);
    margin: 3px 0;
    animation: scroll-pulse 2s infinite;
    opacity: 0.5;
}

.chevron:nth-child(1) { animation-delay: 0s; }
.chevron:nth-child(2) { animation-delay: 0.2s; }
.chevron:nth-child(3) { animation-delay: 0.4s; }

@keyframes scroll-pulse {
    0% { opacity: 0.5; transform: translateY(0); }
    50% { opacity: 1; transform: translateY(10px); }
    100% { opacity: 0.5; transform: translateY(0); }
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--secondary-bg);
    position: relative;
    overflow: hidden;
}

.holographic-avatar {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.avatar-wrapper {
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    transition: var(--transition);
}

.avatar-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.holographic-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    z-index: 1;
    animation: hologram-pulse 6s infinite alternate;
}

.holographic-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: 3;
    opacity: 0.3;
    border-radius: 50%;
}

@keyframes hologram-pulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.7; }
    100% { opacity: 0.3; }
}

.about-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.about-section p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: var(--secondary-text);
}

.skills-highlight {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0;
}

.skill-tag {
    padding: 8px 15px;
    background-color: var(--tertiary-bg);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.skill-tag:hover {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.about-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Journey Section */
.journey-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 6px;
    background: linear-gradient(to bottom, var(--accent-blue), var(--accent-purple));
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
}

.timeline-progress {
    position: absolute;
    width: 6px;
    background: var(--primary-text);
    top: 0;
    bottom: 100%;
    left: 50%;
    margin-left: -3px;
    border-radius: 3px;
    z-index: 1;
    transition: bottom 0.5s ease;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition);
}

.timeline-item.visible {
    opacity: 1 !important;
    transform: none !important;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-bg);
    border: 4px solid var(--accent-blue);
    top: 15px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-blue);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.left::after {
    right: -10px;
}

.timeline-item.right::after {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--secondary-bg);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, transparent 50%);
    border-radius: 10px;
    z-index: -1;
}

.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.timeline-date {
    color: var(--accent-blue);
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: seashell;
}

.timeline-content p {
    color: seashell;
    line-height: 1.6;
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
    background-color: var(--secondary-bg);
}

.project-card {
    background-color: var(--tertiary-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.project-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-img img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 240, 255, 0.2), rgba(161, 0, 240, 0.4));
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-link {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.project-link:hover {
    background-color: var(--accent-blue);
    color: #000;
    transform: translateY(-5px);
}

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-bottom: 10px;
    color: var(--primary-text);
}

.project-info p {
    color: var(--secondary-text);
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.project-tech span {
    padding: 5px 10px;
    background-color: rgba(0, 240, 255, 0.1);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--accent-blue);
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
}

.blog-card {
    background: var(--glass-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 240, 255, 0.2);
    border-color: rgba(0, 240, 255, 0.3);
}

.blog-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-img img {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.7);
    color: var(--accent-blue);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.blog-content {
    padding: 20px;
}

.blog-content h3 {
    margin-bottom: 15px;
    color: var(--primary-text);
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--accent-blue);
}

.blog-content p {
    color: var(--secondary-text);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-blue);
    font-weight: 600;
    transition: var(--transition);
}

.blog-link i {
    margin-left: 5px;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--accent-purple);
}

.blog-link:hover i {
    transform: translateX(5px);
}

.blog-cta {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(161, 0, 240, 0.1));
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.blog-cta:hover {
    border-color: var(--accent-blue);
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.2);
}

.blog-cta-content {
    padding: 30px;
    text-align: center;
}

.blog-cta-content h3 {
    margin-bottom: 15px;
    color: var(--primary-text);
}

.blog-cta-content p {
    color: var(--secondary-text);
    margin-bottom: 20px;
}

/* Skills Section */
.skills-section {
    padding: 100px 0;
    background-color: var(--secondary-bg);
}

.skill-item {
    margin-bottom: 30px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.skill-info h3 {
    font-size: 1rem;
    color: var(--primary-text);
}

.skill-info span {
    color: var(--accent-blue);
    font-weight: 600;
}

.progress {
    height: 8px;
    background-color: var(--tertiary-bg);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
    transition: width 1.5s ease;
}

.other-skills {
    margin-top: 50px;
}

.other-skills h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--primary-bg);
    position: relative;
    overflow: hidden;
}

.contact-info {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 10px;
    height: 100%;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent-blue);
}

.contact-info p {
    color: var(--secondary-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    flex-shrink: 0;
    color: #000;
}

.contact-text h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--primary-text);
}

.contact-text p {
    margin: 0;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--tertiary-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary-text);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.social-link:hover {
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.contact-form {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--glass-shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--primary-text);
    padding: 12px 15px;
    border-radius: 5px;
    transition: var(--transition);
}

.form-control:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
    color: var(--primary-text);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

textarea.form-control {
    min-height: 150px;
}

/* Footer */
.footer {
    background-color: var(--secondary-bg);
    padding: 50px 0 20px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-purple));
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo h2 {
    font-size: 1.8rem;
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.footer-logo p {
    color: var(--secondary-text);
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--secondary-text);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-blue);
}

.footer-copy p {
    color: var(--secondary-text);
    font-size: 0.9rem;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-purple));
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 240, 255, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 240, 255, 0.4);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .typewriter h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item.right {
        left: 0;
    }
    
    .timeline-item.left::after, 
    .timeline-item.right::after {
        left: 21px;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .typewriter h2 {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-buttons {
        flex-direction: column;
    }
    
    .contact-section .row {
        flex-direction: column-reverse;
    }
    
    .contact-info {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}