:root {
    --light-bg: #FFFCF0;      /* Cream white background */
    --primary: #5C899D;       /* Muted teal primary color */
    --secondary: #D1E0D7;     /* Soft green secondary color */
    --text-dark: #2D3748;     /* Dark gray for text */
    --text-muted: #718096;    /* Lighter gray for secondary text */
    --border-color: #E2E8F0;  /* Light border color */
    --white: #FFFFFF;         /* Pure white */
     /* Dark mode colors */
     --dark-bg: #1A202C;
     --dark-primary: #81E6D9;
     --dark-secondary: #2D3748;
     --dark-text: #E2E8F0;
     --dark-text-muted: #A0AEC0;
     --dark-border: #4A5568;
     --dark-white: #2D3748;
 }
 
 /* Dark mode styles */
 [data-theme="dark"] {
     --light-bg: var(--dark-bg);
     --primary: var(--dark-primary);
     --secondary: var(--dark-secondary);
     --text-dark: var(--dark-text);
     --text-muted: var(--dark-text-muted);
     --border-color: var(--dark-border);
     --white: var(--dark-white);
 }
 
 /* Add transition for smooth theme switching */
 body {
     transition: background-color 0.3s ease, color 0.3s ease;
 }
 /* Theme Toggle Styles (Icon Only) */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 50%;
    background: rgba(92, 137, 157, 0.1);
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: rgba(92, 137, 157, 0.2);
}

.theme-toggle i {
    font-size: 1.1rem;
    color: var(--primary);
}

[data-theme="dark"] .theme-toggle i {
    color: var(--dark-primary);
}

[data-theme="dark"] .theme-toggle {
    background: rgba(129, 230, 217, 0.1);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(129, 230, 217, 0.2);
}
/* ===== Dark Mode Fixes for Education & Resume Sections ===== */
[data-theme="dark"] .education {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

[data-theme="dark"] .timeline-item {
    color: var(--dark-text);
}

[data-theme="dark"] .timeline-content {
    background-color: var(--dark-secondary);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
}

[data-theme="dark"] .timeline-content h3 {
    color: var(--dark-primary);
}

[data-theme="dark"] .timeline-content .institution {
    color: var(--dark-text-muted);
}

[data-theme="dark"] .timeline-content .description {
    color: var(--dark-text);
}

[data-theme="dark"] .timeline-date {
    background-color: var(--dark-primary);
    color: var(--dark-bg);
    font-weight: 600;
}

[data-theme="dark"] .resume-download {
    color: var(--dark-text);
}

[data-theme="dark"] .resume-download h3 {
    color: var(--dark-text);
}

[data-theme="dark"] .download-btn {
    background-color: var(--dark-primary);
    color: var(--dark-bg);
    border: 2px solid var(--dark-primary);
}

[data-theme="dark"] .download-btn:hover {
    background-color: transparent;
    color: var(--dark-primary);
    border: 2px solid var(--dark-primary);
}

[data-theme="dark"] .certifications {
    color: var(--dark-text);
}

[data-theme="dark"] .certifications p {
    color: var(--dark-text-muted);
}

[data-theme="dark"] .badges img {
    filter: brightness(0.9) contrast(1.1);
    border: 1px solid var(--dark-border);
}

[data-theme="dark"] .timeline::before {
    background: var(--dark-primary);
}

[data-theme="dark"] .timeline-content::after {
    background: var(--dark-primary);
    box-shadow: 0 0 0 3px var(--dark-secondary);
}

[data-theme="dark"] .section-title::after {
    background: var(--dark-primary);
}


/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    color: var(--text-dark);
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(92, 137, 157, 0.3);
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background-color: rgba(255, 252, 240, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    border-bottom: 1px solid var(--secondary);
}

.logo {
    font-family: 'Saira Stencil One', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: var(--text-dark);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--secondary) 100%);
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

.hero-title .greeting {
    display: block;
    font-weight: 300;
}

.hero-title .name {
    font-weight: 600;
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    min-height: 2.5rem;
}

.typing-text {
    border-right: 2px solid var(--primary);
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 1rem;
    margin-bottom: 30px;
}

.cta-button:hover {
    background: var(--primary);
    color: var(--light-bg);
    transform: translateY(-3px);
}

.hero-social-links {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    z-index: 10;
}

.hero-social-links a {
    color: var(--primary);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    background: rgba(92, 137, 157, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-social-links a:hover {
    transform: translateY(-5px) scale(1.1);
    background: rgba(92, 137, 157, 0.2);
}

/* About Section */
.about {
    padding: 5rem 0;
    background: var(--light-bg);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.profile-img {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
}

.profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    z-index: 2;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.circle-shape {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 3px dashed var(--primary);
    border-radius: 20px;
    z-index: 1;
    animation: rotate 20s linear infinite;
}

.bio {
    flex: 1;
}

.intro-text, .passion-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.passion-text i {
    color: var(--primary);
    margin-right: 8px;
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.tag {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(92, 137, 157, 0.3);
}

/* Skills Section */
.skills {
    padding: 5rem 0;
    background: white;
}

.skills-container {
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}

.skills-progress, .skills-tagcloud {
    flex: 1;
}

.skills-progress h3, .skills-tagcloud h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.skill-item {
    margin-bottom: 1.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.progress-bar {
    height: 10px;
    background: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 5px;
    transition: width 1.5s ease-in-out;
}

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

.tagcloud .tag {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tagcloud .tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

/* Education Section */
.education {
    padding: 5rem 0;
    background: var(--light-bg);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

.timeline-date {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content::after {
    content: '';
    position: absolute;
    top: 20px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-item:nth-child(odd) .timeline-content::after {
    left: -7.5px;
}

.timeline-item:nth-child(even) .timeline-content::after {
    right: -7.5px;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.institution {
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.description {
    color: #555;
    line-height: 1.5;
}

.resume-download {
    text-align: center;
    margin-top: 3rem;
}

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

.certifications {
    margin-top: 2rem;
}

.certifications p {
    margin-bottom: 1rem;
    font-weight: 500;
}

.badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.badges img {
    height: 100px;
    border-radius: 5px;
    transition: transform 0.3s ease;
}

.badges img:hover {
    transform: translateY(-5px);
}

/* Interests Section */
.interests {
    padding: 5rem 0;
    background: white;
}

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

.card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid var(--secondary);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(92, 137, 157, 0.1);
    border-color: var(--primary);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    font-size: 1.8rem;
}

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

.card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.tags span {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Projects Section */
.projects {
    padding: 5rem 0;
    background: var(--light-bg);
}

.project-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.filter-btn {
    padding: 0.6rem 1.5rem;
    background: #f0f0f0;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary);
    color: white;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

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

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(92, 137, 157, 0.2);
}

.project-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.project-links {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(92, 137, 157, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-links {
    opacity: 1;
}

.project-links a {
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    transition: background 0.3s ease;
}

.project-links a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.project-info {
    padding: 1.5rem;
}

.project-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.project-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

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

.project-tags span {
    background: var(--secondary);
    color: var(--text-dark);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.view-more {
    text-align: center;
    margin-top: 3rem;
}

.view-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.view-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(92, 137, 157, 0.3);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.form-group label {
    position: absolute;
    top: -10px;
    left: 15px;
    background: var(--light-bg);
    padding: 0 5px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s ease;
    background: transparent;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.submit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(92, 137, 157, 0.3);
}

.btn-icon {
    display: flex;
    align-items: center;
}

.form-status {
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 5px;
    text-align: center;
    font-weight: 500;
}

.form-status.success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.form-status.error {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.contact-info {
    padding: 2rem;
}

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

.info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary);
    margin-top: 3px;
}

.info-item h4 {
    margin-bottom: 0.3rem;
    color: var(--text-dark);
}

.info-item a, 
.info-item p {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary);
}

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 50px 5% 20px;
    border-top: 1px solid var(--secondary);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    color: white;
}

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

.footer-col p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.footer-links a:hover {
    opacity: 1;
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--secondary);
    color: var(--text-dark);
    transform: translateY(-5px);
}

/* Footer Form Styles */
.footer-col form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-col form .form-group {
    position: relative;
    margin-bottom: 0;
}

.footer-col form input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-col form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.footer-col form input:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 2px rgba(209, 224, 215, 0.3);
}

.footer-col form .btn {
    background: var(--secondary);
    color: var(--text-dark);
    border: none;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-col form .btn:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.footer-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--secondary);
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Dark mode adjustments */
[data-theme="dark"] {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

[data-theme="dark"] header {
    background-color: rgba(26, 32, 44, 0.95);
    border-bottom-color: var(--dark-border);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, var(--dark-bg) 0%, #2a4365 100%);
}

[data-theme="dark"] .card,
[data-theme="dark"] .timeline-content,
[data-theme="dark"] .contact-form,
[data-theme="dark"] .project-card {
    background-color: var(--dark-secondary);
    border-color: var(--dark-border);
}

[data-theme="dark"] .skills,
[data-theme="dark"] .contact,
[data-theme="dark"] .interests {
    background-color: var(--dark-bg);
}

[data-theme="dark"] footer {
    background-color: var(--dark-secondary);
    border-top-color: var(--dark-border);
}

[data-theme="dark"] .progress-bar {
    background-color: var(--dark-border);
}

[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--dark-border);
    color: var(--dark-text);
}

[data-theme="dark"] .form-group label {
    background-color: var(--dark-bg);
}

[data-theme="dark"] .footer-links a,
[data-theme="dark"] .footer-col p {
    color: rgba(255, 255, 255, 0.7);
}

[data-theme="dark"] .footer-links a:hover {
    color: white;
}

[data-theme="dark"] .footer-col form input {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Animations */
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

@media (max-width: 992px) {
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-img {
        margin-bottom: 2rem;
    }
    
    .skills-container {
        flex-direction: column;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--light-bg);
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        transition: all 0.5s ease;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-date {
        position: relative;
        max-width: fit-content;
        left: 0;
        transform: none;
        margin-bottom: 8px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 60px !important;
    }
    
    .timeline-content::after {
        left: -7.5px !important;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}
