:root {
    /* Light Theme Variables */
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --card-bg: #f3f4f6;
    --border-color: #e5e7eb;
    --transition: all 0.3s ease;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-color: #2563eb;
}

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid var(--primary-color);
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Dark Theme Variables (Default) */
body {
    --primary-color: #60a5fa;
    --secondary-color: #93c5fd;
    --text-color: #f3f4f6;
    --bg-color: #111827;
    --card-bg: #1f2937;
    --border-color: #374151;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --hover-color: #3b82f6;
}

/* Light Theme Class */
body.light-mode {
    --primary-color: #3b82f6;
    --secondary-color: #60a5fa;
    --text-color: #1f2937;
    --bg-color: #ffffff;
    --card-bg: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-color: #2563eb;
}

/* General Styles */
body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: var(--transition);
    line-height: 1.6;
}

/* Navigation */
.navbar {
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px var(--shadow-color);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-scrolled {
    background-color: var(--bg-color);
    box-shadow: 0 4px 6px var(--shadow-color);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.logo-img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.nav-link {
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    position: relative;
}

.nav-link:hover {
    color: var(--hover-color);
}

.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Exclude theme toggle from active link styles */
#theme-toggle.nav-link.active {
    color: var(--text-color);
}

#theme-toggle.nav-link.active::after {
    display: none;
}

/* Dark Mode Adjustments */
body:not(.light-mode) .nav-link {
    color: var(--text-color);
}

body:not(.light-mode) .nav-link.active {
    color: #60a5fa; /* Matching back-to-top button color */
}

body:not(.light-mode) .nav-link.active::after {
    background-color: #60a5fa; /* Matching back-to-top button color */
}

body:not(.light-mode) .nav-link:hover {
    color: #60a5fa; /* Matching back-to-top button color */
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    /*min-height: auto;*/
    padding-top: 80px;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--card-bg) 100%);
    position: relative;
    overflow: hidden;
    align-content: center;
}

.hero-content {
    padding: 2rem 0;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-color);
    object-fit: cover;
    aspect-ratio: 1;
}

.hero-buttons {
    margin-top: 2rem;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-outline-primary {
    border-radius: 15px;
}

.hero-section h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 3.5rem;
    animation: nameAnimation 3s ease-in-out infinite;
}

@keyframes nameAnimation {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(59, 130, 246, 0);
    }
    50% {
        transform: scale(1.05);
        text-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(59, 130, 246, 0);
    }
}

.hero-section h2 {
    color: var(--text-color);
    font-weight: 600;
    font-size: 2rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

/* Center social links only in contact section */
.contact-info-card .social-links {
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: var(--card-bg);
    color: var(--text-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.social-links a:hover {
    color: var(--bg-color);
    background-color: var(--primary-color);
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px var(--shadow-color);
}

/* Specific social media colors on hover */
.social-links a[title="GitHub"]:hover {
    background-color: #333;
}

.social-links a[title="LinkedIn"]:hover {
    background-color: #0077b5;
}

.social-links a[title="Facebook"]:hover {
    background-color: #1877f2;
}

.social-links a[title="whatsapp"]:hover {
    background-color: #25D366;
}

/* Dark Mode Social Links Hover */
body:not(.light-mode) .social-links a[title="Facebook"]:hover {
    background-color: #1877f2 !important;
    color: #ffffff !important;
    border-color: #1877f2 !important;
}

/* Dark Mode Adjustments */
body:not(.light-mode) .social-links a {
    background-color: var(--card-bg);
    border-color: var(--border-color);
}

body:not(.light-mode) .social-links a:hover {
    border-color: transparent;
}

/* Hero Section Improvements */
.hero-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.image-wrapper {
    position: relative;
    padding: 1rem;
}

.image-wrapper img {
    border-radius: 30px;
    box-shadow: 0 20px 40px var(--shadow-color);
    transition: var(--transition);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 0;
    background: var(--primary-color);
    color: var(--bg-color);
    padding: 1rem 1.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 20px var(--shadow-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(25%);
}

.experience-badge .number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Styles */
.section-padding {
    padding: 50px 0;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* About Section */
.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px var(--shadow-color);
    object-fit: cover;
    aspect-ratio: 4/3;
}

.experience-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: var(--card-bg);
    border-radius: 10px;
    transition: var(--transition);
}

.experience-item:hover {
    transform: translateX(10px);
}

.experience-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.experience-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.experience-item p {
    margin-bottom: 0;
    color: var(--text-color);
    opacity: 0.8;
}

/* Cards */
.skill-card, .project-card, .experience-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-color);
    backdrop-filter: blur(10px);
}

body:not(.light-mode) .skill-card,
body:not(.light-mode) .project-card,
body:not(.light-mode) .experience-card {
    background-color: rgba(31, 41, 55, 0.9);
}

.skill-card:hover, .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.skill-card ul {
    list-style: none;
    padding: 0;
}

.skill-card ul li {
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
}

.skill-card ul li i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
    margin-bottom: 0;
}

/* Project Cards */
.project-card {
    position: relative;
    overflow: hidden;
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.project-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: var(--transition);
    aspect-ratio: 4/3;
}

.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;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: var(--transition);
}

.project-links a:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.project-info {
    padding: 1.5rem 0;
}

.project-info h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.project-tags span {
    background-color: var(--card-bg);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Contact Section */
.contact-info {
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.icon-wrapper {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.icon-wrapper i {
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item .info {
    flex-grow: 1;
}

.contact-item .info h4 {
    margin-bottom: 0.25rem;
    font-size: 1rem;
    color: var(--text-color);
}

.contact-item .info p {
    margin: 0;
    color: var(--text-color);
    opacity: 0.8;
}

.contact-form {
    /* background-color: var(--card-bg); */
    /*padding: 2rem;*/
    border-radius: 15px;
}

.form-control {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    padding: 0.75rem;
    transition: var(--transition);
}

.form-control:focus {
    background-color: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.btn-primary {
    background-color: var(--hover-color);
    border: none;
    padding: 0.75rem 2rem;
    transition: var(--transition);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 0.75rem 2rem;
    transition: var(--transition);
    font-weight: 500;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--card-bg) 0%, var(--bg-color) 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    margin-bottom: 1.5rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.footer-title {
    color: var(--text-color);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-color);
    opacity: 0.8;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

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

.footer-links a i {
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-color);
    opacity: 0.7;
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Footer Responsive */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-title {
        margin-bottom: 1rem;
    }
}

/* Theme Toggle Button */
#theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

#theme-toggle:hover {
    color: var(--hover-color);
    transform: rotate(180deg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .skill-card, .project-card {
        margin-bottom: 2rem;
    }
    
    .contact-item {
        margin-bottom: 1rem;
    }
}

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

.hero-section, .section-title, .skill-card, .project-card {
    animation: fadeIn 1s ease-out;
}

/* Image Optimization */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Image Loading States */
img {
    opacity: 0;
    transition: opacity 0.3s ease;
}

img.loaded {
    opacity: 1;
}

/* Image Placeholder */
.image-placeholder {
    background: linear-gradient(110deg, var(--card-bg) 8%, var(--border-color) 18%, var(--card-bg) 33%);
    background-size: 200% 100%;
    animation: shimmer 1.5s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

/* Contact Section Improvements */
.contact-info-wrapper {
    height: 100%;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(10px);
}

body:not(.light-mode) .contact-info-card {
    background: rgba(31, 41, 55, 0.9);
}

.contact-info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.contact-info-list {
    margin-top: 2rem;
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(10px);
}

body:not(.light-mode) .contact-form-wrapper {
    background: rgba(31, 41, 55, 0.9);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-control {
    height: 50px;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
    transition: var(--transition);
}

textarea.form-control {
    height: auto;
    resize: none;
}

.form-control:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.btn-primary {
    height: 50px;
    padding: 0 2rem;
    border-radius: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-primary i {
    transition: var(--transition);
}

.btn-primary:hover i {
    transform: translateX(5px);
}

/* Dark Mode Adjustments */
.dark-mode .contact-info-card,
.dark-mode .contact-form-wrapper {
    background: var(--card-bg);
}

.dark-mode .contact-item {
    background: var(--bg-color);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .contact-info-wrapper {
        margin-bottom: 2rem;
    }
    
    .experience-badge {
        transform: none;
        right: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
    
    .experience-badge {
        right: 50%;
        transform: translateX(50%);
    }
}

/* Skills Section */
#skills {
    background: linear-gradient(135deg, rgba(243, 244, 246, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    position: relative;
}

body:not(.light-mode) #skills {
    background: linear-gradient(135deg, rgba(31, 41, 55, 0.8) 0%, rgba(17, 24, 39, 0.9) 100%);
}

#skills::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: var(--card-bg);
    opacity: 0.5;
    z-index: 0;
}

#skills .container {
    position: relative;
    z-index: 1;
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 244, 246, 0.8) 100%);
    position: relative;
}

body:not(.light-mode) #contact {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9) 0%, rgba(31, 41, 55, 0.8) 100%);
}

#contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background-color: var(--card-bg);
    opacity: 0.5;
    z-index: 0;
}

#contact .container {
    position: relative;
    z-index: 1;
}

/* Section Title Improvements */
.section-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 20px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Card Improvements */
.skill-card, .project-card, .experience-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 6px var(--shadow-color);
    backdrop-filter: blur(10px);
}

body:not(.light-mode) .skill-card,
body:not(.light-mode) .project-card,
body:not(.light-mode) .experience-card {
    background-color: rgba(31, 41, 55, 0.9);
}

.skill-card:hover, .project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.skill-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.skill-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
}

.skill-card ul li {
    color: var(--text-color);
    opacity: 0.9;
}

/* Contact Form Improvements */
.contact-info-card, .contact-form-wrapper {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px var(--shadow-color);
    backdrop-filter: blur(10px);
}

body:not(.light-mode) .contact-info-card,
body:not(.light-mode) .contact-form-wrapper {
    background: rgba(31, 41, 55, 0.9);
}

.contact-item {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateX(10px);
    border-color: var(--primary-color);
}

.contact-item .info h4 {
    color: var(--text-color);
}

.contact-item .info p {
    color: var(--text-color);
    opacity: 0.8;
}

/* Form Controls */
.form-control {
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    transition: var(--transition);
}

.form-control:focus {
    background-color: var(--bg-color);
    border-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-control::placeholder {
    color: var(--text-color);
    opacity: 0.5;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--bg-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px var(--shadow-color);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: var(--hover-color);
    transform: translateY(-5px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Social Links Responsive Adjustments */
@media (max-width: 768px) {
    .social-links {
        gap: 0.75rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
}

/* Navigation */
.navbar {
    background-color: var(--bg-color);
    box-shadow: 0 2px 4px var(--shadow-color);
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(31, 41, 55, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

body:not(.light-mode) .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* About Section */
#about {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--card-bg) 100%);
}

/* Skills Section */
#skills {
    background: linear-gradient(135deg, rgba(243, 244, 246, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
}

/* Contact Section */
#contact {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 244, 246, 0.8) 100%);
} 