/* Root Variables */
:root {
    --primary-color: #4285f4;
    --primary-color-dark: #3367d6;
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --text-primary: #202124;
    --text-secondary: #5f6368;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #202124;
    --bg-secondary: #303134;
    --text-primary: #ffffff;
    --text-secondary: #bdc1c6;
}

/* Base Styles */
body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 12px;
}

/* Navigation Styles */
.nav-container {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.site-title {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: opacity 0.3s ease;
}

.site-title:hover {
    opacity: 0.9;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    border-radius: 4px;
    font-size: 0.8rem;
}

.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-primary);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: var(--bg-secondary);
    color: var(--primary-color);
}

.linkedin-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.1);
}

.linkedin-button:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Common Page Styles */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-right {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .dropdown-content {
        position: static;
        transform: none;
        box-shadow: none;
        width: 100%;
    }

    .linkedin-button {
        width: 100%;
        justify-content: center;
    }
}


.about-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    padding: 6rem 2rem;
    color: white;
    text-align: right;
    position: relative;
    overflow: hidden;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.1) 50%, transparent 55%);
    background-size: 200% 200%;
    animation: singleShine 2s forwards;
}

@keyframes singleShine {
    0% { 
        background-position: 200% 0;
        opacity: 1;
    }
    100% { 
        background-position: -200% 0;
        opacity: 0;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.contact-link {
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.timeline-section h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.timeline-card {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card-header {
    margin-bottom: 1rem;
}

.date {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 500;
}

.card-header h3 {
    font-size: 1.3rem;
    margin: 0.5rem 0;
}

.position {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.card-content ul {
    list-style: none;
    padding: 0;
}

.card-content li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.card-content li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

@media (max-width: 968px) {
    .timeline-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Contact Page Styles */
.contact-hero {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-option {
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
}

.submit-button {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.faq-section {
    max-width: 800px;
    margin: 4rem auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--text-secondary);
}

.faq-question {
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 500px;
    padding: 1rem;
}

.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Home Page Styles */
.home-hero {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.home-hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.home-hero p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.primary-button,
.secondary-button {
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-button {
    background-color: var(--primary-color);
    color: white;
}

.primary-button:hover {
    background-color: var(--primary-color-dark);
}

.secondary-button {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
}

.expertise-section {
    padding: 4rem 2rem;
    background-color: var(--bg-primary);
}

.expertise-section h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.expertise-card {
    background-color: var(--bg-primary);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.expertise-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.expertise-card p {
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .home-hero h1 {
        font-size: 2rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

/* Projects Page Styles */
.projects {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.projects h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.projects p {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background-color: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-card h2 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.project-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background-color: var(--bg-primary);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.project-date {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Resources Page Styles */
.resources-hero {
    text-align: center;
    padding: 4rem 2rem;
    background-color: var(--bg-secondary);
}

.resources-hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.resources-hero p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.resource-nav {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.resource-nav a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.resource-nav a:hover {
    background-color: var(--primary-color);
    color: white;
}

.resources-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.resource-section {
    margin-bottom: 4rem;
    scroll-margin-top: 100px; /* For smooth scrolling with fixed header */
}

.resource-section h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.resource-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px;
}

/* Responsive design for smaller screens */
@media (max-width: 1200px) {
    .resource-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .resource-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .resource-cards {
        grid-template-columns: 1fr;
    }
}

/* Resource Card Styles */
.resource-card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: white;
    border-radius: 8px;
    height: 280px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.resource-card .header-content {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.resource-card .text-content {
    flex: 1;
}

.resource-card img {
    width: 80px;
    height: 120px;
    object-fit: contain;
}

.resource-card .description {
    font-size: 0.9em;
    line-height: 1.4;
    margin: 10px 0;
    flex: 1;
    overflow: hidden;
}

.resource-card h3 {
    color: #1a73e8;
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.resource-card .author {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resources-hero {
        padding: 2rem 1rem;
    }

    .resources-hero h1 {
        font-size: 2rem;
    }

    .resource-nav {
        gap: 1rem;
    }

    .resource-nav a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }

    .resources-container {
        padding: 1rem;
    }

    .resource-section h2 {
        font-size: 1.5rem;
    }
}

/* Footer Styles */
footer {
    background-color: var(--bg-secondary);
    padding: 2rem;
    margin-top: auto;
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-section {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.footer-section span {
    color: var(--text-secondary);
}

.footer-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color-dark);
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.7rem;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.theme-toggle:hover {
    background-color: var(--primary-color-dark);
    transform: scale(1.1);
}

.theme-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-section {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .theme-toggle {
        bottom: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Book Analysis Styles */
.book-analysis-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.book-header {
    background-color: var(--bg-secondary);
    padding: 3rem 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
}

.book-info h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.author {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.book-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: var(--text-secondary);
}

.book-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-content section {
    margin-bottom: 3rem;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.analysis-content h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.key-takeaways ul {
    list-style: none;
    padding: 0;
}

.key-takeaways li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.key-takeaways li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.analysis-section {
    margin-bottom: 2rem;
}

.analysis-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.application-card {
    background-color: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-link {
    display: inline-block;
    color: #007bff;
    text-decoration: none;
    margin-top: auto;
    cursor: pointer;
    padding: 5px 0;
}

.resource-link::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.2s ease;
}

.resource-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

.resource-link:hover::after {
    transform: translateX(3px);
}

/* Make sure nothing is blocking the link */
.resource-card {
    position: relative;
}

.resource-card a {
    position: relative;
    z-index: 2; /* Ensure links are clickable */
}

/* Responsive Design */
@media (max-width: 768px) {
    .book-header {
        padding: 2rem 1rem;
    }

    .book-info h1 {
        font-size: 2rem;
    }

    .book-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .analysis-content section {
        padding: 1rem;
    }
}

/* Books Page Styles */
.resource-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.resource-header {
    text-align: center;
    margin-bottom: 4rem;
}

.resource-header h1 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.resource-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.book-category {
    margin-bottom: 4rem;
}

.book-category h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.book-card {
    background-color: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.book-cover {
    position: relative;
    padding-top: 150%; /* 2:3 aspect ratio */
    overflow: hidden;
}

.book-cover img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.book-card:hover .book-cover img {
    transform: scale(1.05);
}

.book-info {
    padding: 1.5rem;
}

.book-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.book-info .author {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.book-info .description {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color-dark);
}

/* Music Page Styles */
.playlist-categories {
    margin-bottom: 4rem;
}

.playlist-categories h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.playlist-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.playlist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.playlist-cover {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark));
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.playlist-cover i {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.8);
}

.playlist-info {
    padding: 1.5rem;
}

.playlist-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.playlist-info .description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.playlist-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.playlist-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Podcast Page Styles */
.hero-section {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-color-dark));
    padding: 4rem 2rem;
    text-align: center;
    color: white;
    margin-bottom: 3rem;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.podcast-category {
    margin-bottom: 4rem;
}

.podcast-category h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.podcast-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.podcast-cover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podcast-cover i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
}

.podcast-info {
    padding: 1.5rem;
}

.podcast-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.podcast-info .host {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.podcast-info .description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.podcast-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.podcast-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.platform-links {
    display: flex;
    gap: 1rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.platform-link.spotify {
    background-color: #1DB954;
    color: white;
}

.platform-link.apple {
    background-color: #A660FF;
    color: white;
}

.platform-link:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .podcast-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .platform-links {
        flex-direction: column;
    }

    .platform-link {
        width: 100%;
        justify-content: center;
    }
}

/* Websites Page Styles */
.website-category {
    margin-bottom: 4rem;
}

.website-category h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.resource-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.resource-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.card-content {
    padding: 1.5rem;
}

.resource-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
}

.resource-card .description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.category-tag {
    background-color: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.7rem;
}

.external-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.external-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.resource-card:hover .external-link i {
    transform: translateX(4px);
}

/* Hover Effect */
.resource-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(var(--primary-color-rgb), 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resource-card:hover::after {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .resource-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.5rem;
    }

    .card-content {
        padding: 1rem;
    }

    .website-category h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* Dark Mode Adjustments */
[data-theme="dark"] .resource-card {
    background-color: var(--bg-secondary);
}

[data-theme="dark"] .resource-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Resume & CV Styles */
.resume-hero,
.cv-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color-dark));
    padding: 4rem 2rem;
    color: white;
    text-align: center;
}

.resume-container,
.cv-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.resume-section,
.cv-section {
    margin-bottom: 3rem;
}

.resume-section h2,
.cv-section h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.experience-item,
.cv-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.experience-item h3,
.cv-item h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.company {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.responsibilities,
.achievements {
    list-style: none;
    padding: 0;
}

.responsibilities li,
.achievements li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.responsibilities li::before,
.achievements li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Document Styles */
.document-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--primary-color);
}

.document-header h1 {
    font-size: 2rem;
    color: var(--text-primary);
    margin: 0;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: var(--primary-color-dark);
}

.resume-section {
    margin-bottom: 3rem;
}

.resume-section h2 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.experience-item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.item-header {
    margin-bottom: 1rem;
}

.item-header h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.skill-category h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.skill-category ul {
    list-style: none;
    padding: 0;
}

.skill-category li {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.document-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.document-header h1 {
    margin: 0;
    border-bottom: none;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.download-button:hover {
    background-color: var(--primary-color-dark);
}

.download-button i {
    font-size: 1rem;
}

.contact-container {
    max-width: 100%;
    padding: 0 2rem;
}

.contact-header {
    max-width: 800px;
    margin: 0 auto 4rem auto;
    text-align: center;
}

.contact-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.contact-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--bg-secondary);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--bg-secondary);
    border-radius: 4px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background-color: var(--primary-color-dark);
}

.alert {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.project-title {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.project-title:hover {
    color: var(--primary-color);
}

.project-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.project-detail img {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

.project-header {
    margin-bottom: 2rem;
}

.project-metadata {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 1rem 0;
}

.project-content {
    line-height: 1.6;
}

.back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: var(--primary-color);
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

/* About page specific styles */
.about-page .document-container {
    max-width: 1400px;  /* Increased from default */
    margin: 0 auto;
    padding: 2rem;
}

.about-page .timeline-container {
    display: grid;
    grid-template-columns: 1fr 1fr;  /* Two columns for experience and education */
    gap: 2rem;
}

@media (max-width: 1024px) {
    .about-page .timeline-container {
        grid-template-columns: 1fr;  /* Single column on smaller screens */
    }
}

.resource-card {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: white;
    border-radius: 8px;
    height: 280px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.resource-card .header-content {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.resource-card .text-content {
    flex: 1;
}

.resource-card img {
    width: 80px;
    height: 120px;
    object-fit: contain;
}

.resource-card .description {
    font-size: 0.9em;
    line-height: 1.4;
    margin: 10px 0;
    flex: 1;
    overflow: hidden;
}

.resource-card h3 {
    color: #1a73e8;
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.resource-card .author {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.category-title {
    margin: 40px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
    color: #686767;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-top: auto;
    align-items: center;
}

.resource-link, .analysis-link {
    display: inline-block;
    margin: 0;
    padding: 5px 0;
    line-height: 1;
}

.resource-link {
    align-self: center;
}

.analysis-link {
    align-self: center;
}

.resource-link::after, .analysis-link::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.2s ease;
}

.resource-link:hover::after, .analysis-link:hover::after {
    transform: translateX(3px);
}

.analysis-link {
    color: #28a745; /* Different color for analysis link */
}

/* Adjust card height for two buttons */
.resource-card {
    height: 300px; /* Slightly taller to accommodate two buttons */
}

