@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Open+Sans:wght@300;400;600&family=Lato:wght@300;400;700&family=Roboto:wght@300;400;500;700&family=Poppins:wght@300;400;500;600&family=Raleway:wght@300;400;500;600&family=Source+Sans+Pro:wght@300;400;600&family=Nunito:wght@300;400;600;700&display=swap');


:root {
  --primary-color: #20B2AA; /* Light Sea Green */
  --primary-light: #B2DFDB; /* Lighter version for backgrounds */
  --primary-dark: #008B8B; /* Darker version for hover states */
  --sidebar-color: #20b290; /* Turquoise/Light Sea Green - for sidebar */
  --sidebar-text: #FFFFFF; /* Light yellowish for sidebar text */
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #777777;
  --white: #FFFFFF;
  --light-bg: #F5FFFA; /* Mint Cream - very light sea green tint */
  --page-bg: #FFFFFF; /
  /* --page-bg: #f8ffee; */

  --card-bg: #FFFFFF; /* Background color for content cards/boxes */
  
/* Font size multipliers - adjust these to scale all text */
--heading-size-multiplier: 1.0; /* Default = 1.0, increase for larger headings */
--body-size-multiplier: 1.05;    /* Default = 1.0, increase for larger body text */

/* Base font sizes that will be multiplied by the multipliers */
--base-font-size: 16px;
--h1-size: 2.5rem;
--h2-size: 2rem;
--h3-size: 1.5rem;
--h4-size: 1.25rem;
--small-text-size: 0.875rem;

  /* Add font variables */
  /* For headings */
  /* --heading-font: 'Open Sans', sans-serif;  */
  /* --heading-font: 'Montserrat', sans-serif; */
  /* --heading-font: 'Poppins', sans-serif; */
  /* --heading-font: 'Raleway', sans-serif; */
  --heading-font: 'Nunito', sans-serif;

/* For body text */
  /* --body-font: 'Open Sans', sans-serif; */
  /* --body-font: 'Lato', sans-serif; */
  /* --body-font: 'Roboto', sans-serif; */
  --body-font: 'Source Sans Pro', sans-serif;
  
  
  
  
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    font-size: calc(var(--base-font-size) * var(--body-size-multiplier));
    line-height: 1.6;
    background-color: var(--page-bg);
}

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

.content-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

header {
    text-align: center;
    flex-shrink: 0;
    width: 250px;
}

main {
    flex-grow: 1;
}

.profile-section {
    margin-bottom: 30px;
}

.profile-picture {
    width: 225px;
    height: 225px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
}

h1 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.about-me {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-top: 0;
    /* text-align: center */
}

h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
}

p {
    color: var(--text-medium);
    margin-bottom: 15px;
}

/* Add responsive design for mobile devices */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    header {
        width: 100%;
    }
} 

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
    background-color: var(--primary-dark);
}

.social-icons i {
    font-size: 20px;
}

.what-brings-you {
    margin-top: 40px;
}

.section-title {
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
    margin-top: 10px;
}

.what-brings-you-content {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    text-align: center;
    margin-top: 20px;
}

.what-brings-you-content ul {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
    padding-left: 20px;
}

.top-nav {
    width: 200px;
    position: fixed;
    height: 100%;
    left: 0;
    top: 0;
    background-color: var(--sidebar-color);
    padding: 30px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.top-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.top-nav li {
    margin-bottom: 30px;
}

.top-nav a {
    font-family: var(--heading-font);
    display: block;
    padding: 10px 30px;
    color: var(--sidebar-text);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.top-nav a:hover {
    color: var(--white);
}

/* Projects page styles */
.title-card {
    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 100%;
}

.title-card h1 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.title-card p {
    color: var(--text-medium);
    line-height: 1.6;
    margin-bottom: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.project-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--card-bg);
}

.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
    height: 180px;
    overflow: hidden;
}

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

.project-info {
    padding: 20px;
}

.project-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.project-info p {
    color: var(--text-medium);
    margin-bottom: 15px;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.project-tags span {
    background-color: #f0f0f0;
    color: var(--text-medium);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.project-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.project-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Make the layout responsive */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

/* Make sure the content doesn't overlap with the left navigation */
.container {
    margin-left: 220px;
    padding: 40px;
    max-width: 1400px;
}

.content-wrapper {
    width: 100%;
}

/* Notion embed styling */
.notion-embed {
    grid-column: span 3; /* Make it span all three columns */
    height: auto;
    display: flex;
    flex-direction: column;
}

.notion-container {
    margin-top: 20px;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.notion-container iframe {
    border: none;
    width: 100%;
    min-height: 600px;
}

/* Adjust the project item for the Notion embed */
.notion-embed .project-info {
    padding-bottom: 0;
}

/* Article container styling */
.article-container {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    overflow-y: auto;
    padding: 40px;
    box-sizing: border-box;
}

.article-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.close-button {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-dark);
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.article-content h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-size: 1.8rem;
}

.article-content h3 {
    margin-top: 30px;
    margin-bottom: 15px;
    color: var(--text-dark);
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text-medium);
}

.article-content ul, .article-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 4px solid #ddd;
    padding-left: 20px;
    margin-left: 0;
    margin-right: 0;
    font-style: italic;
    color: var(--text-medium);
}

.article-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.article-content a {
    color: var(--primary-color);
    text-decoration: none;
}

.article-content a:hover {
    text-decoration: underline;
}

.article-content img {
    max-width: 100%;
    border-radius: 4px;
    margin: 20px 0;
}

.article-content code {
    background-color: #f5f5f5;
    padding: 2px 5px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9em;
}

.article-content pre {
    background-color: #f5f5f5;
    padding: 15px;
    border-radius: 5px;
    overflow-x: auto;
    margin-bottom: 20px;
}

.article-content pre code {
    background-color: transparent;
    padding: 0;
}

/* Article page styles */
.article-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.article-navigation {
    margin-bottom: 30px;
}

.back-link {
    color: var(--primary-color);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Make sure the content doesn't overlap with the navigation on smaller screens */
@media (max-width: 768px) {
    .top-nav {
        width: 100%;
        height: auto;
        position: relative;
        padding: 15px 0;
    }
    
    .top-nav ul {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .top-nav li {
        margin: 0 15px 10px;
    }
    
    .container {
        margin-left: 0;
        padding: 20px;
    }
}

/* Learning page styles */
.learning-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.category-btn {
    background-color: #f0f0f0;
    border: 2px solid transparent;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-right: 8px;
    margin-bottom: 8px;
}

.category-btn:hover {
    background-color: #e0e0e0;
}

.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-dark);
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.learning-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.learning-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.learning-icon {
    background-color: #f8f8f8;
    padding: 20px;
    text-align: center;
}

.learning-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.learning-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.learning-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.learning-info p {
    margin-bottom: 15px;
    color: var(--text-medium);
    flex-grow: 1;
}

.learning-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.learning-tags span {
    background-color: #f0f0f0;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--text-medium);
}

.learning-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.learning-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Hide items that don't match the selected category */
.learning-item.hidden {
    display: none;
}

/* Filter controls layout */
.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.learning-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sort-control {
    margin-left: auto;
    margin-top: 10px;
}

.sort-btn {
    background-color: #f0f0f0;
    border: 2px solid transparent;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-btn:hover {
    background-color: #e0e0e0;
}

.sort-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* Learning meta information */
.learning-meta {
    margin-bottom: 10px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.learning-date {
    display: inline-flex;
    align-items: center;
}

.learning-date::before {
    content: "\f073";
    font-family: "Font Awesome 5 Free";
    margin-right: 5px;
}

/* Reorganized filter section styles */
.filter-section {
    margin-bottom: 20px;
    background-color: var(--primary-light);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.filter-group {
    margin-bottom: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.filter-title {
    font-size: 0.95rem;
    margin: 0 12px 0 0;
    color: var(--text-dark);
    font-weight: 600;
    white-space: nowrap;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex-grow: 1;
}

/* Subject filter group with sort button */
.filter-group.subject-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0; /* Remove bottom margin from the last group */
}

/* Buttons styling */
.category-btn,
.subject-btn,
.sort-btn {
    background-color: #f0f0f0;
    border: 1px solid transparent;
    padding: 7px 14px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.category-btn:hover,
.subject-btn:hover,
.sort-btn:hover {
    background-color: #e0e0e0;
}

.category-btn.active,
.subject-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* Different color for subject buttons to distinguish them */
.subject-btn.active {
    background-color: var(--primary-color);
    border-color: var(--primary-dark);
}

/* Sort control */
.sort-control {
    margin-left: 8px;
    white-space: nowrap;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .filter-group.subject-group {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-control {
        margin-left: 0;
        margin-top: 10px;
        align-self: flex-end;
    }
}

/* Interview Questions Styles */
.interview-questions-container {
  max-width: 1000px;
  margin: 0 auto;
}

.filter-section {
  margin-bottom: 30px;
  background-color: var(--primary-light);
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.search-box {
  margin-top: 15px;
  margin-bottom: 15px;
}

.search-box input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  font-size: 1rem;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.question-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.question-header {
  padding: 15px 20px;
  background-color: #f5f5f5;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question-header h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.question-header .toggle-icon {
  transition: transform 0.3s ease;
}

.question-header.active .toggle-icon {
  transform: rotate(180deg);
}

.question-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.question-body.active {
  padding: 20px;
  max-height: 1000px; /* Arbitrary large value */
}

.question-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.question-tags span {
  background-color: #f0f0f0;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--text-medium);
}

.question-meta {
  margin-top: 15px;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  justify-content: space-between;
}

.difficulty-badge {
  padding: 3px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.difficulty-beginner {
  background-color: #e6f7e6;
  color: #2e7d32;
}

.difficulty-intermediate {
  background-color: #fff8e1;
  color: #ff8f00;
}

.difficulty-advanced {
  background-color: #ffebee;
  color: #c62828;
}

/* No results message */
.no-results {
  text-align: center;
  padding: 40px 0;
  color: var(--text-medium);
}

/* Grid layout controls */
.interview-grid {
    display: grid;
    gap: 20px;
    transition: all 0.3s ease;
    width: 100%;
}

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

.grid-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Interview items */
.interview-item {
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.interview-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.interview-icon {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.interview-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.interview-info h3 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.interview-info p {
    margin-bottom: 15px;
    color: var(--text-medium);
    flex-grow: 1;
}

.interview-meta {
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-light);
}

.interview-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
}

.interview-tags span {
    background-color: #f0f0f0;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-medium);
}

.interview-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-top: auto;
}

.interview-link:hover {
    text-decoration: underline;
}

/* Layout buttons */
.layout-group {
    margin-top: 15px;
}

.layout-btn {
    padding: 6px 12px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.layout-btn:hover {
    background-color: #e0e0e0;
}

.layout-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-dark);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .grid-columns-2, .grid-columns-3 {
        grid-template-columns: 1fr;
    }
}

/* Optional: Add a subtle border for additional definition */
.about-me, .what-brings-you-content, .project-item, .learning-item, .interview-item {
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* PDF Resume Viewer */
.resume-container {
    width: 100%;
    margin: 30px 0;
    background-color: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.resume-header {
    padding: 15px 20px;
    background-color: var(--primary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resume-header h3 {
    margin: 0;
    color: var(--text-dark);
}

.resume-actions {
    display: flex;
    gap: 10px;
}

.resume-actions a {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.resume-actions a:hover {
    background-color: var(--primary-dark);
}

.resume-actions a i {
    margin-right: 5px;
}

.pdf-viewer {
    width: 100%;
    height: 800px; /* Adjust height as needed */
    border: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .pdf-viewer {
        height: 500px;
    }
    
    .resume-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .resume-actions {
        margin-top: 10px;
    }
}