/* General Styles */
body {
    font-family: 'Poppins', Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333;
    background: url('https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80') no-repeat center center fixed;
    background-size: cover;
    line-height: 1.4;
}

/* Header Styles - Modern Glass Effect */
header {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fcf5f5;
    padding: 0.5rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

header:hover {
    background: rgba(0, 0, 0, 0.7);
}

header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.nav-links {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1.5rem;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #2575fc, #6a11cb);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #2575fc;
    transform: translateY(-3px);
}

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

/* Website Button */
.website-btn {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #11cb6a, #25fc8e);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(37, 252, 142, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.website-btn i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.website-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #25fc8e, #11cb6a);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.website-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 252, 142, 0.5);
}

.website-btn:hover i {
    transform: rotate(360deg);
}

.website-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Resume Link */
.resume-link {
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-left: 0.5rem;
    box-shadow: 0 5px 15px rgba(37, 117, 252, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.resume-link i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.resume-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.resume-link:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 117, 252, 0.5);
}

.resume-link:hover i {
    transform: rotate(360deg);
}

.resume-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

header .branding h1 {
    margin: 0;
    font-size: 1.6rem;
    background: linear-gradient(to right, #fff, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: all 0.3s ease;
}

header .branding h1:hover {
    transform: scale(1.05);
    background: linear-gradient(to right, #fff, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
}

header .branding p {
    margin: 0;
    font-size: 1rem;
    color: #aaa;
    transition: all 0.3s ease;
}

/* Typing Animation for Profile Name */
@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: #2575fc; }
}

.typing-text {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: 1px;
    background: linear-gradient(to right, #fff, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    font-size: 3.5rem;
}

.typing-text::after {
    content: '|';
    position: absolute;
    right: -5px;
    color: #2575fc;
    background: transparent;
    -webkit-background-clip: initial;
    background-clip: initial;
    animation: blink 0.8s step-end infinite;
}

/* Hero Section - Glass Morphism Effect */
.hero {
    text-align: center;
    padding: 4rem 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 30% 30% / 15%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(37, 117, 252, 0.1) 0%,
        rgba(0, 0, 0, 0) 70%
    );
    z-index: 0;
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.3; }
    100% { transform: scale(1.2); opacity: 0.7; }
}

.hero h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    background: linear-gradient(to right, #fff, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 1;
    animation: slideIn 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideIn {
    0% { transform: translateY(50px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    max-width: 650px;
    margin: 0 auto 1.5rem;
    opacity: 0;
    position: relative;
    z-index: 1;
    animation: fadeIn 2s 0.5s forwards;
}

.hero .cta-button {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.7rem 1.6rem;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(37, 117, 252, 0.4);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: bounceIn 1s 1s forwards;
    opacity: 0;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    70% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.hero .cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.hero .cta-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 117, 252, 0.5);
}

/* Profile Section - Glass Morphism */
.profile {
    text-align: center;
    padding: 2.5rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem auto;
    border-radius: 16px;
    max-width: 900px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.profile::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
    animation: shine 8s infinite linear;
}

.profile:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.profile h1 {
    font-size: 2.6rem;
    margin-bottom: 0.4rem;
    background: linear-gradient(to right, #2575fc, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

.profile h2 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    color: #fff;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
}

.profile p {
    font-size: 1.1rem;
    margin-bottom: 1.2rem;
    color: #fff;
    position: relative;
    z-index: 2;
    animation: fadeIn 2s ease-in-out;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.profile-picture {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, #2575fc, #6a11cb) border-box;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    animation: profilePicAnimation 2s ease-in-out;
    content: url('https://github.com/Daniel-wambua/havoc/blob/main/src/images/profilepic.jpg?raw=true');
}

@keyframes profilePicAnimation {
    0% { transform: scale(0.8); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.profile-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 117, 252, 0.4);
}

.profile-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.profile-text {
    flex: 1;
    min-width: 300px;
    animation: slideInRight 1.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes slideInRight {
    0% { transform: translateX(100px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

.animated-text {
    font-size: 3.5rem;
    background: linear-gradient(to right, #fff, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: colorChange 5s infinite alternate;
}

@keyframes colorChange {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.resume-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.85rem 2rem;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 8px 25px rgba(37, 117, 252, 0.4);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.resume-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.resume-button:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 117, 252, 0.5);
}

.resume-button:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* About Me Section - Glass Morphism */
.about-me-section {
    text-align: center;
    padding: 2.2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem auto;
    border-radius: 16px;
    max-width: 850px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.about-me-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
    animation: shine 10s infinite linear;
}

.about-me-section:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.about-me-section h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(to right, #2575fc, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

.about-me-section p {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.5s ease-in-out;
    max-width: 650px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Skills Section - Glass Morphism */
.skills {
    padding: 2.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem auto;
    border-radius: 16px;
    max-width: 900px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.skills::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
    animation: shine 12s infinite linear;
}

.skills:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.skills h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #2575fc, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

.skills ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.9rem;
    position: relative;
    z-index: 2;
}

.skills li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.4rem 0;
    background: rgba(35, 28, 70, 0.9);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-left: 3px solid #2575fc;
    position: relative;
    overflow: hidden;
}

.skills li::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(37, 117, 252, 0.1), 
        rgba(255, 255, 255, 0.1), 
        rgba(37, 117, 252, 0.1));
    transition: left 1s ease;
}

.skills li:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 10px 25px rgba(37, 117, 252, 0.3);
    border-color: #6a11cb;
}

.skills li:hover::before {
    left: 100%;
}

.skills i {
    font-size: 1.4rem;
    color: #2575fc;
    transition: all 0.4s ease;
}

.skills li:hover i {
    transform: rotate(360deg);
    color: #6a11cb;
}

/* Projects Preview Section - Glass Morphism */
.projects-preview {
    padding: 2.2rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem auto;
    border-radius: 16px;
    max-width: 1000px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.projects-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
    animation: shine 14s infinite linear;
}

.projects-preview:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.projects-preview h3 {
    font-size: 2rem;
    margin-bottom: 1.8rem;
    background: linear-gradient(to right, #2575fc, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
    z-index: 2;
    animation: fadeIn 1s ease-in-out;
}

/* Featured Projects Section - Modern Card Design */
.featured-projects-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin: 2rem 0;
    position: relative;
    z-index: 2;
}

.featured-project-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.featured-project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(37, 117, 252, 0.05),
        rgba(106, 17, 203, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.featured-project-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.featured-project-card:hover::before {
    opacity: 1;
}

.project-image-container {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.featured-project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.featured-project-card:hover img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(37, 117, 252, 0.7) 0%, 
        rgba(106, 17, 203, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.featured-project-card:hover .project-overlay {
    opacity: 1;
}

.project-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.featured-project-card h4 {
    font-size: 1.5rem;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.featured-project-card p {
    color: #fff;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.project-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.project-link, .project-demo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.project-link {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: #fff;
    box-shadow: 0 8px 20px rgba(37, 117, 252, 0.3);
}

.project-demo {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.project-link:hover, .project-demo:hover {
    transform: translateY(-3px);
}

.project-link:hover {
    box-shadow: 0 12px 25px rgba(37, 117, 252, 0.4);
}

.project-demo:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

/* View More Projects GitHub Link */
.view-more-projects {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.github-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.github-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 117, 252, 0.3);
}

.github-link:hover::before {
    opacity: 1;
}

.github-link i:first-child {
    font-size: 1.2rem;
}

.github-link i:last-child {
    transition: transform 0.3s ease;
}

.github-link:hover i:last-child {
    transform: translateX(5px);
}

/* Responsive Design for Featured Projects */
@media (max-width: 1024px) {
    .featured-projects-container {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .featured-projects-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .featured-project-card {
        margin: 0 0.5rem;
    }
    
    .project-content {
        padding: 1.5rem;
    }
    
    .project-actions {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .project-link, .project-demo {
        width: 100%;
        justify-content: center;
    }
    
    .github-link {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Biography Section - Glass Morphism */
.bio {
    text-align: center;
    padding: 2.2rem;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 2rem auto;
    border-radius: 16px;
    max-width: 850px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bio::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
    animation: shine 10s infinite linear;
}

.bio:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.bio-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.bio-picture {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(to right, #2575fc, #6a11cb) border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    margin-bottom: 1.5rem;
    animation: profilePicAnimation 2s ease-in-out;
}

.bio-picture:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(37, 117, 252, 0.4);
}

.bio-text {
    text-align: center;
    animation: fadeIn 1.5s ease-in-out;
}

.bio-text h3 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
    background: linear-gradient(to right, #2575fc, #6a11cb);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.bio-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #fff;
    max-width: 650px;
    margin: 0 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Footer Styles - Glass Morphism */
footer {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    text-align: center;
    padding: 1.2rem 0;
    margin-top: 2rem;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.2);
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, 
        rgba(37, 117, 252, 0.05), 
        rgba(0, 0, 0, 0));
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.8rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.footer-left {
    text-align: left;
    flex: 1;
    animation: fadeIn 1s ease-in-out;
}

.footer-right {
    text-align: right;
    flex: 1;
    animation: fadeIn 1s ease-in-out;
}

.footer-content .social-icons {
    flex: 1;
    text-align: center;
}

.footer-content .social-icons a {
    color: #fff;
    margin: 0 0.6rem;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content .social-icons a:hover {
    transform: translateY(-8px) rotate(360deg);
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    box-shadow: 0 10px 20px rgba(37, 117, 252, 0.3);
}

footer .footer-content p {
    margin: 0.4rem 0;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
}

footer .footer-content p:hover {
    color: #fff;
}

nav {
    margin: 15px 0;
}

nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 12px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #ffcc00;
}

section {
    padding: 15px;
    max-width: 800px;
    margin: auto;
}

h1, h2, h3 {
    margin: 8px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    margin: 15px 0;
}

.social-icons a {
    margin: 0 8px;
    color: #007acc;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ffcc00;
}

@media (max-width: 768px) {
    .profile-container {
        flex-direction: column;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-left, .footer-right {
        text-align: center;
    }
    
    header nav {
        flex-direction: column;
        padding: 0.5rem 0;
    }
    
    .resume-link {
        margin: 1rem 0 0;
    }
    
    .nav-links {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    nav a {
        display: block;
        margin: 10px 0;
    }

    .social-icons {
        flex-wrap: wrap;
    }
    
    .skills li {
        width: 100%;
    }
}

.button {
    background-color: #007acc;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #005fa3;
}

.animate {
    transition: transform 0.3s;
}

.animate:hover {
    transform: scale(1.05);
}

/* General Box Styling */
.box {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem auto;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
}

/* Projects Section */
.projects .project-list .project {
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #fff;
}

.projects .project-list .project h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #2575fc;
}

.projects .project-list .project p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.projects .project-list .project .btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2575fc;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.projects .project-list .project .btn:hover {
    background: #1a5bb8;
}

/* Animated Buttons */
.animated-button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.animated-button:hover {
    transform: scale(1.1);
    color: #ffcc00;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Project card hover state */
.project-card.hover {
    transform: translateY(-10px);
}

/* Add some spacing before footer */
footer {
    margin-top: 3rem;
}

/* Fix for inconsistent profile picture sizing */
.profile-picture {
    min-width: 200px;
    min-height: 200px;
    object-fit: cover;
}

/* Contact Section - Modern & Cool Design */
.contact {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 0;
    margin: 2rem auto;
    max-width: 900px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        rgba(255,255,255,0) 0%, 
        rgba(255,255,255,0.1) 50%, 
        rgba(255,255,255,0) 100%);
    transform: rotate(45deg);
    pointer-events: none;
    z-index: 1;
    animation: shine 6s infinite linear;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.contact:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 50px rgba(0, 0, 0, 0.25);
}

.contact h3 {
    color: #fff;
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    margin: 0;
    padding: 1.5rem;
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    letter-spacing: 2px;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.contact h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 1.8rem;
    padding: 1.8rem;
    position: relative;
    z-index: 2;
}

/* Contact Info Styles */
.contact-info {
    background: rgba(0, 0, 0, 0.4);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.4rem;
    padding: 0.9rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-left: 3px solid #2575fc;
    color: #fff;
}

.contact-item:hover {
    transform: translateX(15px) translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
    background: rgba(25, 25, 25, 0.7);
}

.contact-item i {
    font-size: 1.5rem;
    color: #2575fc;
    margin-right: 1rem;
    background: linear-gradient(135deg, rgba(37, 117, 252, 0.15), rgba(106, 17, 203, 0.15));
    padding: 0.9rem;
    border-radius: 50%;
    transition: all 0.4s ease;
}

.contact-item:hover i {
    transform: rotate(360deg) scale(1.1);
    color: #6a11cb;
}

.contact-item p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
    color: #fff;
}

.contact-item a {
    color: #2575fc;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.contact-item a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: linear-gradient(to right, #2575fc, #6a11cb);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: #6a11cb;
    text-decoration: none;
}

.contact-item a:hover::after {
    width: 100%;
}

/* Contact Form Styles */
.contact-form {
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.2rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 0.4rem;
    border: 2px solid rgba(225, 225, 225, 0.3);
    overflow: visible;
}

.form-group label {
    position: absolute;
    left: 1.1rem;
    top: 1.1rem;
    padding: 0 0.4rem;
    background: transparent;
    transition: all 0.3s ease;
    pointer-events: none;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    z-index: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.4s ease;
    color: #fff;
    z-index: 0;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.8rem;
    left: 1rem;
    font-size: 0.9rem;
    color: #2575fc;
    background: rgba(0, 0, 0, 0.7);
    font-weight: bold;
    padding: 0 0.6rem;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(37, 117, 252, 0.3);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    width: 100%;
    background: transparent;
}

.submit-btn {
    background: linear-gradient(135deg, #2575fc, #6a11cb);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1.2px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(37, 117, 252, 0.3);
    max-width: 100%;
}

.submit-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(37, 117, 252, 0.4);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    z-index: -1;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform: scaleX(0);
    transform-origin: right;
}

.submit-btn:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Submit Button Loading States */
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.submit-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 10px 20px rgba(37, 117, 252, 0.3);
}

.btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-loading i {
    font-size: 0.9rem;
}

/* Social Icons in Contact Section */
.contact-social {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem auto 0;
}

.contact-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #2575fc;
    font-size: 1.3rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-social a:hover {
    transform: translateY(-8px) rotate(360deg);
    background: #2575fc;
    color: white;
    box-shadow: 0 10px 20px rgba(37, 117, 252, 0.3);
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 1.2rem;
    }
    
    .contact h3 {
        font-size: 1.6rem;
        padding: 1.2rem;
    }
    
    .submit-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contact {
        margin: 1.5rem 0.8rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem 0.8rem;
    }
    
    .contact-item i {
        margin: 0 0 1rem 0;
    }
}