:root {
    --primary-color: #2ee59d;
    --secondary-color: #4776e6;
    --dark-color: #171717;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #2ee59d 0%, #4776e6 100%);
    --gradient-secondary: linear-gradient(135deg, #4776e6 0%, #8e54e9 100%);
    --gradient-dark: linear-gradient(135deg, #171717 0%, #323232 100%);
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--dark-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3OLi4ubm5uVlZWPj4+NjY19fX2JiYl/f39ra2uRkZGZmZlpaWmXl5dvb29xcXGTk5NnZ2c8TV1mAAAAG3RSTlNAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEAvEOwtAAAFVklEQVR4XpWWB67c2BUFb3g557T/hRo9/WUMZHlgr4Bg8Z4qQgQJlHI4A8SzFVrapvmTF9O7dmYRFZ60YiBhJRCgh1FYhiLAmdvX0CzTOpNE77ME0Zty/nWWzchDtiqrXF926jdXMk6rgAIvQPZATAjwkTkXVwDDFwMe5nZDtnHxbgDrmvQY4NK9jCmyhoH99g15M3T+QaVHFjizVA==');
    pointer-events: none;
    opacity: 0.03;
    z-index: 1;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo span {
    display: inline-block;
    padding: 8px 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 16px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav-links a:hover:after, .nav-links a.active:after {
    width: 100%;
}

.nav-links a.active {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

main {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
}

.hero {
    padding: 80px 5%;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.title span {
    display: block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #666;
}

.description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-align: center;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(46, 229, 157, 0.4);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 229, 157, 0.6);
}

.secondary-btn {
    background: white;
    color: var(--dark-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background: rgba(46, 229, 157, 0.1);
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image-container {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    z-index: 2;
    background: var(--light-color);
    box-shadow: var(--shadow);
}

.profile-image {
    width: 100%;
    height: 100%;
    background-image: url('https://via.placeholder.com/300x300');
    background-size: cover;
    background-position: center;
    position: relative;
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This ensures the image covers the circle */
    object-position: center 20%; /* Centers the image */
    display: block; /* Removes any default spacing */
}

.profile-image:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0.2;
}

.floating-card {
    position: absolute;
    padding: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 3;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    animation: float 3s infinite ease-in-out;
}

.floating-card i {
    font-size: 20px;
    color: var(--primary-color);
}

.floating-card span {
    font-weight: 600;
    font-size: 14px;
}

.card1 {
    top: 20%;
    left: 0;
    animation-delay: 0s;
}

.card2 {
    top: 60%;
    right: 10%;
    animation-delay: 0.5s;
}

.card3 {
    bottom: 15%;
    left: 20%;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.quick-stats {
    padding: 0 5%;
    margin-bottom: 80px;
}

.glass-card {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 40px;
    display: flex;
    justify-content: space-around;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.glass-card:before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.3) 100%
    );
    transform: rotate(-45deg);
    pointer-events: none;
}

.stat h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat p {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

.skills-preview {
    padding: 80px 5%;
    text-align: center;
}

.skills-preview h2 {
    font-size: 2.5rem;
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.skills-preview h2:after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.skills-preview h2 span {
    color: var(--primary-color);
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.skill-card {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.skill-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.skill-card i {
    font-size: 40px;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.skill-card h3 {
    font-size: 1rem;
    font-weight: 600;
}

footer {
    background: var(--dark-color);
    color: white;
    padding: 50px 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo span {
    display: inline-block;
    padding: 8px 12px;
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--border-radius);
    font-size: 24px;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

.footer-text {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* About Page Styles */
.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header h1 span {
    color: var(--primary-color);
}

.breadcrumb {
    font-size: 0.9rem;
    color: #777;
}

.breadcrumb a {
    color: var(--dark-color);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.about-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    gap: 50px;
    margin-bottom: 80px;
}

.about-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    width: 400px;
    height: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
}

.about-profile {
    background-image: url('https://via.placeholder.com/400x500');
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    position: relative;
}

.about-text h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -10px;
    left: 0;
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #555;
}

.skills-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    margin-bottom: 80px;
}

.skills-section h2 {
    font-size: 2rem;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    display: inline-block;
}

.skills-section h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.skills-section h2 span {
    color: var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.skill-group h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.skill-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-bar {
    width: 100%;
}

.skill-name {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.bar-container {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

/* Services Page Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    margin-bottom: 80px;
}

.service-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.service-card:before {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    top: -50px;
    right: -50px;
    border-radius: 50%;
    opacity: 0.1;
    transition: var(--transition);
}

.service-card:hover:before {
    width: 150px;
    height: 150px;
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: #555;
}

.service-features li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.cta-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 5%;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    margin-bottom: 80px;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .primary-btn {
    background: white;
    color: var(--primary-color);
}

.cta-section .primary-btn:hover {
    background: var(--dark-color);
    color: white;
}

/* Projects Page Styles */
.projects-filter {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    margin-bottom: 40px;
    text-align: center;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    list-style: none;
}

.filter-btn {
    padding: 8px 20px;
    background: #f0f0f0;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    margin-bottom: 80px;
}

.project-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-dark);
}

.project-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.view-project {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.project-card:hover .view-project {
    transform: translateY(0);
}

.project-details {
    padding: 25px;
}

.project-details h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.project-details p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.project-tech span {
    padding: 5px 12px;
    background: #f0f0f0;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #555;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--secondary-color);
}

/* Resume Page Styles */
.resume-actions {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    margin-bottom: 40px;
    text-align: center;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.resume-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 5%;
    margin-bottom: 80px;
}

.resume-section {
    margin-bottom: 60px;
}

.resume-section h2 {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.8rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.resume-section h2 i {
    color: var(--primary-color);
}

.timeline {
    position: relative;
    padding-left: 50px;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    height: 100%;
    width: 2px;
    background: #f0f0f0;
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    left: -43px;
    top: 5px;
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.timeline-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: #555;
}

.timeline-content p {
    color: #666;
    margin-bottom: 15px;
}

.timeline-content ul {
    padding-left: 20px;
}

.timeline-content ul li {
    margin-bottom: 10px;
    color: #555;
}

.skills-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.skills-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.skills-list {
    list-style: none;
}

.skills-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
}

.skills-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.skills-list li span {
    font-weight: 500;
    color: #555;
}

.resume-projects {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.resume-project {
    background: #f8f8f8;
    padding: 20px;
    border-radius: var(--border-radius);
}

.resume-project h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.resume-project p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.resume-project a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.resume-project a:hover {
    color: var(--secondary-color);
}

.contact-info {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f8f8;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    flex: 1;
    min-width: 250px;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 20px;
}

/* Contact Page Styles */
.contact-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    gap: 50px;
    margin-bottom: 80px;
}

.contact-info-section {
    flex: 1;
}

.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.contact-info-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 20px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
}

.contact-text h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.contact-text p {
    margin: 0;
    color: #666;
}

.social-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-contact-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 18px;
    text-decoration: none;
    transition: var(--transition);
}

.social-contact-icon:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
}

.contact-form-section {
    flex: 1;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.form-container h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.form-group textarea {
    resize: vertical;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero-text {
        padding-right: 0;
        margin-top: 50px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .about-content,
    .contact-container {
        flex-direction: column;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 15px 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .services-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .resume-container {
        padding: 0 3%;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hero-image {
        height: 400px;
    }

    .profile-image-container {
        width: 250px;
        height: 250px;
    }

    .floating-card {
        padding: 10px;
    }

    .floating-card i {
        font-size: 16px;
    }

    .floating-card span {
        font-size: 12px;
    }

    .skills-container {
        gap: 20px;
    }

    .skill-card {
        width: 130px;
        height: 130px;
    }

    .skill-card i {
        font-size: 35px;
    }

    .resume-section h2 {
        font-size: 1.5rem;
    }

    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-form-section .form-container {
        padding: 30px 20px;
    }
}