/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Mode Colors */
    --bg-color: #fafafa;
    --text-color: var(--text-color);
    --text-light: #666;
    --nav-bg: rgba(255, 255, 255, 0.95);
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    /* Dark Mode Colors */
    --bg-color: #0f0f23;
    --text-color: #f9fafb;
    --text-light: #d1d5db;
    --nav-bg: rgba(15, 15, 35, 0.95);
    --card-bg: #1a1a2e;
    --border-color: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.3);
}

/* Dark mode specific styles */
[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
}

[data-theme="dark"] section {
    background-color: #16213e;
}

[data-theme="dark"] .skills-category,
[data-theme="dark"] .project-card,
[data-theme="dark"] .resume-placeholder {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Dark mode form styling */
[data-theme="dark"] .form-group input::placeholder,
[data-theme="dark"] .form-group textarea::placeholder {
    color: #9ca3af;
}

[data-theme="dark"] .form-group input:focus,
[data-theme="dark"] .form-group textarea:focus {
    border-color: #60a5fa;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background-color: rgba(26, 26, 46, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Ensure navbar stays dark in dark mode */
[data-theme="dark"] .navbar {
    background: rgba(15, 15, 35, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Dark mode mobile menu */
[data-theme="dark"] .nav-menu {
    background-color: rgba(15, 15, 35, 0.95) !important;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #667eea;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #667eea;
    transition: width 0.3s ease;
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-left: 1rem;
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 20px 50px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    width: 100%;
    align-items: center;
}

.hero-text h1 {
    margin-bottom: 0.5rem;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text h2 {
    font-size: 1.5rem;
    color: #666;
    font-weight: 400;
    margin-bottom: 1rem;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #777;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-circle {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.profile-circle i {
    font-size: 8rem;
    color: white;
}

/* Profile Image Styles */
.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top; /* Try different positions: center, top, bottom, left, right, or specific percentages */
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

/* Alternative positioning options - uncomment and adjust as needed */
/*
.profile-img {
    object-position: 50% 30%; // Move face up in the circle
    // or try: 50% 20%, 40% 25%, 60% 30%, etc.
}
*/

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--card-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-details {
    margin: 2rem 0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item i {
    font-size: 1.5rem;
    color: #667eea;
    width: 30px;
}

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

.detail-item p {
    margin: 0;
    font-size: 0.9rem;
}

.about-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.2);
}

.about-card h4 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-card ul {
    list-style: none;
}

.about-card li {
    margin-bottom: 0.75rem;
    padding-left: 0;
}

/* Skills Section */
.skills {
    background: #f8f9fa;
}

.skills-content {
    display: grid;
    gap: 3rem;
}

.skills-category {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.skills-category h3 {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.skills-category h3 i {
    color: #667eea;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-color);
}

.skill-item i {
    font-size: 2.5rem;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.skill-item span {
    font-weight: 500;
    color: var(--text-color);
}

.learning-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.learning-section h3 {
    margin-bottom: 1.5rem;
}

.learning-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.learning-item {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Projects Section */
.projects {
    background: var(--card-bg);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.project-image {
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.project-image i {
    font-size: 4rem;
    color: white;
}

.project-image-link {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.project-image-link::after {
    content: 'Open in new tab';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #888;
    font-size: 14px;
    font-weight: 400;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    white-space: nowrap;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.project-image-link:hover::after {
    opacity: 1;
}

.project-preview-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.project-image-link:hover .project-preview-img {
    transform: scale(1.05);
    filter: blur(1px);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.project-content p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.6;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tech-tag {
    background: #f0f0f0;
    color: #667eea;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.project-link {
    text-decoration: none;
    color: #667eea;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.project-link:hover {
    color: #764ba2;
}

/* Resume Section */
.resume {
    background: #f8f9fa;
}

.resume-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.resume-preview {
    display: flex;
    justify-content: center;
}

.resume-placeholder {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
}

.resume-placeholder i {
    font-size: 4rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.resume-placeholder h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.resume-placeholder p {
    margin-bottom: 2rem;
    color: #666;
}

.resume-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resume-highlights h3 {
    margin-bottom: 2rem;
    color: var(--text-color);
}

.highlight-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.highlight-item i {
    font-size: 1.5rem;
    color: #667eea;
    margin-top: 0.25rem;
}

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

.highlight-item p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    background: var(--card-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.contact-info p {
    margin-bottom: 2rem;
    color: #666;
}

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

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: #667eea;
    width: 30px;
}

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

.contact-method p {
    margin: 0;
    color: #666;
}

.contact-method a {
    color: #667eea;
    text-decoration: none;
}

.contact-method a:hover {
    text-decoration: underline;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #667eea;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

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

/* Footer */
.footer {
    background: var(--card-bg);
    color: var(--text-color);
    padding: 1rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text p {
    margin: 0;
    color: #ccc;
}

.footer-links a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Web3 & Crypto Experience Section */
.web3-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: white;
    padding: 80px 0;
}

.web3-section .section-title {
    color: white;
}

.web3-section .section-title::after {
    background: linear-gradient(135deg, #f7931e 0%, #ac39ac 100%);
}

.web3-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.web3-intro h3 {
    color: #f7931e;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.web3-intro h3 i {
    margin-right: 0.5rem;
}

.web3-intro p {
    font-size: 1.1rem;
    color: #ccc;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.web3-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(247, 147, 30, 0.3);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f7931e 0%, #ac39ac 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.stat-icon i {
    font-size: 1.5rem;
    color: white;
}

.stat-info h4 {
    font-size: 1.8rem;
    color: #f7931e;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.stat-info p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
}

.web3-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.wallet-info h4,
.web3-skills h4 {
    color: #f7931e;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.wallet-info h4 i,
.web3-skills h4 i {
    margin-right: 0.5rem;
}

.wallet-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.address-label {
    color: #ccc;
    font-size: 0.9rem;
    min-width: 120px;
}

.wallet-code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #f7931e;
    flex: 1;
    word-break: break-all;
}

.copy-btn {
    background: #f7931e;
    border: none;
    color: white;
    padding: 0.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.copy-btn:hover {
    background: #e8820e;
}

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

.wallet-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(247, 147, 30, 0.2);
    color: #f7931e;
    text-decoration: none;
    border-radius: 8px;
    border: 1px solid rgba(247, 147, 30, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.wallet-link:hover {
    background: rgba(247, 147, 30, 0.3);
    transform: translateY(-2px);
}

.web3-skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.web3-skill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.web3-skill:hover {
    transform: translateY(-5px);
    background: rgba(247, 147, 30, 0.2);
}

.web3-skill i {
    font-size: 1.5rem;
    color: #f7931e;
    margin-bottom: 0.5rem;
}

.web3-skill span {
    font-size: 0.9rem;
    color: #ccc;
    text-align: center;
}

.web3-achievements h4 {
    color: #f7931e;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    text-align: center;
}

.web3-achievements h4 i {
    margin-right: 0.5rem;
}

.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.achievement-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.achievement-item i {
    font-size: 1.5rem;
    color: #f7931e;
    margin-top: 0.25rem;
}

.achievement-item h5 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.achievement-item p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Social Media Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    max-width: 300px; /* Approximate width of button container */
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #667eea;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: #667eea;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.social-link:nth-child(1):hover {
    background: #333;
    border-color: var(--text-color);
}

.social-link:nth-child(2):hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-link:nth-child(3):hover {
    background: #25d366;
    border-color: #25d366;
}

/* Contact Section Social Links */
.social-section {
    margin-top: 2rem;
}

.social-section h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-links-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--card-bg);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.social-contact-link:nth-child(1) {
    border-left: 4px solid #333;
}

.social-contact-link:nth-child(1) i {
    color: var(--text-color);
}

.social-contact-link:nth-child(1):hover {
    border-left-color: var(--text-color);
    box-shadow: 0 8px 25px rgba(51, 51, 51, 0.2);
}

.social-contact-link:nth-child(2) {
    border-left: 4px solid #0077b5;
}

.social-contact-link:nth-child(2) i {
    color: #0077b5;
}

.social-contact-link:nth-child(2):hover {
    border-left-color: #0077b5;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.2);
}

.social-contact-link:nth-child(3) {
    border-left: 4px solid #25d366;
}

.social-contact-link:nth-child(3) i {
    color: #25d366;
}

.social-contact-link:nth-child(3):hover {
    border-left-color: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.2);
}

.social-contact-link i {
    font-size: 1.4rem;
    width: 24px;
    text-align: center;
}

.social-contact-link span {
    font-weight: 500;
    font-size: 1.05rem;
}

/* Mobile Responsive for Social Links */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .social-links-contact {
        gap: 0.5rem;
    }
    
    .social-contact-link {
        padding: 0.6rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--nav-bg);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow-color);
        padding: 2rem 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .profile-circle {
        width: 200px;
        height: 200px;
    }

    .profile-circle i {
        font-size: 5rem;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .skills-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .resume-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1rem;
    }

    .learning-items {
        flex-direction: column;
        align-items: center;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .project-links {
        flex-direction: column;
    }

    .resume-buttons {
        flex-direction: column;
    }

    .web3-details {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .web3-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .wallet-address {
        flex-direction: column;
        align-items: stretch;
    }
    
    .wallet-links {
        flex-direction: column;
    }
    
    .web3-skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 80px 15px 30px;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .skills-grid {
        grid-template-columns: 1fr 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-card {
        margin: 0 15px;
    }
}

/* Scroll Animations */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .fade-in.visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}

/* Custom Cursor Follower */
.cursor-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform: translate(-50%, -50%);
}

.cursor-follower.active {
    opacity: 1;
}

/* Hide cursor follower when hovering over clickable elements */
.cursor-follower.hide-on-hover {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cursor-sun {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #ffd700 0%, #ff8c00 100%);
    border-radius: 50%;
    position: relative;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.6),
        0 0 40px rgba(255, 215, 0, 0.3),
        0 0 60px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
}

.cursor-sun::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: sunPulse 2s ease-in-out infinite;
}

/* Sun rays animation */
.cursor-sun::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: 
        linear-gradient(0deg, transparent 40%, rgba(255, 215, 0, 0.2) 50%, transparent 60%),
        linear-gradient(45deg, transparent 40%, rgba(255, 215, 0, 0.2) 50%, transparent 60%),
        linear-gradient(90deg, transparent 40%, rgba(255, 215, 0, 0.2) 50%, transparent 60%),
        linear-gradient(135deg, transparent 40%, rgba(255, 215, 0, 0.2) 50%, transparent 60%);
    border-radius: 50%;
    animation: sunRotate 4s linear infinite;
}

/* Dark mode - convert sun to moon */
[data-theme="dark"] .cursor-sun {
    background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 100%);
    box-shadow: 
        0 0 20px rgba(199, 210, 254, 0.6),
        0 0 40px rgba(199, 210, 254, 0.3),
        0 0 60px rgba(199, 210, 254, 0.1);
    position: relative;
}

/* Moon crater effect */
[data-theme="dark"] .cursor-sun::before {
    background: radial-gradient(circle, rgba(165, 180, 252, 0.4) 0%, transparent 70%);
    animation: moonGlow 3s ease-in-out infinite;
}

/* Moon phases effect - remove sun rays and add subtle glow */
[data-theme="dark"] .cursor-sun::after {
    background: radial-gradient(circle, rgba(199, 210, 254, 0.2) 30%, transparent 70%);
    animation: moonPhase 6s ease-in-out infinite;
}

/* Add moon craters */
[data-theme="dark"] .cursor-sun::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 40%;
    width: 4px;
    height: 4px;
    background: rgba(165, 180, 252, 0.5);
    border-radius: 50%;
    box-shadow: 
        8px 3px 0 2px rgba(165, 180, 252, 0.3),
        -2px 8px 0 1px rgba(165, 180, 252, 0.4);
    animation: moonGlow 3s ease-in-out infinite;
}

/* Animations */
@keyframes sunPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

@keyframes sunRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes moonGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

@keyframes moonPhase {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) rotate(180deg);
        opacity: 0.6;
    }
}

/* Hide cursor follower on mobile devices */
@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}

/* Hide cursor follower on mobile devices */
@media (max-width: 768px) {
    .cursor-follower {
        display: none;
    }
}