/* GENERAL */

/* Font changed to Cambria - system font, no import needed */

/* CSS VARIABLES FOR THEMES */
:root {
  /* Light mode colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f9f9f9;
  --text-primary: #000000;
  --text-secondary: rgb(85, 85, 85);
  --text-tertiary: #111;
  --text-quaternary: #444;
  --text-quinary: #666;
  --border-color: rgb(163, 163, 163);
  --border-light: rgba(0, 0, 0, 0.05);
  --shadow-color: rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] {
  /* Dark mode colors */
  --bg-primary: #000000;
  --bg-secondary: #000000;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --text-tertiary: #e0e0e0;
  --text-quaternary: #c0c0c0;
  --text-quinary: #a0a0a0;
  --border-color: #444444;
  --border-light: rgba(255, 255, 255, 0.1);
  --shadow-color: rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] #profile {
  /* Dark mode: black tones */
  background: linear-gradient(135deg, 
    #000000 0%, 
    #000000 30%,
    #000000 60%,
    #000000 100%);
}

[data-theme="dark"] #profile::before {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201, 184, 154, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(232, 213, 196, 0.12) 0%, transparent 50%);
}

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

body {
  font-family: "Cambria", "Georgia", "Times New Roman", serif;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.3s ease, color 0.3s ease;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Hide default cursor on non-touch devices */
@media (hover: hover) and (pointer: fine) {
  * {
    cursor: none !important;
  }
  
  /* Show custom cursor only on non-touch devices */
  .custom-cursor,
  .cursor-dot {
    display: block;
  }
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {
  .custom-cursor,
  .cursor-dot {
    display: none !important;
  }
}

/* Luxury Custom Cursor */
.custom-cursor {
  position: fixed;
  width: 24px;
  height: 24px;
  border: 1.5px solid var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              border-color 0.3s ease,
              opacity 0.3s ease,
              box-shadow 0.3s ease;
  opacity: 0;
  will-change: transform;
  box-shadow: 0 0 0 0 rgba(212, 165, 116, 0);
  background: transparent;
}

.custom-cursor.active {
  opacity: 0.8;
  box-shadow: 0 0 15px rgba(212, 165, 116, 0.2);
}

.custom-cursor.hover {
  width: 36px;
  height: 36px;
  border-width: 1px;
  background: rgba(212, 165, 116, 0.15);
  backdrop-filter: blur(2px);
  box-shadow: 0 0 20px rgba(212, 165, 116, 0.4);
}

.custom-cursor.click {
  width: 18px;
  height: 18px;
  border-width: 2px;
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.3);
}

/* Cursor Dot - Inner dot that follows more closely */
.cursor-dot {
  position: fixed;
  width: 4px;
  height: 4px;
  background: var(--text-primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: width 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              background 0.3s ease,
              opacity 0.2s ease,
              box-shadow 0.2s ease;
  opacity: 0;
  will-change: transform;
  box-shadow: 0 0 8px rgba(212, 165, 116, 0.3);
}

.cursor-dot.active {
  opacity: 0.9;
}

.cursor-dot.hover {
  width: 5px;
  height: 5px;
  background: rgba(212, 165, 116, 0.9);
  box-shadow: 0 0 12px rgba(212, 165, 116, 0.5);
}

.cursor-dot.click {
  width: 3px;
  height: 3px;
  box-shadow: 0 0 6px rgba(212, 165, 116, 0.4);
}

[data-theme="dark"] .custom-cursor {
  border-color: var(--text-primary);
}

[data-theme="dark"] .cursor-dot {
  background: var(--text-primary);
}

/* Prevent scrolling when menu is open */
body.menu-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}


html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

/* Enhanced smooth scrolling with better performance */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  
  * {
    scroll-behavior: smooth;
  }
  
  /* Smooth scroll for all scrollable containers */
  section {
    scroll-margin-top: 100px;
  }
}

p {
  color: var(--text-secondary);
  line-height: 1.7;
  letter-spacing: 0.01em;
  margin: 0 0 1rem 0;
}

p:last-child {
  margin-bottom: 0;
}

/*TRANSITION*/

a, .btn {
  transition: all 300ms ease;
}

/* HAMBURGER NAV - FLOATING */
#hamburger-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 17vh;
  padding: 0 2rem;
  background-color: transparent;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: 2px solid var(--border-color);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  position: relative;
  z-index: 1003;
  pointer-events: auto;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.theme-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--shadow-color);
}

.theme-icon {
  display: inline-block;
  transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
  transform: rotate(20deg);
}





a {
  color: var(--text-primary);
  text-decoration: none;
  text-decoration-color: white;
}

.logo {
  font-size: 2.5rem;
  font-family: 'Dancing Script', 'Brush Script MT', cursive;
  font-weight: 500;
  background: linear-gradient(135deg, #d4a574 0%, #c9b89a 50%, #b8a082 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
  cursor: default;
}

[data-theme="dark"] .logo {
  background: linear-gradient(135deg, #e8d5c4 0%, #d4c4b0 50%, #c9b89a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}





/* HAMBURGER MENU */

.hamburger-menu {
  position: relative;
  display: inline-block;
  z-index: 1001;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
  z-index: 1002;
  position: relative;
  pointer-events: auto;
}

.hamburger-icon span {
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

/* Full-screen animated overlay - slides from top to bottom */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, 
    #f5f5f5 0%, 
    #e8e8e8 30%,
    #d4d4d4 60%,
    #c9c9c9 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              visibility 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  overflow: hidden;
  backdrop-filter: blur(0px);
}

[data-theme="dark"] .menu-overlay {
  background: #000000;
}

.menu-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  backdrop-filter: blur(10px);
}

/* Full-screen overlay menu */
.menu-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: transparent;
  padding: 2rem;
  list-style: none;
  opacity: 0;
  transform: translateY(-50px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s, 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
  z-index: 1001;
}

.menu-overlay.open .menu-links {
  opacity: 1;
  transform: translateY(0);
}

/* When closing, menu links slide up faster */
.menu-overlay:not(.open) .menu-links {
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s, 
              transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0s;
  transform: translateY(-100px);
}

.menu-links li {
  list-style: none;
  width: 100%;
  max-width: 600px;
  text-align: center;
  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.open .menu-links li {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entrance animation - items appear one at a time */
.menu-overlay.open .menu-links li:nth-child(1) {
  transition-delay: 0.5s;
}

.menu-overlay.open .menu-links li:nth-child(2) {
  transition-delay: 0.9s;
}

.menu-overlay.open .menu-links li:nth-child(3) {
  transition-delay: 1.3s;
}

.menu-overlay.open .menu-links li:nth-child(4) {
  transition-delay: 1.7s;
}

/* Faster exit animation - items slide up quickly when closing */
.menu-overlay:not(.open) .menu-links li {
  transition-delay: 0s;
  transform: translateY(30px);
}

.menu-links a {
  display: inline-block;
  padding: 1.5rem 3rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.menu-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(135deg, #d4a574 0%, #c9b89a 50%, #b8a082 100%);
  transition: width 0.3s ease;
}

[data-theme="dark"] .menu-links a::after {
  background: linear-gradient(135deg, #e8d5c4 0%, #d4c4b0 50%, #c9b89a 100%);
}

.menu-links a:hover {
  color: var(--text-primary);
  transform: scale(1.05);
}

.menu-links a:hover::after {
  width: 100%;
}

/* Social icons in hamburger menu - bottom right */
.menu-socials {
  position: fixed;
  bottom: 3rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  z-index: 1002;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-overlay.open .menu-socials {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 2.1s;
}

.menu-icon {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
  object-fit: contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  filter: brightness(0) saturate(100%);
  opacity: 0.8;
}

/* LinkedIn icon - show original colors */
.menu-icon[src*="linkdein"],
.menu-icon[src*="linkedin"] {
  filter: none;
  opacity: 0.8;
}

.menu-icon:hover {
  transform: scale(1.2);
  opacity: 1;
  filter: brightness(0) saturate(100%);
}

.menu-icon[src*="linkdein"]:hover,
.menu-icon[src*="linkedin"]:hover {
  filter: none;
  opacity: 1;
}

[data-theme="dark"] .menu-icon {
  filter: brightness(0) saturate(100%) invert(100%);
  opacity: 0.8;
}

[data-theme="dark"] .menu-icon[src*="linkdein"],
[data-theme="dark"] .menu-icon[src*="linkedin"] {
  filter: invert(100%);
  opacity: 0.8;
}

[data-theme="dark"] .menu-icon:hover {
  filter: brightness(0) saturate(100%) invert(100%);
  opacity: 1;
}

[data-theme="dark"] .menu-icon[src*="linkdein"]:hover,
[data-theme="dark"] .menu-icon[src*="linkedin"]:hover {
  filter: invert(100%);
  opacity: 1;
}

/* Hide social icons when menu is closing */
.menu-overlay:not(.open) .menu-socials {
  transition-delay: 0s;
  transform: translateX(50px);
}

/* Hamburger icon animation when menu is open */
.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
  background-color: var(--text-primary);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
  background-color: var(--text-primary);
}


/*SECTIONS*/

section {
  padding-top: 4vh;
  height: auto;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
  min-height: fit-content;
}


/*PROFILE SECTION*/

#profile {
  position: relative;
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  overflow: hidden;
  /* Two-tone background: whiteish gray and complementary color */
  background: linear-gradient(135deg, 
    #f5f5f5 0%, 
    #e8e8e8 30%,
    #d4d4d4 60%,
    #c9c9c9 100%);
  background-attachment: fixed;
}

/* Animated background pattern with complementary colors */
#profile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201, 184, 154, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(232, 213, 196, 0.1) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes backgroundShift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-20px, -20px) scale(1.1); }
}

.profile-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.section__pic-container {
  display: flex;
  height: 450px;
  width: 450px;
  flex-shrink: 0;
  position: relative;
}

.profile-pic {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--border-light);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: var(--bg-secondary);
  pointer-events: none;
}

.section_text {
  flex: 1;
  text-align: left;
  max-width: 600px;
}

.section_text p {
  font-weight: 600;
}

.section_text_p1 {
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  line-height: 1.5;
}


.title {
  font-size: 5rem;
  text-align: left;
  color: var(--text-primary);
  transition: color 0.3s ease;
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  font-weight: 400;
  font-family: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  text-transform: capitalize;
  letter-spacing: -0.02em;
}

#socials-container {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.5rem;
  gap: 1rem;
}

/*ICON*/

.icon {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
  object-fit: contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* Social icons - black color */
#socials-container .icon {
  filter: brightness(0) saturate(100%);
  opacity: 1;
}

/* LinkedIn icon - show original colors (already black) */
#socials-container .icon[src*="linkdein"],
#socials-container .icon[src*="linkedin"] {
  filter: none;
  opacity: 1;
}

/*Making social icons pop when hovered*/
.icon:hover {
  transform: scale(1.15);
  filter: brightness(0) saturate(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.icon[src*="linkdein"]:hover,
.icon[src*="linkedin"]:hover {
  filter: none;
  opacity: 0.8;
}

[data-theme="dark"] #socials-container .icon {
  filter: brightness(0) saturate(100%) invert(100%);
  opacity: 1;
}

[data-theme="dark"] #socials-container .icon[src*="linkdein"],
[data-theme="dark"] #socials-container .icon[src*="linkedin"] {
  filter: invert(100%);
  opacity: 1;
}

[data-theme="dark"] .icon:hover {
  filter: brightness(0) saturate(100%) invert(100%);
  opacity: 0.8;
}

[data-theme="dark"] .icon[src*="linkdein"]:hover,
[data-theme="dark"] .icon[src*="linkedin"]:hover {
  filter: invert(100%);
  opacity: 0.8;
}





/*BUTTONS*/

.btn-container {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  margin: 2rem 0;
}

.btn {
  font-weight: 600;
  transition: all 300ms ease;
  padding: 1rem;
  width: 8rem;
  border-radius: 2rem;
}

.btn-color-2 {
  border: var(--border-color) 0.1rem solid;
  background-color: transparent;
  color: var(--text-primary);
}

[data-theme="dark"] .btn-color-2 {
  border: 2px solid var(--text-primary);
}

.btn-color-2:hover {
  cursor: pointer;
  border: var(--text-primary) 0.1rem solid;
  background: linear-gradient(135deg, #d4a574 0%, #c9b89a 50%, #b8a082 100%);
  color: var(--bg-primary);
}

.btn-color-2:hover {
  border: var(--text-primary) 0.1rem solid;
  background: linear-gradient(135deg, #d4a574 0%, #c9b89a 50%, #b8a082 100%);
  color: var(--bg-primary);
  box-shadow: 
    0 0 15px rgba(212, 165, 116, 0.8), /* Theme beige glow */
    0 0 25px rgba(201, 184, 154, 0.6); /* Theme tan glow */
}

[data-theme="dark"] .btn-color-2:hover {
  background: linear-gradient(135deg, #e8d5c4 0%, #d4c4b0 50%, #c9b89a 100%);
  color: var(--bg-primary);
  box-shadow: 
    0 0 15px rgba(232, 213, 196, 0.8), /* Theme light beige glow */
    0 0 25px rgba(212, 196, 176, 0.6); /* Theme light tan glow */
}

.btn-container {
  gap: 1rem;
}



/*-------------------------------------------------------EXPERIANCE SECTION-------------------------------------------------------*/
#experience {
  position: relative;
  /* Subtle background that complements hero and about sections */
  background: linear-gradient(135deg, 
    #e8e8e8 0%, 
    #e4e4e4 25%,
    #e0e0e0 50%,
    #dcdcdc 75%,
    #d8d8d8 100%);
  transition: background 0.3s ease;
  overflow: hidden;
  padding-bottom: 0;
  margin-bottom: 0;
  margin-top: 0;
  padding-top: 4vh;
}

[data-theme="dark"] #experience {
  /* Dark mode black background */
  background: linear-gradient(135deg, 
    #000000 0%, 
    #000000 25%,
    #000000 50%,
    #000000 75%,
    #000000 100%);
}

/* Experience container with line layout */
.experience-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  margin-left: 8rem;
  padding-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.experience-left {
  display: flex;
  flex-direction: column;
  position: relative;
}

.experience-line {
  position: relative;
  width: 2px;
  height: 1000px;
  min-height: 1000px;
  background: linear-gradient(180deg, 
    var(--text-primary) 0%, 
    rgba(100, 149, 237, 0.6) 50%,
    transparent 100%);
  margin-top: 0;
  margin-left: 3rem;
}

.experience-line-circle {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--text-primary);
  border: 3px solid rgba(100, 149, 237, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(100, 149, 237, 0.5);
}

.experience-right {
  display: flex;
  flex-direction: column;
  padding-top: 1rem;
}

/* Container holding all experience cards */
.experience-details-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0;
  padding-bottom: 2rem;
  margin-top: 8rem;
  align-items: center;
  width: 100%;
  justify-content: center;
}

/* Individual experience card */
.experience-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background-color: rgba(240, 240, 240, 0.6);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  width: 100%;
  max-width: 1600px;
  gap: 1.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: none;
  cursor: default;
  position: relative;
  margin: 0 auto;
}

[data-theme="dark"] .experience-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Static - no hover effects */
.experience-card:hover {
  /* No hover effects - static design */
}

/* Logo container - overlapping top-left corner */
.logo-container {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(240, 240, 240, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -11px;
  left: -11px;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .logo-container {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* Company logos */
.company-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Text content inside the card */
.experience-content {
  padding-left: 3.5rem; /* Space for overlapping logo */
  padding-top: 0;
  margin-top: 0;
  padding-bottom: 0;
  margin-bottom: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.experience-content h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
  padding: 0;
  color: var(--text-tertiary);
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-weight: 500;
}

/* Hide mobile break on desktop */
.mobile-break {
  display: none;
}

.company-name {
  font-weight: normal;
}

.experience-role {
  font-size: 0.95rem;
  color: var(--text-quaternary);
  margin: 0.3rem 0;
  line-height: 1.4;
}

/* Keep education degree names on one line */
#education .experience-role {
  white-space: nowrap;
}

/* Right side - dates */
.experience-date-wrapper {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  padding: 0;
  margin: 0;
  align-self: flex-start;
}

.experience-date {
  font-size: 0.9rem;
  color: var(--text-quinary);
  margin: 0;
  padding: 0;
  white-space: nowrap;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.experience-points {
  list-style-type: none;
  padding-left: 0;
  font-size: 0.95rem;
  color: var(--text-quaternary);
  line-height: 1.7;
  margin: 0.5rem 0 0 0;
  letter-spacing: 0.01em;
}

/* Concentration Reveal with Pointer */
.concentration-list-item {
  list-style: none;
  position: relative;
  padding-left: 0;
  margin-left: -1.2rem;
}

.concentration-toggle {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  position: relative;
  gap: 0.5rem;
}

.pointer-icon {
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid var(--text-quaternary);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-right: 0.2rem;
}

[data-theme="dark"] .pointer-icon {
  border-top-color: var(--text-quaternary);
}

.concentration-toggle.expanded .pointer-icon {
  transform: rotate(180deg);
}

.concentration-content {
  display: inline-block;
  opacity: 0;
  visibility: hidden;
  max-width: 0;
  overflow: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, max-width 0.4s ease;
  white-space: nowrap;
  color: var(--text-quaternary);
}

.concentration-toggle.expanded .concentration-content {
  opacity: 1;
  visibility: visible;
  max-width: 500px;
}

.concentration-toggle:hover .pointer-icon {
  transform: scale(1.2);
}

.concentration-toggle.expanded:hover .pointer-icon {
  transform: rotate(180deg) scale(1.2);
}

.concentration-toggle:active .pointer-icon {
  transform: scale(0.9);
}

.concentration-toggle.expanded:active .pointer-icon {
  transform: rotate(180deg) scale(0.9);
}







/* ABOUT ME SECTION */
#about {
  position: relative;
  min-height: auto;
  padding-top: 4vh;
  padding-left: 2rem;
  padding-right: 2rem;
  box-sizing: border-box;
  min-height: fit-content;
  /* Smooth color transition from hero section */
  background: linear-gradient(135deg, 
    #e8e8e8 0%, 
    #e0e0e0 25%,
    #d8d8d8 50%,
    #d0d0d0 75%,
    #c8c8c8 100%);
  background-attachment: fixed;
  transition: background 0.3s ease;
  overflow: hidden;
}

/* Decorative background element */
#about::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 165, 116, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.about-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  margin-left: 8rem;
  padding-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.about-left {
  display: flex;
  flex-direction: column;
  position: relative;
}

.about-line {
  position: relative;
  width: 2px;
  height: 400px;
  min-height: 400px;
  background: linear-gradient(180deg, 
    var(--text-primary) 0%, 
    rgba(212, 165, 116, 0.6) 50%,
    transparent 100%);
  margin-top: 0;
  margin-left: 3rem;
}

#about .title {
  text-align: left;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

#about .section_text_p1 {
  text-align: left;
  margin-bottom: 0.75rem;
}

#experience .title,
#education .title {
  text-align: left;
}

#experience .section_text_p1,
#education .section_text_p1 {
  text-align: left;
}

.line-circle {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--text-primary);
  border: 3px solid rgba(212, 165, 116, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}

#about .about-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--text-secondary);
  text-align: left;
  margin: 0 0 1rem 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: normal;
  letter-spacing: 0.01em;
}

#about .about-description:hover {
  transform: none;
  border: none;
  box-shadow: none;
}

[data-theme="dark"] #about {
  background: linear-gradient(135deg, 
    #000000 0%, 
    #000000 25%,
    #000000 50%,
    #000000 75%,
    #000000 100%);
}

[data-theme="dark"] #about::before {
  background: radial-gradient(circle, rgba(212, 165, 116, 0.25) 0%, transparent 70%);
}



/*------------------------------------------------------------- EDUCATION SECTION ----------------------------------------------------------------------------------------*/

#education {
  position: relative;
  /* Static background matching hero and about sections */
  background: linear-gradient(135deg, 
    #d8d8d8 0%, 
    #dcdcdc 25%,
    #e0e0e0 50%,
    #e4e4e4 75%,
    #e8e8e8 100%);
  transition: background 0.3s ease;
  overflow: hidden;
  margin-top: 0;
  padding-top: 4vh;
  padding-bottom: 4rem;
  margin-bottom: 0;
}

/* Static background pattern */
#education::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201, 184, 154, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(232, 213, 196, 0.1) 0%, transparent 50%);
  z-index: 0;
}

[data-theme="dark"] #education {
  background: linear-gradient(135deg, 
    #000000 0%, 
    #000000 25%,
    #000000 50%,
    #000000 75%,
    #000000 100%);
}

[data-theme="dark"] #education::before {
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(212, 165, 116, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(201, 184, 154, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 50% 20%, rgba(232, 213, 196, 0.15) 0%, transparent 50%);
}

/* Education container with line layout */
.education-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-top: 3rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.education-left {
  display: flex;
  flex-direction: column;
  position: relative;
}

.education-line {
  position: relative;
  width: 2px;
  height: 900px;
  min-height: 900px;
  background: linear-gradient(180deg, 
    var(--text-primary) 0%, 
    rgba(212, 165, 116, 0.6) 50%,
    transparent 100%);
  margin-top: 0;
  margin-left: 3rem;
}

.education-line-circle {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background: var(--text-primary);
  border: 3px solid rgba(212, 165, 116, 0.8);
  border-radius: 50%;
  box-shadow: 0 0 15px rgba(212, 165, 116, 0.5);
}

.education-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 1rem;
}


.education-details-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding-top: 0;
  padding-bottom: 2rem;
  margin-top: 8rem;
  align-items: center;
  width: 100%;
  justify-content: center;
  position: relative;
  z-index: 1;
}


/* FOOTER SECTION */
footer {
  background: linear-gradient(135deg, 
    #e8e8e8 0%, 
    #e4e4e4 25%,
    #e0e0e0 50%,
    #dcdcdc 75%,
    #d8d8d8 100%);
  padding: 3.5rem 2rem;
  border-top: 1px solid var(--border-light);
  transition: background 0.3s ease, border-color 0.3s ease;
  margin-top: 0;
}

[data-theme="dark"] footer {
  background: linear-gradient(135deg, 
    #0a0a0a 0%, 
    #0d0d0d 25%,
    #0f0f0f 50%,
    #0d0d0d 75%,
    #0a0a0a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-socials {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.footer-icon {
  cursor: pointer;
  height: 2rem;
  width: 2rem;
  object-fit: contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  filter: brightness(0) saturate(100%);
  opacity: 1;
}

/* LinkedIn icon in footer - show original colors (already black) */
.footer-icon[src*="linkdein"],
.footer-icon[src*="linkedin"] {
  filter: none;
  opacity: 1;
}

.footer-icon:hover {
  transform: scale(1.15);
  filter: brightness(0) saturate(100%);
  opacity: 0.8;
}

.footer-icon[src*="linkdein"]:hover,
.footer-icon[src*="linkedin"]:hover {
  filter: none;
  opacity: 0.8;
}

[data-theme="dark"] .footer-icon {
  filter: brightness(0) saturate(100%) invert(100%);
  opacity: 1;
}

[data-theme="dark"] .footer-icon[src*="linkdein"],
[data-theme="dark"] .footer-icon[src*="linkedin"] {
  filter: invert(100%);
  opacity: 1;
}

[data-theme="dark"] .footer-icon:hover {
  filter: brightness(0) saturate(100%) invert(100%);
  opacity: 0.8;
}

[data-theme="dark"] .footer-icon[src*="linkdein"]:hover,
[data-theme="dark"] .footer-icon[src*="linkedin"]:hover {
  filter: invert(100%);
  opacity: 0.8;
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: center;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.footer-credit {
  color: var(--text-secondary);
  font-size: 1rem;
  text-align: right;
  line-height: 1.6;
  letter-spacing: 0.01em;
}


/* Smooth scroll for anchor links */
a[href^="#"] {
  scroll-behavior: smooth;
}

.footer-credit strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Scroll-Triggered Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation delays for cards */
.experience-card.scroll-animate {
  transition-delay: 0s;
}

.experience-card.scroll-animate.animate:nth-child(1) {
  transition-delay: 0.1s;
}

.experience-card.scroll-animate.animate:nth-child(2) {
  transition-delay: 0.2s;
}

.experience-card.scroll-animate.animate:nth-child(3) {
  transition-delay: 0.3s;
}

.experience-card.scroll-animate.animate:nth-child(4) {
  transition-delay: 0.4s;
}

/* Section titles animation */
#about .section_text_p1.scroll-animate,
#experience .section_text_p1.scroll-animate,
#education .section_text_p1.scroll-animate {
  transition-delay: 0s;
}

#about .title.scroll-animate,
#experience .title.scroll-animate,
#education .title.scroll-animate {
  transition-delay: 0.1s;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #d4a574 0%, #c9b89a 50%, #b8a082 100%);
  border: 2px solid rgba(212, 165, 116, 0.3);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  box-shadow: 0 4px 20px rgba(212, 165, 116, 0.3);
  backdrop-filter: blur(10px);
}

[data-theme="dark"] .back-to-top {
  background: linear-gradient(135deg, #e8d5c4 0%, #d4c4b0 50%, #c9b89a 100%);
  border: 2px solid rgba(232, 213, 196, 0.3);
  color: #000000;
  box-shadow: 0 4px 20px rgba(232, 213, 196, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 30px rgba(212, 165, 116, 0.5);
  background: linear-gradient(135deg, #e0b080 0%, #d4a574 50%, #c9b89a 100%);
}

[data-theme="dark"] .back-to-top:hover {
  background: linear-gradient(135deg, #f0e5d4 0%, #e8d5c4 50%, #d4c4b0 100%);
  box-shadow: 0 8px 30px rgba(232, 213, 196, 0.5);
}

.back-to-top:active {
  transform: translateY(-3px) scale(0.95);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.back-to-top:hover svg {
  transform: translateY(-2px);
}

/* Mobile adjustments for back to top button */
@media screen and (max-width: 600px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }
  
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}

/* About description animation */
.about-description.scroll-animate {
  transition-delay: 0s;
}

.about-description.scroll-animate.animate:nth-of-type(1) {
  transition-delay: 0.2s;
}

.about-description.scroll-animate.animate:nth-of-type(2) {
  transition-delay: 0.3s;
}