/* KC Christensen Portfolio - Clean CSS */

/* Base styles for better mobile experience */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
  color: #333;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improve touch targets */
a, button {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center
}

/* Prevent zoom on input focus on iOS */
input, textarea, select {
  font-size: 16px;
}

/* Smooth scrolling for all browsers */
html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

.main-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fixed-header {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  background-color: rgb(3, 6, 8);
  background-image: url('../i/network.png');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
}

.fixed-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../i/network.png');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  opacity: 1;
  z-index: 0;
}

.sidebar {
  width: 150px;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.25) 0%, 
    rgba(255, 255, 255, 0.1) 100%);
  backdrop-filter: blur(20px);
  border: 1px solid rgb(28, 24, 1);
  border-left: none;
  color: #fff;
  padding: 0 10px 5px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 
    8px 0 32px rgba(0, 0, 0, 0.3),
    4px 0 16px rgba(0, 0, 0, 0.15),
    inset -1px 0 0 rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 10;
  overflow: hidden;
  transition: width 0.3s ease;
}

/* Logo Frame */
.logo-frame {
  width: 100%;
  height: 200px;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0px;
  display: flex;
  align-items: flex-start;  
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.logo-frame:hover {
  background: transparent;
}

.logo-frame img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 0px;
  margin: 0;
  padding: 0;
}

/* Placeholder for logo when no image is present */
.logo-frame::before {
  content: 'LOGO';
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(255, 165, 0, 0.8);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 2px;
}

.logo-frame:has(img)::before {
  display: none;
}

/* Adjust sidebar collapsed state for logo */
.sidebar.collapsed .logo-frame {
  height: 60px;
  margin: 0;
}

.sidebar.collapsed .logo-frame::before {
  content: 'L';
  font-size: 1.2rem;
}

/* Mobile Navigation Toggle - Hidden by default */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
}

/* Mobile Sidebar Overlay - Hidden by default */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
}

/* Ensure sidebar doesn't have mobile-open class by default */
.sidebar {
  transition: all 0.3s ease;
}

.sidebar.collapsed {
  width: 80px;
}

.sidebar-toggle {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
}

.toggle-btn {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
  border: 1px solid rgba(255, 165, 0, 0.3);
  color: #ffa500;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  width: 100%;
  font-size: 1.2rem;
  transform: translateX(-2px);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.toggle-btn:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.3) 0%, rgba(255, 165, 0, 0.2) 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 12px rgba(255, 165, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgb(3, 6, 8) 100%);
  z-index: -1;
}

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

.sidebar ul li {
  margin: 8px 0;
}

.sidebar ul li a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.1) 0%, 
    rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  overflow: hidden;
  white-space: nowrap;
  text-align: left;
  transform: translateX(-2px);
}

.sidebar.collapsed ul li a {
  padding: 10px;
  justify-content: center;
}

.sidebar ul li a i {
  margin-right: 12px;
  font-size: 1.1rem;
  width: 20px;
  text-align: center;
  color: rgba(255, 165, 0, 0.8);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.sidebar.collapsed ul li a i {
  margin-right: 0;
}

.nav-text {
  transition: all 0.3s ease;
  opacity: 1;
  text-align: left;
  flex: 1;
}

.sidebar.collapsed .nav-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

.sidebar ul li a:hover {
  background: linear-gradient(135deg, 
    rgba(255, 165, 0, 0.25) 0%, 
    rgba(255, 165, 0, 0.15) 100%);
  color: #fff;
  transform: translateX(8px);
  border-color: rgba(255, 165, 0, 0.3);
  box-shadow: 
    0 8px 16px rgba(255, 165, 0, 0.2),
    0 4px 8px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sidebar .button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  padding: 10px 15px;
  margin-top: 120px;
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  color: #000;
  border-radius: 8px;
  text-align: left;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 
    0 8px 16px rgba(255,165,0,0.4),
    0 4px 8px rgba(255,165,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  transform: translateX(-2px);
}

.sidebar.collapsed .button {
  padding: 10px;
  gap: 0;
  min-width: 50px;
  justify-content: center;
}

.sidebar .button:hover {
  background: linear-gradient(135deg, #ffb84d 0%, #ff9500 100%);
  transform: translateY(-2px);
  box-shadow: 
    0 12px 20px rgba(255,165,0,0.5),
    0 8px 16px rgba(255,165,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.5);
}

.sidebar .button i {
  color: #000 !important;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-right: 8px;
}

.sidebar.collapsed .button i {
  margin-right: 0;
}

.sidebar .button:hover i {
  color: #000 !important;
}

.content {
  flex: 1;
  height: calc(100vh - 120px);
  overflow-y: scroll;
  scroll-behavior: smooth;
  background-color: rgb(3,6,8);
  position: relative;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 165, 0, 0.3) transparent;
  scroll-snap-type: y mandatory;
}

/* Custom scrollbar for webkit browsers */
.content::-webkit-scrollbar {
  width: 8px;
}

.content::-webkit-scrollbar-track {
  background: transparent;
}

.content::-webkit-scrollbar-thumb {
  background: rgba(255, 165, 0, 0.3);
  border-radius: 4px;
}

.content::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 165, 0, 0.5);
}

.content::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../i/network.png');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}

.frame {
  height: 100vh;
  min-height: 100vh;
  padding: 0;
  box-sizing: border-box;
  background: transparent;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.frame.fade-in {
  opacity: 1;
}

.frame.fade-out {
  opacity: 0;
}

/* Footer fade transitions */
footer.fade-in {
  opacity: 1;
}

footer.fade-out {
  opacity: 0;
}

/* Section ID Styles */
#welcome { 
  background: transparent;
}

#about {
  background: transparent;
}

#journey {
  background: transparent;
}

#experience {
  background: transparent;
}

#skills {
  background: transparent;
}

#contact {
  background: transparent;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Contact section specific page-content styling */
#contact .page-content {
  max-height: 85vh;
  flex-shrink: 0;
}

/* Page Content Styles */
.page-content {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 40px;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 75%;
  max-width: 90vh;
  max-height: 85vh;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    0 12px 24px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transform: translateZ(0);
  transition: all 0.3s ease;
  overflow-y: auto;
}

.page-content:hover {
  transform: translateY(-5px) translateZ(0);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.page-content h2 {
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.06);
  margin-bottom: 20px;
  color: #003f5c;
  font-weight: 600;
}

.page-content p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  line-height: 1.6;
  color: #2c3e50;
}

.page-content ul {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.page-content a {
  color: #ffa500;
  text-decoration: none;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.page-content a:hover {
  color: #ff8c00;
  text-shadow: 0 2px 4px rgba(255, 165, 0, 0.3);
}

/* Welcome Section Enhancements */
.hero-badge {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 
    0 8px 16px rgba(255, 165, 0, 0.3),
    0 4px 8px rgba(255, 165, 0, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.3);
  animation: float 6s ease-in-out infinite;
}

.hero-badge i {
  font-size: 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.welcome-stats {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-radius: 15px;
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  flex: 1;
}

.stat-item:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: #ffa500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: #666;
  margin-top: 5px;
}

/* Journey Section Timeline */
.journey-timeline {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
}

.timeline-item {
  flex: 1;
  text-align: center;
  position: relative;
  padding: 20px;
  background: linear-gradient(135deg, rgba(0, 63, 92, 0.1) 0%, rgba(0, 63, 92, 0.05) 100%);
  border-radius: 15px;
  box-shadow: 
    0 6px 12px rgba(0, 63, 92, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(0, 63, 92, 0.2);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 
    0 12px 24px rgba(0, 63, 92, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #003f5c 0%, #002a3f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  box-shadow: 
    0 6px 12px rgba(0, 63, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.timeline-icon i {
  font-size: 1.5rem;
  color: #ffa500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.timeline-content h4 {
  margin: 0 0 10px 0;
  color: #003f5c;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.timeline-content p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

/* Skills List Styling */
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.skills li {
  background: linear-gradient(135deg, #e0f7fa 0%, #b2ebf2 100%);
  padding: 8px 16px;
  border-radius: 20px;
  list-style: none;
  box-shadow: 
    0 4px 8px rgba(0, 188, 212, 0.15),
    0 2px 4px rgba(0, 188, 212, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(0, 188, 212, 0.2);
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.skills li:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 6px 12px rgba(0, 188, 212, 0.2),
    0 3px 6px rgba(0, 188, 212, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border-color: rgba(0, 188, 212, 0.3);
}

/* Experience Layout - Sidebar + Content */
.experience-layout {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 30px;
  height: 70vh;
  max-height: 70vh;
}

.experience-sidebar {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.experience-nav-item {
  padding: 15px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.experience-nav-item:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 165, 0, 0.08) 100%);
  border-color: rgba(255, 165, 0, 0.25);
  transform: translateX(5px);
  box-shadow: 
    0 6px 12px rgba(255, 165, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.experience-nav-item.active {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.25) 0%, rgba(255, 165, 0, 0.15) 100%);
  border-color: rgba(255, 165, 0, 0.4);
  transform: translateX(8px);
  box-shadow: 
    0 8px 16px rgba(255, 165, 0, 0.2),
    0 4px 8px rgba(255, 165, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.experience-years {
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffa500;
  margin-bottom: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.experience-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 2px;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.experience-company {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
  line-height: 1.2;
}

.experience-content {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  min-height: 100%;
}

.experience-detail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 25px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  pointer-events: none;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.experience-detail.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.experience-header {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 165, 0, 0.2);
  padding-bottom: 15px;
}

.experience-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #003f5c;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.experience-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.experience-meta .years {
  font-size: 1rem;
  font-weight: 600;
  color: #ffa500;
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 165, 0, 0.08) 100%);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 165, 0, 0.2);
}

.experience-meta .company {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  font-style: italic;
}

.experience-description p {
  margin: 0 0 20px 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

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

.role-details li {
  position: relative;
  padding: 8px 0 8px 25px;
  color: #666;
  font-size: 0.9rem;
  line-height: 1.5;
}

.role-details li::before {
  content: '▸';
  position: absolute;
  left: 0;
  top: 8px;
  color: #ffa500;
  font-weight: bold;
  font-size: 1rem;
}

/* Skills Layout - Sidebar + Content */
.skills-layout {
  display: flex;
  gap: 30px;
  margin-top: 20px;
  margin-bottom: 30px;
  height: 70vh;
  max-height: 70vh;
}

.skills-sidebar {
  flex: 0 0 150px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skills-nav-item {
  padding: 15px 18px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.skills-nav-item:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 165, 0, 0.08) 100%);
  border-color: rgba(255, 165, 0, 0.25);
  transform: translateX(5px);
  box-shadow: 
    0 6px 12px rgba(255, 165, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.skills-nav-item.active {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.25) 0%, rgba(255, 165, 0, 0.15) 100%);
  border-color: rgba(255, 165, 0, 0.4);
  transform: translateX(8px);
  box-shadow: 
    0 8px 16px rgba(255, 165, 0, 0.2),
    0 4px 8px rgba(255, 165, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.skills-category {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.skills-nav-item .skills-description {
  font-size: 0.8rem;
  color: #666;
  font-weight: 500;
  line-height: 1.2;
}

.skills-content {
  flex: 1;
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 6px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  overflow: hidden;
  min-height: 100%;
}

.skills-detail {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 25px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.4s ease;
  pointer-events: none;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.skills-detail.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.skills-header {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 165, 0, 0.2);
  padding-bottom: 15px;
}

.skills-header h3 {
  margin: 0 0 8px 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #003f5c;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.skills-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.skills-meta .category-type {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
  font-style: italic;
}

.skills-description p {
  margin: 0 0 20px 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.skill-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.skill-details li {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  min-height: 80px;
  text-align: center;
}

.skill-details li:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, rgba(255,165,0,0.2) 0%, rgba(255,165,0,0.1) 100%);
  border-color: rgba(255,165,0,0.3);
  box-shadow: 
    0 8px 16px rgba(255,165,0,0.15),
    0 4px 8px rgba(255,165,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.skill-details li i {
  margin: 0 0 8px 0;
  color: #ffa500;
  font-size: 1.8rem;
  text-align: center;
  display: block;
}

.skill-details li span {
  font-size: 0.85rem;
  font-weight: 500;
  color: #333;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

/* Contact Section Enhancements */
.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #003f5c 0%, #002a3f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 
    0 8px 16px rgba(0, 63, 92, 0.3),
    0 4px 8px rgba(0, 63, 92, 0.2),
    inset 0 2px 0 rgba(255, 255, 255, 0.1);
  animation: pulse 4s ease-in-out infinite;
}

.contact-icon i {
  font-size: 2rem;
  color: #ffa500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 16px rgba(0, 63, 92, 0.3), 0 4px 8px rgba(0, 63, 92, 0.2), inset 0 2px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 12px 24px rgba(0, 63, 92, 0.4), 0 6px 12px rgba(0, 63, 92, 0.3), inset 0 2px 0 rgba(255, 255, 255, 0.2); }
}

.contact-methods {
  display: flex;
  justify-content: space-around;
  margin-top: 30px;
  gap: 15px;
}

.contact-item {
  text-align: center;
  padding: 20px 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
  border-radius: 12px;
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  flex: 1;
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.contact-item i {
  display: block;
  font-size: 1.5rem;
  color: #ffa500;
  margin-bottom: 10px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.contact-item span {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

/* Footer Styles */
footer {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
  background-color: rgb(3, 6, 8);
  background-image: url('../i/network.png');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: contain;
  opacity: 1;
  transition: opacity 1s ease;
  margin-top: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  scroll-snap-align: start;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../i/network.png');
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  opacity: 1;
  z-index: 0;
}

.footer-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(135deg, rgba(231, 228, 228, 0.888) 0%, rgba(237, 236, 236, 0.888) 100%);
  backdrop-filter: blur(1px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 -8px 16px rgba(0, 0, 0, 0.1),
    0 -4px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 100%;
}

.footer-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #003f5c 0%, #002a3f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 16px rgba(0, 63, 92, 0.3),
    0 4px 8px rgba(0, 63, 92, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.footer-icon i {
  font-size: 2.5rem;
  color: #ffa500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-profile h2 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #003f5c;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.info-item {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
  color: #003f5c;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 165, 0, 0.3);
  box-shadow: 
    0 3px 6px rgba(255, 165, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.info-item:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.3) 0%, rgba(255, 165, 0, 0.2) 100%);
  transform: translateY(-1px);
  box-shadow: 
    0 4px 8px rgba(255, 165, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 165, 0, 0.4);
}

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

.footer-social a {
  color: #003f5c;
  font-size: 1.5rem;
  padding: 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: inline-block;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.3) 0%, 
    rgba(255, 255, 255, 0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.footer-social a:hover {
  color: #fff;
  background: linear-gradient(135deg, 
    rgba(255, 165, 0, 0.9) 0%, 
    rgba(255, 140, 0, 0.9) 100%);
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(255, 165, 0, 0.5);
  box-shadow: 
    0 8px 16px rgba(255, 165, 0, 0.4),
    0 4px 8px rgba(255, 165, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Header Profile Styles */
.header-profile {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: linear-gradient(135deg, rgba(231, 228, 228, 0.888) 0%, rgba(237, 236, 236, 0.888) 100%);
  backdrop-filter: blur(1px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 4px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: 100%;
}

.profile-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #003f5c 0%, #002a3f 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 16px rgba(0, 63, 92, 0.3),
    0 4px 8px rgba(0, 63, 92, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.profile-icon i {
  font-size: 2.5rem;
  color: #ffa500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.header-profile h1 {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 700;
  color: #003f5c;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
}

.profile-roles {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.role-item {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
  color: #003f5c;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 165, 0, 0.3);
  box-shadow: 
    0 3px 6px rgba(255, 165, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.role-item:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.3) 0%, rgba(255, 165, 0, 0.2) 100%);
  transform: translateY(-1px);
  box-shadow: 
    0 4px 8px rgba(255, 165, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 165, 0, 0.4);
}

/* Font Face */
@font-face {
  font-family: 'Forum-Regular';
  font-style: normal;
  font-weight: 400;
  src: url(/assets/f/Forum-Regular.ttf) format('truetype');
}

.ffont {
  font-family: 'Forum-Regular', serif;
  font-size: 1.2rem;
  font-weight: 400;
}

/* Mobile Responsive */
/* Mobile First Approach - Small screens */
@media (max-width: 480px) {
  .container {
    flex-direction: column;
    height: 100vh;
  }
  
  .sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 20px;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.3);
  }
  
  .sidebar.mobile-open {
    left: 0;
  }
  
  .sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  .sidebar-overlay.active {
    display: block;
  }
  
  .main-area {
    flex: 1;
    width: 100%;
    margin-left: 0;
  }
  
  .fixed-header {
    height: 80px;
    padding: 0 20px;
    position: relative;
  }
  
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, rgba(255, 165, 0, 0.1) 100%);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #ffa500;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 10;
  }
  
  .mobile-nav-toggle:hover {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.3) 0%, rgba(255, 165, 0, 0.2) 100%);
  }
  
  .header-profile {
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin-left: 60px;
  }
  
  .header-profile h1 {
    font-size: 1.5rem;
    text-align: center;
  }
  
  .profile-icon {
    width: 50px;
    height: 50px;
  }
  
  .profile-icon i {
    font-size: 1.5rem;
  }
  
  .profile-roles {
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .role-item {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
  
  .content {
    height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y mandatory;
  }
  
  .frame {
    padding: 30px 20px;
    min-height: 100vh;
    height: 100vh;
    scroll-snap-align: start;
  }
  
  .page-content {
    padding: 20px;
  }
  
  .page-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }
  
  .page-content p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Welcome Stats Mobile */
  .welcome-stats {
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
  }
  
  .stat-item {
    text-align: center;
    padding: 20px;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .stat-label {
    font-size: 0.9rem;
  }
  
  /* Journey Timeline Mobile */
  .journey-timeline {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
  
  .timeline-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }
  
  .timeline-icon i {
    font-size: 1.5rem;
  }
  
  /* Experience Layout Mobile */
  .experience-layout {
    flex-direction: column;
    gap: 0;
    min-height: 50vh;
  }
  
  .experience-sidebar {
    order: 1;
    margin-bottom: 20px;
  }
  
  .experience-content {
    order: 2;
  }
  
  .experience-nav-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .experience-nav-item:hover,
  .experience-nav-item.active {
    transform: none;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
  }
  
  .experience-detail {
    padding: 20px;
    border-radius: 10px;
  }
  
  /* Skills Layout Mobile */
  .skills-layout {
    flex-direction: column;
    gap: 0;
    min-height: 50vh;
  }
  
  .skills-sidebar {
    order: 1;
    margin-bottom: 20px;
  }
  
  .skills-content {
    order: 2;
  }
  
  .skills-nav-item {
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .skills-nav-item:hover,
  .skills-nav-item.active {
    transform: none;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
  }
  
  .skills-detail {
    padding: 20px;
    border-radius: 10px;
  }
  
  .skill-details {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 20px;
  }
  
  /* Contact Methods Mobile */
  .contact-methods {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }
  
  .contact-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
  }
  
  .contact-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .contact-icon i {
    font-size: 2rem;
  }
  
  .hero-badge {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .hero-badge i {
    font-size: 2rem;
  }
  
  /* Footer Mobile */
  footer {
    height: 200px;
    padding: 40px 20px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .footer-profile {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-profile h2 {
    font-size: 1.4rem;
  }
  
  .footer-icon {
    width: 60px;
    height: 60px;
  }
  
  .footer-icon i {
    font-size: 1.5rem;
  }
  
  .footer-info {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .info-item {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  
  .footer-social {
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
  }
  
  .footer-social a {
    font-size: 1.5rem;
    padding: 15px;
  }
  
  /* Sidebar Mobile Styles */
  .sidebar ul li a {
    padding: 15px 20px;
    margin-bottom: 8px;
    border-radius: 10px;
    font-size: 1rem;
  }
  
  .sidebar ul li a i {
    font-size: 1.2rem;
    margin-right: 15px;
  }
  
  .sidebar .button {
    padding: 15px 20px;
    font-size: 1rem;
    margin-top: 20px;
    border-radius: 10px;
  }
  
  .logo-frame {
    height: 120px;
    margin: 0;
  }
  
  .logo-frame::before {
    font-size: 1.2rem;
    letter-spacing: 1px;
  }
  
  .toggle-btn {
    display: none;
  }
  
  .sidebar-toggle {
    display: none;
  }
}

/* Tablet and Medium screens */
@media (min-width: 481px) and (max-width: 768px) {
  .container {
    flex-direction: row;
  }
  
  .sidebar {
    width: 80px;
    padding: 10px 5px;
  }
  
  .sidebar.collapsed {
    width: 60px;
  }
  
  .mobile-nav-toggle {
    display: none;
  }
  
  .sidebar-overlay {
    display: none;
  }
  
  .main-area {
    flex: 1;
    margin-left: 0;
  }
  
  .fixed-header {
    height: 100px;
    padding: 0 20px;
  }
  
  .header-profile {
    flex-direction: row;
    gap: 20px;
    margin-left: 0;
  }
  
  .header-profile h1 {
    font-size: 1.8rem;
  }
  
  .profile-icon {
    width: 60px;
    height: 60px;
  }
  
  .profile-icon i {
    font-size: 1.8rem;
  }
  
  .profile-roles {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .role-item {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .content {
    height: calc(100vh - 100px);
    scroll-snap-type: y mandatory;
  }
  
  .frame {
    padding: 40px 30px;
    min-height: 100vh;
    height: 100vh;
    scroll-snap-align: start;
  }
  
  .page-content {
    padding: 30px;
  }
  
  /* Navigation styles for tablets */
  .sidebar ul li a {
    padding: 12px 10px;
    justify-content: center;
  }
  
  .sidebar ul li a i {
    font-size: 1.1rem;
    margin-right: 0;
  }
  
  .nav-text {
    display: none;
  }
  
  .sidebar .button {
    padding: 12px 10px;
    font-size: 0.9rem;
  }
  
  .sidebar .button .nav-text {
    display: none;
  }
  
  .toggle-btn {
    padding: 10px;
    font-size: 1rem;
  }
  
  /* Logo adjustments for tablet */
  .logo-frame {
    height: 80px;
    margin: 0;
  }
  
  .logo-frame::before {
    font-size: 1rem;
    letter-spacing: 1px;
  }
  
  /* Responsive layouts for tablets */
  .welcome-stats {
    flex-direction: row;
    gap: 20px;
  }
  
  .journey-timeline {
    flex-direction: row;
    gap: 20px;
  }
  
  .experience-layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .experience-sidebar {
    order: 1;
  }
  
  .experience-content {
    order: 2;
  }
  
  .skills-layout {
    flex-direction: column;
    gap: 20px;
  }
  
  .skills-sidebar {
    order: 1;
  }
  
  .skills-content {
    order: 2;
  }
  
  .skill-details {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .contact-methods {
    flex-direction: row;
    gap: 20px;
  }
  
  footer {
    height: 200px;
    padding: 30px 20px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  .footer-profile {
    flex-direction: row;
    gap: 20px;
  }
  
  .footer-social {
    gap: 15px;
  }
}

/* Desktop and large screens */
@media (min-width: 769px) {
  .mobile-nav-toggle {
    display: none;
  }
  
  .sidebar-overlay {
    display: none;
  }
}

/* PDF Modal Styles (Option 2) */
.pdf-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.pdf-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.pdf-modal-content {
  position: relative;
  width: 90%;
  height: 90%;
  max-width: 1200px;
  margin: auto;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
  border-radius: 20px;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.3),
    0 10px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pdf-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
}

.pdf-modal-header h3 {
  margin: 0;
  color: #003f5c;
  font-size: 1.5rem;
  font-weight: 600;
}

.pdf-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
  padding: 10px;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  transform: translateX(-2px);
}

.pdf-modal-close:hover {
  background: rgba(255, 0, 0, 0.1);
  color: #ff0000;
  transform: scale(1.1);
}

.pdf-modal-body {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.pdf-modal-body embed {
  flex: 1;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.pdf-modal .pdf-fallback {
  text-align: center;
  margin-top: 15px;
  padding: 15px;
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
  border: 1px solid rgba(255, 165, 0, 0.2);
  border-radius: 10px;
}

/* Option 3: Collapsible Resume Section */
.resume-collapsible {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
}

.resume-toggle {
  width: 100%;
  padding: 20px 25px;
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.15) 0%, rgba(255, 165, 0, 0.08) 100%);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 15px;
  color: #333;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 8px rgba(255, 165, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: translateX(-2px);
}

.resume-toggle:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.25) 0%, rgba(255, 165, 0, 0.15) 100%);
  border-color: rgba(255, 165, 0, 0.4);
  transform: translateY(-2px);
  box-shadow: 
    0 6px 12px rgba(255, 165, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.resume-toggle i:first-child {
  color: #ffa500;
  margin-right: 12px;
  font-size: 1.2rem;
}

.toggle-arrow {
  color: #ffa500;
  transition: transform 0.3s ease;
  font-size: 1rem;
}

.resume-toggle[aria-expanded="true"] .toggle-arrow {
  transform: rotate(180deg);
}

.resume-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  margin-top: 0;
}

.resume-content.expanded {
  max-height: 600px;
  opacity: 1;
  margin-top: 20px;
}

.resume-viewer {
  padding: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  box-shadow: 
    0 4px 8px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.resume-viewer embed {
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.resume-viewer .resume-fallback {
  text-align: center;
  margin-top: 15px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
  border: 1px solid rgba(255, 165, 0, 0.2);
  border-radius: 8px;
}

.resume-viewer .resume-fallback a {
  color: #ffa500;
  text-decoration: none;
  font-weight: 600;
}

.resume-viewer .resume-fallback a:hover {
  color: #ff8c00;
  text-shadow: 0 1px 2px rgba(255, 165, 0, 0.3);
}

/* Mobile styles for collapsible resume */
@media (max-width: 768px) {
  .resume-toggle {
    padding: 15px 20px;
    font-size: 1rem;
  }
  
  .resume-content.expanded {
    max-height: 450px;
  }
  
  .resume-viewer {
    padding: 15px;
  }
  
  .resume-viewer embed {
    height: 350px;
  }
}
