/* Modern Reset and Variables */
:root {
    --primary: #2563eb;
    --secondary: #3b82f6;
    --dark: #1e293b;
    --light: #f8fafc;
    --accent: #38bdf8;
    --glass: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--dark);
    color: var(--light);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* 3D Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Glass Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(10, 10, 31, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 247, 255, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo-3d {
    padding: 0.5rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.nav-link i {
    font-size: 1.1rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(0, 247, 255, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover i {
    transform: scale(1.1);
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 31, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease-in-out;
        gap: 2rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-item {
        width: 80%;
        max-width: 300px;
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }

    .nav-links.active .nav-item {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-link {
        width: 100%;
        padding: 15px;
        text-align: center;
        font-size: 1.2rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 8px;
        border: 1px solid rgba(0, 247, 255, 0.1);
    }

    /* Hamburger Animation */
    .hamburger-menu.active span:first-child {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:last-child {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Prevent scrolling when menu is open */
    body.menu-open {
        overflow: hidden;
    }

    /* Animation delays for menu items */
    .nav-links.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav-links.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
}

/* Active Navigation Link */
.nav-link.active {
    color: var(--primary);
    background: rgba(0, 247, 255, 0.1);
}

.nav-link.active i {
    transform: scale(1.1);
}

/* Animation for menu items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-links.active .nav-item {
    animation: slideIn 0.3s ease forwards;
}

.nav-links.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-links.active .nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-links.active .nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-links.active .nav-item:nth-child(4) { animation-delay: 0.4s; }

/* Touch-friendly hover states */
@media (hover: hover) {
    .nav-link:hover {
        color: var(--primary);
    }
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1000;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
    box-shadow: 0 0 5px var(--primary);
}

/* Active State for Hamburger */
.hamburger-menu.active span:first-child {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:last-child {
    transform: translateY(-8px) rotate(-45deg);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .hamburger-menu {
    display: block;
    }

    .nav-links {
        position: fixed;
        top: 60px; /* Match navbar height */
        right: -100%;
    width: 100%;
        height: calc(100vh - 60px); /* Subtract navbar height */
        background: rgba(10, 10, 31, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
    justify-content: center;
    gap: 2rem;
        transition: 0.3s ease-in-out;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 1rem 2rem;
        width: 100%;
    text-align: center;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 247, 255, 0.1);
        color: var(--primary);
    }
}

/* Adjust hero section to account for smaller navbar */
.hero {
    padding-top: 60px; /* Match navbar height */
}

/* 3D Profile Section */
.profile-3d-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    perspective: 1000px;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent);
    transform-style: preserve-3d;
    animation: profileFloat 6s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform-style: preserve-3d;
    animation: rotate 20s linear infinite;
}

.tech-badge {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

/* Modern Button Styles */
.cta-button {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--light);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotateX(0); }
    50% { transform: translateY(-10px) rotateX(5deg); }
}

@keyframes profileFloat {
    0%, 100% { transform: translateY(0) rotateY(0); }
    50% { transform: translateY(-20px) rotateY(10deg); }
}

@keyframes rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* Glitch Text Effect */
.glitch-text {
    font-size: 4rem;
    font-weight: 700;
    position: relative;
    text-shadow: 0.05em 0 0 var(--accent),
                -0.05em -0.025em 0 var(--primary);
    animation: glitch 1s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Reset and Base Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    margin-left: 2rem;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #00ffff;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding-top: 80px; /* Account for nav height */
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
}

.profile-3d-wrapper {
    width: 300px;
    height: 300px;
    position: relative;
    margin-bottom: 1.5rem;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--accent);
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
}

.hero-text {
    text-align: center;
    margin-bottom: 2rem;
}

.title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.gradient-text {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    color: transparent;
}

.typing-text {
    font-size: 1.2rem;
    color: var(--light);
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.cta-button {
    flex: 1;
    max-width: 180px;
    padding: 0.8rem 1rem;
    text-align: center;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--light);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 247, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-button:hover {
    transform: translateY(-3px);
}

.cta-button.primary:hover {
    box-shadow: 0 6px 20px rgba(0, 247, 255, 0.5);
}

.cta-button.secondary:hover {
    background: rgba(0, 247, 255, 0.1);
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    .title-wrapper {
        padding: 0 1rem;
    }

    .gradient-text {
        font-size: 1.5rem;
    }

    .typing-text {
        font-size: 1rem;
    }

    .cta-group {
        flex-direction: row; /* Keep buttons side by side */
        gap: 1rem;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.7rem 0.5rem;
        font-size: 0.9rem;
        min-width: 120px;
    }
}

/* Small Mobile Screens */
@media screen and (max-width: 380px) {
    .cta-group {
        flex-direction: column;
        align-items: center;
    }

    .cta-button {
        width: 100%;
        max-width: 200px;
        padding: 0.8rem 1rem;
    }
}

/* Adjust hero section spacing */
.hero-center {
    padding: 2rem 1rem;
}

.profile-3d-wrapper {
    margin-bottom: 2rem;
}

.hero-text {
    margin-bottom: 1rem;
}

/* Sections */
section {
    padding: 100px 5%;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* Skills */
.skill-bars {
    max-width: 600px;
    margin: 0 auto;
}

.skill {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
}

.skill-bar {
    height: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: #00ffff;
    border-radius: 5px;
    transition: width 1s ease;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-info {
    padding: 1.5rem;
}

/* Contact Form */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
}

/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #fff;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00ffff;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
}

/* Particles Background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    z-index: -1;
}

/* Profile Image */
.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 4px solid transparent;
    background: linear-gradient(45deg, #FFD700, #FFA500, #FF4500);
    padding: 4px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Animated Shapes */
.animated-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s infinite;
}

.shape1 {
    width: 60px;
    height: 60px;
    background: rgba(0,123,255,0.1);
    top: 20%;
    left: 10%;
}

.shape2 {
    width: 80px;
    height: 80px;
    background: rgba(0,123,255,0.15);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.shape3 {
    width: 40px;
    height: 40px;
    background: rgba(0,123,255,0.2);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Skill Bars */
.skill-bars {
    margin-top: 2rem;
}

.skill-bar {
    margin-bottom: 1.5rem;
}

.skill-name {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.bar {
    height: 10px;
    background: #eee;
    border-radius: 5px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: #007bff;
    border-radius: 5px;
    animation: fillBar 2s ease-out;
}

@keyframes fillBar {
    from { width: 0; }
}

/* Hover Effects */
.project-card {
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.cta-button {
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: #0056b3;
    transform: scale(1.05);
}

/* Geometric Shapes */
.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.circle {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation: float 8s infinite ease-in-out;
}

.square {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 2px solid rgba(0, 123, 255, 0.2);
    top: 60%;
    right: 10%;
    animation: rotate 10s infinite linear;
}

.triangle {
    position: absolute;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 86px solid rgba(0, 123, 255, 0.1);
    bottom: 15%;
    left: 15%;
    animation: float 6s infinite ease-in-out;
}

.dots {
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, #007bff 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2;
    top: 20%;
    right: 15%;
    animation: fade 5s infinite alternate;
}

/* Profile Container Styles */
.profile-container {
    position: relative;
    margin-bottom: 3rem;
}

.profile-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid transparent;
    background: var(--gradient-primary);
    padding: 3px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.rotating-circle {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed #007bff;
    border-radius: 50%;
    animation: spin 10s linear infinite;
}

/* Floating Tech Icons */
.floating-icons {
    position: absolute;
    width: 300px;
    height: 300px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: #007bff;
    animation: iconFloat 4s infinite ease-in-out;
}

.floating-icons i:nth-child(1) { top: 0; left: 50%; animation-delay: 0s; }
.floating-icons i:nth-child(2) { top: 50%; right: 0; animation-delay: 0.8s; }
.floating-icons i:nth-child(3) { bottom: 0; left: 50%; animation-delay: 1.6s; }
.floating-icons i:nth-child(4) { top: 50%; left: 0; animation-delay: 2.4s; }
.floating-icons i:nth-child(5) { top: 25%; left: 25%; animation-delay: 3.2s; }

/* Typing Text Effect */
.typing-text {
    border-right: 2px solid #007bff;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Animations */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fade {
    from { opacity: 0.1; }
    to { opacity: 0.3; }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #007bff; }
}

/* Media Queries */
@media (max-width: 768px) {
    .geometric-shapes {
        display: none;
    }
    
    .floating-icons {
        width: 200px;
        height: 200px;
    }
    
    .floating-icons i {
        font-size: 1.5rem;
    }
}

/* Modern Gradient Variables */
:root {
    --gradient-primary: linear-gradient(45deg, #00dbde, #fc00ff);
    --gradient-secondary: linear-gradient(45deg, #4158D0, #C850C0, #FFCC70);
    --text-light: #ffffff;
    --text-dark: #333333;
    --accent-color: #fc00ff;
}

/* Gradient Overlay */
.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 100%
    );
    backdrop-filter: blur(10px);
    z-index: 1;
}

/* Gradient Shapes */
.gradient-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: blobFloat 8s infinite ease-in-out;
}

.blob1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    top: 20%;
    left: -100px;
}

.blob2 {
    width: 250px;
    height: 250px;
    background: var(--gradient-secondary);
    bottom: 10%;
    right: -50px;
    animation-delay: -2s;
}

.blob3 {
    width: 200px;
    height: 200px;
    background: var(--gradient-accent);
    top: 40%;
    right: 20%;
    animation-delay: -4s;
}

.gradient-ring {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-image: var(--gradient-primary);
    border-image-slice: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

/* Profile Image Updates */
.profile-image {
    position: relative;
    z-index: 2;
}

.profile-gradient-border {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    animation: borderRotate 4s linear infinite;
}

/* Floating Icons Update */
.icon-wrapper {
    position: absolute;
    width: 50px;
    height: 50px;
    background: var(--glass-background);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.icon-wrapper i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
    font-size: 1.5rem;
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    color: transparent;
}

/* Gradient Button */
.gradient-button {
    background: var(--gradient-primary);
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s ease;
}

.gradient-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.gradient-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.gradient-button:hover::after {
    opacity: 1;
}

/* Animations */
@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(20px, -20px) rotate(180deg);
    }
}

@keyframes borderRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Glass Morphism for Cards */
.project-card {
    background: var(--glass-background);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
    .gradient-blob {
        filter: blur(60px);
        opacity: 0.5;
    }
    
    .gradient-ring {
        width: 300px;
        height: 300px;
    }
    
    .icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .icon-wrapper i {
        font-size: 1.2rem;
    }
}

/* Modern Background Elements */
.animated-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background: linear-gradient(45deg, 
        rgba(65, 88, 208, 0.1) 0%,
        rgba(200, 80, 192, 0.1) 50%,
        rgba(255, 204, 112, 0.1) 100%);
}

.light-beam {
    position: absolute;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(41, 121, 255, 0.1),
        rgba(41, 121, 255, 0.05),
        transparent);
    animation: rotateLightBeam 15s linear infinite;
}

.circuit-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 50px 50px;
}

.tech-circles span {
    position: absolute;
    border: 1px solid rgba(41, 121, 255, 0.2);
    border-radius: 50%;
}

.tech-circles span:nth-child(1) {
    width: 150px;
    height: 150px;
    top: 20%;
    left: 10%;
    animation: float 6s infinite ease-in-out;
}

.tech-circles span:nth-child(2) {
    width: 100px;
    height: 100px;
    bottom: 30%;
    right: 15%;
    animation: float 8s infinite ease-in-out reverse;
}

.tech-circles span:nth-child(3) {
    width: 75px;
    height: 75px;
    bottom: 10%;
    left: 20%;
    animation: float 7s infinite ease-in-out;
}

/* Updated Hero Content Styles */
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.text-content {
    margin-top: 2rem;
    text-align: center;
    color: var(--text-light);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.main-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.greeting {
    font-size: 2rem;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 1rem;
    display: block;
}

.name {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, #00dbde, #fc00ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: block;
    margin: 1rem 0;
    letter-spacing: 2px;
}

.role-wrapper {
    margin: 1.5rem 0;
}

.role {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.role-title {
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 1rem 0;
    display: block;
}

.role-subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    opacity: 0.8;
    margin-top: 0.5rem;
    display: block;
}

/* Updated Tech Stack Display */
.tech-stack {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.tech-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.tech-item i {
    font-size: 2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Updated CTA Buttons */
.cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.cta-button {
    padding: 1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--text-light);
    border: none;
    box-shadow: 0 4px 15px rgba(252, 0, 255, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--accent-color);
    box-shadow: 0 4px 15px rgba(252, 0, 255, 0.1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(252, 0, 255, 0.4);
}

/* Animations */
@keyframes rotateLightBeam {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
    
    .role-title {
        font-size: 2rem;
    }
    
    .role-subtitle {
        font-size: 1.2rem;
    }
    
    .tech-stack {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .cta-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .cta-button {
        width: 80%;
        text-align: center;
    }
}

/* Additional Animation */
@keyframes gradientAnimation {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero {
    background-size: 200% 200%;
    animation: gradientAnimation 15s ease infinite;
}

/* Media query for responsive design */
@media (max-width: 768px) {
    .name {
        font-size: 2.5rem;
    }
}

/* Sci-fi Navigation Styles */
.sci-fi-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
}

.nav-glow {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 255, 255, 0.5),
        transparent
    );
    animation: navGlow 3s linear infinite;
}

.logo {
    position: relative;
}

.tech-font {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.logo-underline {
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: cyan;
    transform-origin: left;
    animation: scanline 2s linear infinite;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 1.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a:hover {
    border-color: rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

.nav-icon {
    margin-right: 0.5rem;
    font-size: 1.2em;
    color: cyan;
}

/* Sci-fi Background Styles */
.sci-fi-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    transform: perspective(500px) rotateX(60deg);
    top: -50%;
}

.cyber-circles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.cyber-circles::before,
.cyber-circles::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    animation: pulseCircle 4s ease-in-out infinite;
}

.cyber-circles::after {
    width: 200px;
    height: 200px;
    animation-delay: -2s;
}

.scanning-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent,
        rgba(0, 255, 255, 0.8),
        transparent
    );
    animation: scanning 3s linear infinite;
}

.tech-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(
        rgba(0, 255, 255, 0.2) 1px,
        transparent 1px
    );
    background-size: 20px 20px;
    animation: floatDots 10s linear infinite;
}

/* Animations */
@keyframes navGlow {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

@keyframes scanline {
    0% { transform: scaleX(0); opacity: 0; }
    50% { transform: scaleX(1); opacity: 1; }
    100% { transform: scaleX(0); opacity: 0; }
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(50px); }
}

@keyframes pulseCircle {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.2; }
    100% { transform: translate(-50%, -50%) scale(0.8); opacity: 0.5; }
}

@keyframes scanning {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100vh); }
}

@keyframes floatDots {
    0% { transform: translateY(0); }
    100% { transform: translateY(20px); }
}

/* Update hero section background */
.hero {
    background: linear-gradient(135deg, #0a0f1e, #1a1f3e);
    position: relative;
    overflow: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 15, 30, 0.95);
        padding: 1rem;
    }
    
    .nav-links a {
        margin: 0.5rem 0;
    }
}

/* Common Sci-fi Section Styles */
.sci-fi-section {
    min-height: 100vh;
    padding-top: 80px; /* Height of nav bar */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.section-title {
    position: relative;
    color: #fff;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.title-decoration {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: cyan;
    box-shadow: 0 0 10px cyan;
}

/* Cyber Panel Styles */
.cyber-panel {
    background: rgba(16, 24, 44, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 5px;
    padding: 2rem;
    position: relative;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.1);
}

.panel-corners::before,
.panel-corners::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid cyan;
}

.panel-corners::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}

.panel-corners::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* Skill Bars Update */
.cyber-bar {
    height: 12px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    background: linear-gradient(90deg, cyan, #0066ff);
    position: relative;
}

.progress-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 20px;
    height: 100%;
    background: rgba(0, 255, 255, 0.5);
    filter: blur(5px);
    animation: progressGlow 2s linear infinite;
}

/* Project Cards Update */
.project-card {
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-image {
    position: relative;
    overflow: hidden;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0, 255, 255, 0.2), transparent);
}

/* Cyber Button */
.cyber-button {
    background: transparent;
    border: 1px solid cyan;
    color: cyan;
    padding: 0.8rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cyber-button:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* Contact Form Update */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(16, 24, 44, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.2);
    color: #fff;
    border-radius: 5px;
}

.input-glow {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: cyan;
    transition: width 0.3s ease;
}

.form-group input:focus ~ .input-glow,
.form-group textarea:focus ~ .input-glow {
    width: 100%;
}

/* Social Links Update */
.social-icon {
    color: cyan;
    font-size: 1.5rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #fff;
    text-shadow: 0 0 10px cyan;
}

/* Animations */
@keyframes progressGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(500%); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .cyber-panel {
        padding: 1.5rem;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}

/* Enhanced Profile Image Effects */
.profile-frame {
    position: relative;
    width: 250px;
    height: 250px;
    margin: 0 auto;
    padding: 10px;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: cyan;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

.profile-image:hover img {
    transform: scale(1.1);
}

.profile-decorations {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    pointer-events: none;
}

.hex-border {
    position: absolute;
    width: 100%;
    height: 100%;
    background: transparent;
    border: 2px solid rgba(0, 255, 255, 0.2);
    clip-path: polygon(50% 0%, 95% 25%, 95% 75%, 50% 100%, 5% 75%, 5% 25%);
    animation: rotateHex 10s linear infinite;
}

.corner-accents span {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid cyan;
}

.corner-accents span:nth-child(1) { top: 0; left: 0; border-right: none; border-bottom: none; }
.corner-accents span:nth-child(2) { top: 0; right: 0; border-left: none; border-bottom: none; }
.corner-accents span:nth-child(3) { bottom: 0; right: 0; border-left: none; border-top: none; }
.corner-accents span:nth-child(4) { bottom: 0; left: 0; border-right: none; border-top: none; }

.scanning-effect {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, cyan, transparent);
    animation: scanningProfile 2s linear infinite;
}

.profile-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 255, 0.2), transparent 70%);
    filter: blur(15px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-container:hover .profile-glow {
    opacity: 1;
}

/* Touch Ripple Effect for Buttons and Cards */
.cyber-button, .project-card, .tech-item {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.4);
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
    pointer-events: none;
}

/* Interactive Hover Effects for Cards */
.project-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.project-card:hover {
    transform: translateY(-10px) rotateX(5deg);
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.2) 0%,
        transparent 50%,
        rgba(0, 255, 255, 0.2) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
    opacity: 1;
}

/* Tech Stack Item Enhancement */
.tech-item {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateZ(20px);
}

.tech-item::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, cyan, transparent, cyan);
    animation: borderRotate 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tech-item:hover::before {
    opacity: 1;
}

/* Animations */
@keyframes rotateHex {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes scanningProfile {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Social Icons */
.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    padding: 1.5rem;
}

.social-icon {
    font-size: 1.8rem;
    color: cyan;
    transition: all 0.3s ease;
    position: relative;
}

.social-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.social-icon:hover {
    color: #fff;
    text-shadow: 0 0 15px cyan;
    transform: translateY(-3px);
}

.social-icon:hover::after {
    transform: scale(1.5);
}

/* Specific colors for each platform */
.social-icon .fa-instagram {
    background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.social-icon .fa-youtube {
    color: #FF0000;
}

.social-icon:hover .fa-instagram,
.social-icon:hover .fa-youtube {
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
}

/* Navigation Button Styles */
.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-button {
    position: relative;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    color: #fff;
    background: rgba(0, 255, 255, 0.1);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.button-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}

.nav-icon {
    font-size: 1.2rem;
    color: cyan;
}

.button-text {
    font-weight: 500;
    letter-spacing: 1px;
}

.button-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 255, 255, 0.2),
        rgba(0, 255, 255, 0.1),
        rgba(0, 255, 255, 0.2)
    );
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-button:hover {
    transform: translateY(-2px);
}

/* Active Navigation Button State */
.nav-button.active {
    background: rgba(0, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.nav-button.active .nav-icon {
    color: #fff;
}

/* Ensure sections are visible and properly spaced */
#home {
    min-height: 100vh;
    padding-top: 80px;
}

#about, #projects, #contact {
    min-height: 100vh;
    padding: 100px 2rem;
    margin-top: -1px; /* Prevent gaps between sections */
}

/* Sci-fi Theme Variables */
:root {
    --primary: #00f7ff;
    --secondary: #4a00e0;
    --accent: #7b2fff;
    --dark: #0a0a1f;
    --light: #ffffff;
    --glow: 0 0 10px var(--primary),
            0 0 20px var(--primary),
            0 0 30px var(--primary);
    --glass: rgba(10, 10, 31, 0.9);
}

/* Global Sci-fi Overlay */
.sci-fi-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.grid-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, rgba(0, 247, 255, 0.03) 1px, transparent 1px) 0 0,
        linear-gradient(rgba(0, 247, 255, 0.03) 1px, transparent 1px) 0 0;
    background-size: 50px 50px;
}

.glow-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, 
        rgba(74, 0, 224, 0.15) 0%,
        rgba(10, 10, 31, 0) 50%);
}

/* Additional Nav Link Styles */
.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::before,
.nav-link.active::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Prevent scrolling when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Projects Section Styling */
.projects {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--dark), rgba(10, 10, 31, 0.95));
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--light);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

/* Project Grid Layout */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Project Card Styling */
.project-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 247, 255, 0.1);
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 247, 255, 0.2);
}

/* Project Image Container */
.project-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* Project Overlay */
.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 31, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

/* Technology Tags */
.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tech span {
    background: rgba(0, 247, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--primary);
    backdrop-filter: blur(5px);
}

/* Project Info */
.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    color: var(--light);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.project-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Project Buttons */
.project-links {
    display: flex;
    gap: 1rem;
}

.project-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.project-btn.live {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--light);
}

.project-btn.github {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.project-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 247, 255, 0.2);
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .projects {
        padding: 4rem 1rem;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .project-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .project-info h3 {
        font-size: 1.2rem;
    }

    .project-links {
        flex-direction: column;
    }

    .project-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation for cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeInUp 0.6s ease forwards;
}

.project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card:nth-child(3) {
    animation-delay: 0.4s;
}

/* About Section Styling */
.about {
    padding: 6rem 2rem;
    background: linear-gradient(to bottom, var(--dark), rgba(10, 10, 31, 0.95));
    position: relative;
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(0, 247, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* About Text Content */
.about-text-content {
    padding: 1rem;
}

.subtitle {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.about-description p {
    color: var(--light);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Personal Info */
.personal-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 247, 255, 0.05);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateX(10px);
    background: rgba(0, 247, 255, 0.1);
}

.info-item i {
    color: var(--primary);
    font-size: 1.2rem;
}

.info-item span {
    color: var(--light);
    font-size: 1rem;
}

/* Skills Section */
.skills-section {
    padding: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-category h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-item i {
    color: var(--primary);
    font-size: 1.5rem;
    width: 30px;
}

.skill-item span {
    color: var(--light);
    width: 100px;
}

.skill-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.skill-level {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 4px;
    transition: width 1s ease;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.about-content {
    animation: slideIn 0.6s ease forwards;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .about {
        padding: 4rem 1rem;
    }

    .about-content {
        padding: 1.5rem;
        gap: 2rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .about-description p {
        font-size: 1rem;
    }

    .personal-info {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .info-item:hover {
        transform: none;
    }
}

/* Add hover effects */
.skill-item:hover .skill-level {
    box-shadow: 0 0 10px var(--primary);
}

.skill-item:hover i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
} 
} 
