/*-----------------------------------*\
  #style.css - Modern Portfolio
\*-----------------------------------*/

/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {
  /* Light mode colors (default) */
  --primary-bg: #ffffff;
  --secondary-bg: #f8f8f8;
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
  --accent-color: #ff69b4;
  --border-color: #e0e0e0;
  --hover-bg: rgba(255, 105, 180, 0.1);
  
  /* Typography */
  --ff-poppins: 'Poppins', sans-serif;
  --fs-hero: 48px;
  --fs-1: 32px;
  --fs-2: 24px;
  --fs-3: 20px;
  --fs-4: 18px;
  --fs-5: 16px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 12px;
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;
  
  /* Spacing */
  --section-padding: 80px;
  --container-width: 1200px;
  
  /* Transitions */
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;
}

/* Dark mode */
body.dark-mode {
  --primary-bg: #0a0a0a;
  --secondary-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-color: #64b5f6;
  --border-color: #2a2a2a;
  --hover-bg: rgba(100, 181, 246, 0.1);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

html {
  font-family: var(--ff-poppins);
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-padding-top: 100px; /* Account for fixed navbar */
}

body {
  background: var(--primary-bg);
  color: var(--text-primary);
  transition: background-color var(--transition-2), color var(--transition-2);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-1);
}

li { list-style: none; }

img { 
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

input, textarea {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  width: 100%;
}

::selection {
  background: var(--accent-color);
  color: var(--primary-bg);
}

/*-----------------------------------*\
  #FIXED NAVBAR
\*-----------------------------------*/

.navbar-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

body.dark-mode .navbar-fixed {
  background: rgba(10, 10, 10, 0.95);
}

.navbar-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  font-size: var(--fs-4);
  font-weight: var(--fw-600);
  color: var(--text-primary);
}

.navbar-list {
  display: flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.navbar-link {
  padding: 10px 18px;
  font-size: var(--fs-4);
  color: var(--text-secondary);
  font-weight: var(--fw-500);
  transition: all var(--transition-1);
  border-radius: 8px;
  position: relative;
}

.navbar-link:hover {
  color: var(--text-primary);
  background: var(--hover-bg);
}

.navbar-link.active {
  color: var(--accent-color);
  background: var(--hover-bg);
}

/*-----------------------------------*\
  #THEME TOGGLE
\*-----------------------------------*/

.theme-toggle {
  width: 90px;
  height: 32px;
  padding: 0;
  position: relative;
  margin-left: auto;
}

.toggle-track {
  width: 100%;
  height: 100%;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  position: relative;
  transition: var(--transition-1);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  background: var(--accent-color);
  border-radius: 50%;
  transition: transform var(--transition-1);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.dark-mode .toggle-thumb {
  transform: translateX(60px);
}

.moon-icon,
.sun-icon {
  position: absolute;
  font-size: 14px;
  color: white;
  transition: opacity var(--transition-1);
}

.moon-icon { opacity: 0; }
.sun-icon { opacity: 1; }

body.dark-mode .moon-icon { opacity: 1; }
body.dark-mode .sun-icon { opacity: 0; }

/*-----------------------------------*\
  #MAIN CONTENT
\*-----------------------------------*/

.main-content {
  padding-top: 20px;
  min-height: 100vh;
}

article {
  display: none;
}

article.active {
  display: block;
}

/*-----------------------------------*\
  #ABOUT PAGE
\*-----------------------------------*/

.about-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.profile-section {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 60px;
  padding: 20px 0;
}

.avatar-box {
  flex-shrink: 0;
}

.avatar-box img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-color);
}

.profile-info {
  flex: 1;
}

.name {
  font-size: var(--fs-hero);
  font-weight: var(--fw-600);
  margin-bottom: 8px;
  line-height: 1.2;
}

/* Typewriter effect */
.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1em;
  background-color: var(--accent-color);
  margin-left: 4px;
  animation: blink 1s infinite;
}

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

.profile-info .title {
  font-size: var(--fs-3);
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.profile-info .location {
  font-size: var(--fs-5);
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.profile-info .connect-text {
  font-size: var(--fs-4);
  color: var(--accent-color);
  font-weight: var(--fw-500);
  margin-bottom: 16px;
  margin-top: 8px;
}

.social-list {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all var(--transition-1);
  font-size: 20px;
}

.social-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background: var(--hover-bg);
  transform: translateY(-2px);
}

.about-content {
  max-width: 900px;
  margin-top: 20px;
}

.section-title {
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.about-text {
  margin-bottom: 48px;
}

.about-text p {
  font-size: var(--fs-5);
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.8;
}

/* Skills */
.skills {
  margin-top: 60px;
}

.skills-title {
  font-size: var(--fs-2);
  font-weight: var(--fw-500);
  margin-bottom: 32px;
  text-align: center;
}

.skills-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.skills-item {
  margin-bottom: 24px;
}

.skill-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.skill-header h5 {
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  color: var(--text-primary);
}

.skill-header data {
  font-size: var(--fs-6);
  color: var(--text-secondary);
}

.skill-progress-bg {
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
  max-width: 200px;
}

.skill-progress-fill {
  height: 100%;
  background: var(--accent-color);
  border-radius: 4px;
  transition: width 1s ease;
}

/*-----------------------------------*\
  #PAGE CONTAINER
\*-----------------------------------*/

.page-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.page-title {
  font-size: var(--fs-hero);
  font-weight: var(--fw-600);
  margin-bottom: 40px;
  margin-top: 0;
  text-align: center;
}

/*-----------------------------------*\
  #EXPERIENCE NAVIGATION SIDEBAR
\*-----------------------------------*/

.experience-nav-sidebar {
  position: fixed;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  background: var(--primary-bg);
  border-radius: 16px;
  padding: 24px 16px;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.experience-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.experience-nav-item {
  position: relative;
}

.experience-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 12px;
  transition: all var(--transition-1);
  white-space: nowrap;
  font-weight: var(--fw-500);
  font-size: var(--fs-6);
}

.experience-nav-link:hover {
  color: var(--text-primary);
  background: var(--hover-bg);
  transform: translateX(4px);
}

.experience-nav-link.active {
  color: var(--accent-color);
  background: var(--hover-bg);
  border: 1px solid var(--accent-color);
}

.experience-nav-link ion-icon {
  font-size: 20px;
  min-width: 20px;
}

.experience-nav-link span {
  font-weight: var(--fw-500);
}

/* Separator lines between nav items */
.experience-nav-item:not(:last-child)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

/* Responsive sidebar */
@media (max-width: 1200px) {
  .experience-nav-sidebar {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    padding: 20px 12px;
  }
  
  .experience-nav-link {
    padding: 14px 16px;
    font-size: var(--fs-7);
  }
  
  .experience-nav-link span {
    display: none;
  }
  
  .experience-nav-link ion-icon {
    font-size: 18px;
    min-width: 18px;
  }
}

@media (max-width: 768px) {
  .experience-nav-sidebar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    flex-direction: row;
    padding: 16px 20px;
  }
  
  .experience-nav-list {
    flex-direction: row;
    gap: 16px;
  }
  
  .experience-nav-item:not(:last-child)::after {
    bottom: 50%;
    left: auto;
    right: -8px;
    transform: translateY(50%);
    width: 2px;
    height: 40px;
  }
}

/*-----------------------------------*\
  #TIMELINE SECTIONS (Experience & Education)
\*-----------------------------------*/

.timeline-section {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-list {
  position: relative;
  padding-left: 32px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--border-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child {
  border-bottom: none;
  padding-bottom: 20px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 8px;
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  border: 2px solid var(--primary-bg);
}

.timeline-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-item-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.timeline-company {
  font-size: var(--fs-4);
  color: var(--accent-color);
  font-weight: var(--fw-500);
  display: flex;
  align-items: center;
  gap: 16px;
}

.university-logo {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: contain;
  background: white;
  padding: 4px;
  border: 1px solid var(--border-color);
}

.timeline-date {
  font-size: var(--fs-6);
  color: var(--accent-color);
  font-weight: var(--fw-500);
  padding: 4px 12px;
  background: var(--hover-bg);
  border-radius: 16px;
  border: 1px solid var(--accent-color);
}

.timeline-text {
  font-size: var(--fs-6);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.timeline-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 16px;
  padding: 20px;
  background: var(--secondary-bg);
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-7);
  color: var(--text-secondary);
}

.detail-item ion-icon {
  color: var(--accent-color);
  font-size: 16px;
}

/* Coursework Section Styling */
.coursework-section {
  margin-top: 24px;
  padding: 20px;
  background: var(--secondary-bg);
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
}

.coursework-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  color: var(--text-primary);
  margin-bottom: 8px;
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-underline-offset: 4px;
}

.coursework-note {
  font-size: var(--fs-7);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 16px;
}

.coursework-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
}

.coursework-list li {
  font-size: var(--fs-6);
  color: var(--text-secondary);
  line-height: 1.5;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-color);
}

.coursework-list li:last-child {
  border-bottom: none;
}

.coursework-list strong {
  color: var(--text-primary);
  font-weight: var(--fw-500);
}

/* Standalone Coursework Section Styling */
.coursework-section-standalone {
  margin-top: 60px;
  padding: 40px;
  background: var(--primary-bg);
  border-radius: 16px;
  border-left: 6px solid var(--accent-color);
}

.coursework-title-standalone {
  font-size: var(--fs-2);
  font-weight: var(--fw-600);
  color: var(--text-primary);
  margin-bottom: 12px;
  text-decoration: underline;
  text-decoration-color: var(--accent-color);
  text-underline-offset: 6px;
}

.coursework-note-standalone {
  font-size: var(--fs-6);
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 32px;
}

.coursework-categories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.coursework-category {
  background: var(--secondary-bg);
  padding: 24px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

.category-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  color: var(--accent-color);
  margin-bottom: 16px;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 8px;
}

.course-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-list li {
  font-size: var(--fs-6);
  color: var(--text-secondary);
  line-height: 1.6;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
  transition: color var(--transition-1);
}

.course-list li:last-child {
  border-bottom: none;
}

.course-list li:hover {
  color: var(--text-primary);
}

.expandable-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

/* Section Subtitle Styling */
.section-subtitle {
  font-size: var(--fs-2);
  font-weight: var(--fw-500);
  color: var(--text-primary);
  margin-bottom: 48px;
  margin-top: 10px;
  position: relative;
  padding-bottom: 16px;
  text-align: center;
}

.section-subtitle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 2px;
}

/* Enhanced Timeline Styling */
.timeline-section {
  margin-bottom: 80px;
}

.timeline-list {
  position: relative;
  padding-left: 40px;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-color) 0%, var(--border-color) 100%);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding-bottom: 48px;
  margin-bottom: 32px;
  background: var(--primary-bg);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-color);
  transition: all var(--transition-1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: var(--accent-color);
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 40px;
  width: 16px;
  height: 16px;
  background: var(--accent-color);
  border-radius: 50%;
  border: 3px solid var(--primary-bg);
  box-shadow: 0 0 0 3px var(--accent-color);
}

.timeline-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.timeline-item-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-600);
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.timeline-company {
  font-size: var(--fs-4);
  color: var(--accent-color);
  font-weight: var(--fw-500);
  display: flex;
  align-items: center;
  gap: 16px;
}

.timeline-date {
  font-size: var(--fs-6);
  color: var(--accent-color);
  font-weight: var(--fw-500);
  padding: 8px 16px;
  background: var(--hover-bg);
  border-radius: 20px;
  border: 2px solid var(--accent-color);
  white-space: nowrap;
  flex-shrink: 0;
}

.timeline-text {
  font-size: var(--fs-6);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.timeline-text br {
  display: block;
  margin: 8px 0;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
  .timeline-list {
    padding-left: 24px;
  }
  
  .timeline-item {
    padding: 24px;
    margin-bottom: 24px;
  }
  
  .timeline-item::before {
    left: -28px;
    width: 12px;
    height: 12px;
  }
  
  .timeline-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .timeline-date {
    align-self: flex-start;
  }
  
  .section-subtitle {
    margin-bottom: 32px;
    margin-top: 40px;
  }
  
  .timeline-section {
    margin-bottom: 60px;
  }
  
  .university-logo {
    width: 64px;
    height: 64px;
    padding: 6px;
  }
}

/* Enhanced Logo Styling */
.university-logo {
  width: 96px;
  height: 96px;
  border-radius: 12px;
  object-fit: contain;
  background: white;
  padding: 8px;
  border: 2px solid var(--border-color);
  transition: all var(--transition-1);
}

.university-logo:hover {
  transform: scale(1.05);
  border-color: var(--accent-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.expandable-content.expanded {
  max-height: 500px;
}

.expand-btn {
  margin-top: 12px;
  color: var(--accent-color);
  font-size: var(--fs-7);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-1);
}

.expand-btn:hover {
  opacity: 0.8;
}

.expand-btn ion-icon {
  transition: transform var(--transition-1);
}

.expand-btn.expanded ion-icon {
  transform: rotate(180deg);
}

/*-----------------------------------*\
  #PROJECTS
\*-----------------------------------*/

.filter-list {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.filter-item button {
  padding: 8px 20px;
  font-size: var(--fs-6);
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  transition: all var(--transition-1);
}

.filter-item button:hover {
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

.filter-item button.active {
  color: var(--primary-bg);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.project-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
}

.project-item {
  display: block;
}

@keyframes scaleUp {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.project-img {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/12;
  margin-bottom: 16px;
  background: var(--secondary-bg);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-1);
}

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

.project-item-icon-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: var(--accent-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: transform var(--transition-1);
}

.project-item a:hover .project-item-icon-box {
  transform: translate(-50%, -50%) scale(1);
}

.project-title {
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  color: var(--text-primary);
  margin-bottom: 4px;
}

.project-category {
  font-size: var(--fs-7);
  color: var(--text-secondary);
}

/*-----------------------------------*\
  #PROJECT MODAL
\*-----------------------------------*/

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-2);
}

.project-modal.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;
  overflow: hidden;
  transform: scale(0.9);
  transition: transform var(--transition-2);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  position: relative;
}

.project-modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-1);
  z-index: 10;
}

.modal-close:hover {
  background: var(--accent-color);
  color: white;
  transform: scale(1.1);
}

.modal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.modal-body {
  padding: 40px;
}

.modal-title {
  font-size: var(--fs-1);
  font-weight: var(--fw-600);
  color: var(--text-primary);
  margin-bottom: 20px;
}

.modal-description {
  font-size: var(--fs-5);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 30px;
}

.modal-technologies {
  margin-bottom: 30px;
}

.modal-technologies h4 {
  font-size: var(--fs-4);
  font-weight: var(--fw-500);
  color: var(--text-primary);
  margin-bottom: 12px;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  padding: 6px 12px;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: var(--fs-7);
  color: var(--text-secondary);
  font-weight: var(--fw-400);
}

.modal-actions {
  display: flex;
  gap: 16px;
}

.github-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-color);
  color: white;
  border-radius: 8px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  text-decoration: none;
  transition: all var(--transition-1);
}

.github-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(100, 181, 246, 0.3);
}

.github-btn ion-icon {
  font-size: 18px;
}

/* Responsive Modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .modal-body {
    padding: 30px 20px;
  }
  
  .modal-image {
    height: 200px;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .github-btn {
    justify-content: center;
  }
}

/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer {
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
  margin-top: 80px;
}

.footer-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.copyright {
  font-size: var(--fs-6);
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.made-with {
  font-size: var(--fs-6);
  color: var(--text-secondary);
}

.made-with a {
  color: #007bff;
  text-decoration: none;
  transition: color var(--transition-1);
}

.made-with a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer {
    padding: 15px 0;
    margin-top: 60px;
  }
}

/*-----------------------------------*\
  #HOBBIES
\*-----------------------------------*/

.hobbies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.hobby-card {
  background: var(--secondary-bg);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all var(--transition-1);
  border: 1px solid var(--border-color);
}

.hobby-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(100, 181, 246, 0.1);
}

.hobby-icon {
  font-size: 48px;
  color: var(--accent-color);
  margin-bottom: 20px;
  display: block;
}

.hobby-title {
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  margin-bottom: 12px;
  color: var(--text-primary);
}

.hobby-description {
  font-size: var(--fs-6);
  color: var(--text-secondary);
  line-height: 1.6;
}

/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  max-width: 900px;
  margin: 0 auto;
}

.contact-info-section h3 {
  font-size: var(--fs-2);
  font-weight: var(--fw-500);
  margin-bottom: 16px;
}

.contact-info-section p {
  font-size: var(--fs-5);
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: var(--fs-5);
  color: var(--text-secondary);
}

.contact-item ion-icon {
  font-size: 20px;
  color: var(--accent-color);
}

.contact-item a {
  color: var(--text-secondary);
  transition: color var(--transition-1);
}

.contact-item a:hover {
  color: var(--accent-color);
}

.form-title {
  font-size: var(--fs-2);
  font-weight: var(--fw-500);
  margin-bottom: 24px;
}

.input-wrapper {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.form-input {
  padding: 12px 16px;
  background: var(--secondary-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: var(--fs-6);
  color: var(--text-primary);
  transition: all var(--transition-1);
}

.form-input::placeholder {
  color: var(--text-secondary);
}

.form-input:focus {
  border-color: var(--accent-color);
  background: var(--primary-bg);
}

textarea.form-input {
  min-height: 120px;
  resize: vertical;
  margin-bottom: 24px;
}

.form-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--accent-color);
  color: white;
  border-radius: 8px;
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  transition: all var(--transition-1);
}

.form-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  opacity: 0.9;
}

.form-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-btn ion-icon {
  font-size: 18px;
}

/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/* Mobile Navigation */
@media (max-width: 768px) {
  .navbar-container {
    padding: 0 16px;
    height: 60px;
  }
  
  .logo {
    font-size: var(--fs-5);
  }
  
  .navbar-list {
    position: static;
    transform: none;
    gap: 2px;
  }
  
  .navbar-link {
    padding: 6px 12px;
    font-size: var(--fs-7);
  }
  
  .theme-toggle {
    width: 80px;
    height: 28px;
  }
  
  .toggle-thumb {
    width: 20px;
    height: 20px;
  }
  
  body.dark-mode .toggle-thumb {
    transform: translateX(54px);
  }
  
  .profile-section {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  
  .avatar-box img {
    width: 150px;
    height: 150px;
  }
  
  .name {
    font-size: var(--fs-1);
  }
  
  .social-list {
    justify-content: center;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .project-list {
    grid-template-columns: 1fr;
  }
  
  .hobbies-grid {
    grid-template-columns: 1fr;
  }
  
  .skills-list {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  
  .skill-progress-bg {
    max-width: 150px;
  }
  
  .timeline-item-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .timeline-details {
    grid-template-columns: 1fr;
  }
}

/* Tablet and up */
@media (min-width: 768px) {
  :root {
    --fs-hero: 56px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  :root {
    --fs-hero: 64px;
  }
  
  .main-content {
    padding-top: 120px;
  }
}

