:root {
    --bg-color: #0a0a0a;
    --text-color: #f5f5f7;
    --main-color: #ffffff;
    --accent-color: #a855f7;
    --secondary-color: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.05);
    --shadow-color: rgba(0, 0, 0, 0.4);
    --purple-dark: #6b21a8;
    --purple-light: #c084fc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: 'Inter', sans-serif;
}

*::selection {
    background: var(--accent-color);
    color: var(--bg-color);
}

html {
    font-size: 62.5%;
    overflow-x: hidden;
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-weight: 700;
}

/* Improved Floating Sidebar Navigation */
.sidebar {
    position: fixed;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    height: auto;
    width: auto;
    background: rgba(10, 10, 10, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    transition: 0.4s;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 1rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar a {
    position: relative;
    font-size: 1.8rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s ease;
    width: 4.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.navbar a img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.navbar a:hover,
.navbar a.active {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.navbar a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar a:hover::after {
    opacity: 1;
    visibility: visible;
    bottom: -35px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.hire-btn {
    padding: 1.2rem 2rem;
    background: var(--accent-color);
    color: var(--bg-color);
    border-radius: 5rem;
    font-size: 1.4rem;
    font-weight: 600;
    transition: 0.3s ease;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    white-space: nowrap;
}

.hire-btn:hover {
    background: var(--purple-light);
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

#menu-icon {
    font-size: 2.8rem;
    color: var(--text-color);
    display: none;
    cursor: pointer;
}

.main-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 10rem 0 5rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 70rem;
}

.hero-content h3 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    transform: translateY(30px);
}

.hero-content h1 {
    font-size: 6.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #c084fc, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: translateY(30px);
}

.hero-content p {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    transform: translateY(30px);
}

.btn-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    transform: translateY(30px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3rem;
    background: var(--accent-color);
    border-radius: 5rem;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
    font-size: 1.7rem;
    color: var(--bg-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: 0.3s ease;
}

.btn:hover {
    background: var(--purple-light);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

/* About Section */
.about {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #a855f7;
}

.section-header p {
    font-size: 18px;
    color: #ccc;
    max-width: 700px;
    margin: 0 auto;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
    align-items: flex-start;
}

.about-content {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #fff;
}

.about-content p {
    margin-bottom: 25px;
    color: #ccc;
    font-size: 16px;
    line-height: 1.8;
}

.about-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.info-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    background: rgba(168, 85, 247, 0.1);
}

.info-item i {
    font-size: 24px;
    color: #a855f7;
    margin-right: 15px;
}

.info-item div {
    display: flex;
    flex-direction: column;
}

.info-item span {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 5px;
}

.info-item strong {
    font-size: 16px;
    color: #fff;
}

/* Profile Card */
.profile-card {
    width: 100%;
    max-width: 360px;
    height: 500px;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    background: #0f172a;
    border-radius: 12px;
    margin: 0 auto;
}

.profile-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.9;
    transition: all 0.5s ease;
}

.pixel-canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 4;
    color: white;
    transition: all 0.5s ease;
}

.name {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.title {
    font-size: 16px;
    color: #a855f7;
    margin-bottom: 15px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.description {
    margin: 15px 0;
    line-height: 1.6;
    color: #ddd;
    font-size: 15px;
    border-left: 3px solid #a855f7;
    padding-left: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    justify-content: center;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 50%;
}

.social-link:hover {
    background: rgba(168, 85, 247, 0.4);
    transform: translateY(-3px);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #a855f7;
    display: block;
}

.stat-label {
    font-size: 12px;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pixel-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.2) 0%, transparent 40%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 3;
}

.logo {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 7;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo span {
    color: #a855f7;
}

.contact-btn {
    background: linear-gradient(45deg, #a855f7, #8b5cf6);
    border: none;
    padding: 12px 30px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.contact-btn:hover {
    background: linear-gradient(45deg, #8b5cf6, #7c3aed);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.4);
}

.tag {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #a855f7;
    color: white;
    padding: 5px 10px;
    font-size: 12px;
    z-index: 7;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
}

.details-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(168, 85, 247, 0.9);
    color: white;
    border: none;
    padding: 8px 15px;
    font-size: 12px;
    z-index: 8;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 20px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.details-btn:hover {
    background: rgba(168, 85, 247, 1);
    transform: translateY(-2px);
}

.skills-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.95);
    padding: 25px;
    z-index: 10;
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s ease;
    overflow-y: auto;
    border-radius: 12px;
}

.skills-panel h3 {
    color: #a855f7;
    margin: 15px 0 10px;
    font-size: 20px;
}

.skill-item {
    margin-bottom: 15px;
}

.skill-name {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 14px;
}

.skill-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: #a855f7;
    border-radius: 3px;
    width: 0;
    transition: width 1s ease;
}

.service-list {
    list-style: none;
    margin-top: 10px;
}

.service-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
}

.service-list li:before {
    content: "•";
    color: #a855f7;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 11;
}

/* Hover effects */
.profile-card:hover .profile-image {
    opacity: 0.7;
    transform: scale(1.05);
}

.profile-card:hover .pixel-canvas {
    opacity: 1;
}

.profile-card:hover .pixel-effect {
    opacity: 1;
}

.profile-card:hover .name,
.profile-card:hover .title,
.profile-card:hover .social-links,
.profile-card:hover .stats,
.profile-card:hover .description,
.profile-card:hover .contact-btn {
    transform: translateY(0);
    opacity: 1;
}

.profile-card.show-skills .skills-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Services Section */
.services {
    padding: 12rem 0;
    position: relative;
    background:#1a1a1a00;
}

.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 4rem 3rem;
    text-align: center;
    transition: 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: linear-gradient(45deg, var(--accent-color), var(--purple-light));
    transition: 0.6s ease;
    z-index: -1;
    opacity: 0;
}

.service-box:hover::before {
    height: 100%;
    opacity: 0.1;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(168, 85, 247, 0.2);
}

.service-box i {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    transition: 0.3s ease;
}

.service-box:hover i {
    color: var(--purple-light);
    transform: rotateY(180deg);
}

.service-box h3 {
    font-size: 2.4rem;
    margin-bottom: 1.5rem;
    transition: 0.3s ease;
}

.service-box:hover h3 {
    color: var(--accent-color);
}

.service-box p {
    font-size: 1.6rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-size: 1.6rem;
    font-weight: 600;
    transition: 0.3s ease;
}

.service-link i {
    font-size: 2rem;
    margin-left: 0.5rem;
    margin-bottom: 0;
    transition: 0.3s ease;
}

.service-link:hover {
    color: var(--purple-light);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Portfolio Section */
.portfolio {
    padding: 12rem 0;
    position: relative;
}

.portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.portfolio-box {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.portfolio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s ease;
}

.portfolio-box:hover img {
    transform: scale(1.1);
}

.portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(10, 10, 10, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3rem;
    transform: translateY(100px);
    transition: 0.5s ease;
    opacity: 0;
}

.portfolio-box:hover .portfolio-layer {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-layer h4 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.portfolio-layer p {
    font-size: 1.6rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.portfolio-layer .btn {
    align-self: flex-start;
    padding: 1rem 2rem;
    font-size: 1.5rem;
}

/* Testimonial Section */
.testimonial {
    padding: 12rem 0;
    position: relative;
    background:rgba(0, 0, 0, 0) ;
}

.testimonial-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 5rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 5px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-text {
    font-size: 1.8rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-name {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.testimonial-role {
    font-size: 1.6rem;
    color: var(--accent-color);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.testimonial-nav button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    font-size: 1.8rem;
    cursor: pointer;
    transition: 0.3s ease;
}

.testimonial-nav button:hover {
    background: var(--accent-color);
    color: var(--bg-color);
}

/* Contact Section */
.contact {
    padding: 12rem 0;
    position: relative;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8rem;
}

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

.contact-info h2 {
    font-size: 4rem;
    margin-bottom: 3rem;
}

.contact-info p {
    font-size: 1.7rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-detail i {
    font-size: 2.5rem;
    color: var(--accent-color);
}

.contact-detail div {
    display: flex;
    flex-direction: column;
}

.contact-detail h4 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.contact-detail span {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.contact-social {
    display: flex;
    gap: 1.5rem;
    margin-top: 3rem;
}

.contact-social a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    font-size: 2rem;
    color: var(--accent-color);
    transition: 0.3s ease;
}

.contact-social a:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-5px);
}

.contact-form {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 5rem;
    backdrop-filter: blur(10px);
}

.input-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.input-box {
    display: flex;
    flex-direction: column;
}

.input-box label {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.input-box input,
.input-box textarea {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1.6rem;
    color: var(--text-color);
    transition: 0.3s ease;
}

.input-box input:focus,
.input-box textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.input-box textarea {
    height: 150px;
    resize: none;
}

.form-btn {
    width: 100%;
    padding: 1.5rem;
    background: var(--accent-color);
    color: var(--bg-color);
    borderRadius: 10px;
    font-size: 1.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 1rem;
}

.form-btn:hover {
    background: var(--purple-light);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(168, 85, 247, 0.3);
}

/* Footer */
.footer {
    background: rgba(10, 10, 10, 0);
    padding: 8rem 0 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
}

.footer-col h3 {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.footer-col p {
    font-size: 1.6rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.footer-links a {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

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

.footer-newsletter input {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    font-size: 1.6rem;
    color: var(--text-color);
}

.footer-newsletter button {
    padding: 1.5rem;
    background: var(--accent-color);
    color: var(--bg-color);
    border-radius: 10px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 1rem;
}

.footer-newsletter button:hover {
    background: var(--purple-light);
}

.footer-bottom {
    margin-top: 6rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.7);
    transition: 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--accent-color);
}

/* Background Animation */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    html {
        font-size: 55%;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .portfolio-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 991px) {
    .sidebar {
        width: auto;
        left: 50%;
        transform: translateX(-50%);
        top: 1rem;
        padding: 1rem 1.5rem;
    }
    
    .navbar {
        gap: 1.5rem;
    }
    
    .navbar a {
        width: 4rem;
        height: 4rem;
        font-size: 1.6rem;
    }
    
    .navbar a img {
        width: 35px;
        height: 35px;
    }
    
    section {
        padding: 10rem 0 5rem;
    }

    .hero {
        padding: 12rem 0 5rem;
    }

    .about-container,
    .contact-container {
        grid-template-columns: 1fr;
        gap: 5rem;
    }
    
    .contact-container {
        gap: 4rem;
    }

    .footer {
        padding: 6rem 0 3rem;
    }
    
    .portfolio-box {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 90%;
        height: auto;
        left: 50%;
        transform: translateX(-50%);
        top: 1rem;
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 2rem;
        border-radius: 50px;
    }
    
    .navbar {
        flex-direction: row;
        gap: 0.8rem;
        width: 100%;
        justify-content: center;
    }

    .navbar a {
        width: 3.8rem;
        height: 3.8rem;
        font-size: 1.5rem;
    }
    
    .navbar a img {
        width: 30px;
        height: 30px;
    }

    .navbar a::after {
        font-size: 1rem;
        bottom: -35px;
    }

    .nav-right {
        display: none;
    }

    .navbar.active {
        display: flex;
    }

    #menu-icon {
        display: block;
        position: absolute;
        right: 2rem;
        top: 50%;
        transform: translateY(-50%);
    }

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

    .input-group {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .profile-card {
        height: 450px;
        max-width: 320px;
    }
    
    .portfolio-container {
        grid-template-columns: 1fr;
    }
    
    .portfolio-box {
        height: 300px;
    }
}

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

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

    .btn-group {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .about-info {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 4rem;
    }
    
    .navbar {
        gap: 0.5rem;
    }
    
    .navbar a {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.4rem;
    }
    
    .navbar a img {
        width: 25px;
        height: 25px;
    }
    
    .navbar a::after {
        bottom: -30px;
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }
    
    .profile-card {
        height: 400px;
        max-width: 280px;
    }
    
    .card-content {
        padding: 15px;
    }
    
    .name {
        font-size: 24px;
    }
    
    .title {
        font-size: 14px;
    }
    
    .description {
        font-size: 13px;
    }
    
    .stats {
        margin: 15px 0;
        padding: 10px 0;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .contact-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 400px) {
    .navbar a {
        width: 3.2rem;
        height: 3.2rem;
        font-size: 1.2rem;
    }
    
    .navbar a img {
        width: 22px;
        height: 22px;
    }
    
    .hero-content h1 {
        font-size: 3.8rem;
    }
    
    .profile-card {
        height: 380px;
        max-width: 260px;
    }
    
    .portfolio-box {
        height: 250px;
    }
}