/* Resume content styling */
#resume, #social, #toolkit, #schedule {
  position: relative;
  z-index: 1;
  display: none;
  padding: 40px 20px;
  background: linear-gradient(
      rgba(241, 243, 245, 0.9),
      rgba(241, 243, 245, 0.9)
    ),
    url("https://www.transparenttextures.com/patterns/paper-fibers.png");
  min-height: 100vh;
  overflow-y: auto;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
  
#resume.visible, #social.visible, #toolkit.visible, #schedule.visible {
  display: block;
  opacity: 1;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-top: 1px solid #000;
}
  
.resume-heading {
  font-size: 2.8em;
  text-align: center;
  color: #2c3e50;
  margin-bottom: 10px;
}
  
.contact-info {
  text-align: center;
  margin-bottom: 20px;
  color: #34495e;
}
  
h2 {
  font-variant: small-caps;
  color: #2c3e50;
  font-size: 1.4em;
  margin-top: 20px;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid #000;
}
  
.section {
  padding: 15px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
  
.section:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
  
.subheading {
  display: flex;
  justify-content: space-between;
  font-size: 1.05em;
  margin-bottom: 8px;
}
  
.subheading-title {
  font-weight: bold;
  color: #3498db;
}
  
.subsubheading {
  font-style: italic;
  font-size: 0.95em;
  color: #34495e;
}
  
ul {
  padding-left: 20px;
  margin: 0;
  list-style-type: disc;
}
  
li {
  font-size: 1em;
  color: #34495e;
  line-height: 1.5;
  margin-bottom: 8px;
}
  
ul li::marker {
  font-size: 0.6em;
}
  
.highlight {
  color: #3498db;
  font-weight: bold;
}
  
a.download-link {
  color: #3498db;
  text-decoration: none;
  font-size: 0.95em;
  margin-top: 8px;
  display: inline-block;
}
  
a.download-link:hover {
  text-decoration: underline;
}
  
.email + .email {
  margin-left: 20px;
}

/* Theme toggle button styling */
#toggle-btn, #toggle-btn-social, #toggle-btn-toolkit, #toggle-btn-schedule {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  transition: all 0.4s ease;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #3498db, #2980b9);
  border: none;
}

#toggle-btn:hover, #toggle-btn-social:hover, #toggle-btn-toolkit:hover, #toggle-btn-schedule:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

#toggle-btn:active, #toggle-btn-social:active, #toggle-btn-toolkit:active, #toggle-btn-schedule:active {
  transform: translateY(1px);
}

#toggle-btn::before, #toggle-btn-social::before, #toggle-btn-toolkit::before, #toggle-btn-schedule::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #2980b9, #3498db);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 50%;
}

#toggle-btn:hover::before, #toggle-btn-social:hover::before, #toggle-btn-toolkit:hover::before, #toggle-btn-schedule:hover::before {
  opacity: 1;
}

#toggle-btn span, #toggle-btn-social span, #toggle-btn-toolkit span, #toggle-btn-schedule span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Arial', sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
  padding: 0;
}

/* Clock widget styling */
#clock, #clock-social, #clock-toolkit, #clock-schedule {
  position: fixed;
  top: 20px;
  left: 70px; /* Space for clock toggle button */
  background: rgba(52, 152, 219, 0.9);
  color: white;
  padding: 12px 18px;
  border-radius: 25px;
  font-size: 1em;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  transition: all 0.4s ease;
  font-family: 'Arial', sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
}

#clock:hover, #clock-social:hover, #clock-toolkit:hover, #clock-schedule:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Clock toggle button */
.clock-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(52, 152, 219, 0.9);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
  transition: all 0.4s ease;
}
  
.clock-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}
  
/* Clock collapsed state */
#clock.collapsed, #clock-social.collapsed, #clock-toolkit.collapsed, #clock-schedule.collapsed {
  transform: translateX(-150%);
  opacity: 0;
  pointer-events: none;
}

/* Back button styling */
.back-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #3498db;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(52, 152, 219, 0.4);
  transition: all 0.3s ease;
  z-index: 100;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, background 0.3s ease;
}

.back-btn.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-btn:hover {
  transform: translateY(-5px) scale(1.1);
  background: #2980b9;
}