:root {
    --bg-color: #f5f5f5;
    --text-color: #333;
    --accent-color: #4a6cf7;
    --card-bg: #ffffff;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --hover-color: #e8e8e8;
    --border-color: #eaeaea;
}

[data-theme="dark"] {
    --bg-color: #121212;
    --text-color: #f5f5f5;
    --accent-color: #6d8dff;
    --card-bg: #1e1e1e;
    --shadow-color: rgba(0, 0, 0, 0.3);
    --hover-color: #2a2a2a;
    --border-color: #333;
}

a {
  color: #4da6ff; /* unvisited link */
  text-decoration: none;
}

a:visited {
  color: #a97fff; /* visited link — readable, non-ugly */
}

a:hover {
  text-decoration: underline;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color 0.3s, color 0.3s;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: var(--bg-color);
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.theme-switch {
    display: flex;
    align-items: center;
}

.theme-switch label {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin-left: 10px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 30px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: var(--accent-color);
}

input:checked + .slider:before {
    transform: translateX(30px);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
    text-align: center;
}

.profile-container {
    margin-top: 3rem;
    margin-bottom: 2rem;
    position: relative;
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 50%;
    box-shadow: 0 8px 30px var(--shadow-color);
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--accent-color), #9c89ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: transform 0.3s, color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.cta-button {
    display: inline-block;
    margin-top: 2rem;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 108, 247, 0.4);
}

.resume-section {
    padding: 5rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.resume-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(90deg, var(--accent-color), #9c89ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.resume-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.resume-header h2 {
    margin-bottom: 0;
}

.resume-controls {
    display: flex;
    gap: 1rem;
}

.resume-controls button {
    padding: 0.5rem 1rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.resume-controls button:hover {
    background-color: #3a55d9;
}

.resume-container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.section {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.entry {
    margin-bottom: 1.5rem;
    position: relative;
}

.entry:last-child {
    margin-bottom: 0;
}

.entry-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.entry-title {
    font-weight: 700;
    font-size: 1.1rem;
}

.entry-date {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.entry-subtitle {
    font-style: italic;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.entry-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-tag {
    background-color: rgba(74, 108, 247, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.skill-tag:hover {
    background-color: rgba(74, 108, 247, 0.2);
    transform: translateY(-2px);
}

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

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .hero p {
        font-size: 1rem;
    }
    .entry-header {
        flex-direction: column;
        gap: 0.3rem;
    }
    .profile-container {
        width: 150px;
        height: 150px;
    }
}

ul {
    list-style-type: none;
    padding-left: 0;
  }

li::before {
content: '-'; /* dash character */
margin-right: 8px;
color: --text-color; /* or any color you prefer */
}

/* Fall-back icons using unicode characters */
.icon-fallback-moon:before {
    content: "🌙";
}
.icon-fallback-sun:before {
    content: "☀️";
}
.icon-fallback-github:before {
    content: "GH";
}
.icon-fallback-linkedin:before {
    content: "IN";
}
.icon-fallback-twitter:before {
    content: "TW";
}
.icon-fallback-instagram:before {
    content: "IG";
}
.icon-fallback-email:before {
    content: "✉️";
}