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

@import url('https://fonts.googleapis.com/css2?family=Meow+Script&family=Sacramento&family=Sansation:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');

.meow-script-regular {
  font-family: "Meow Script", cursive;
  font-weight: 400;
  font-style: normal;
  letter-spacing: 7px;
}
.sacramento-regular {
  font-family: "Sacramento", cursive;
  font-weight: 400;
  font-style: normal;
}
.sansation-light {
  font-family: "Sansation", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.sansation-regular {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.sansation-bold {
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.sansation-light-italic {
  font-family: "Sansation", sans-serif;
  font-weight: 300;
  font-style: italic;
}

.sansation-regular-italic {
  font-family: "Sansation", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.sansation-bold-italic {
  font-family: "Sansation", sans-serif;
  font-weight: 700;
  font-style: italic;
}

/* ==========================================
   PORTFOLIO DESIGN SYSTEM & STYLES
   ========================================== */

:root {
  --bg-color: #FAF9F6;           /* Premium warm off-white/linen */
  --text-primary: #1F2120;       /* Charcoal warm black */
  --text-secondary: #5C625F;     /* Muted grey-green-charcoal */
  --accent-green: #7FA392;       /* Friendly sage green */
  --accent-green-light: #EEF4F1; /* Gentle light green fill */
  --accent-coral: #E29375;       /* Editorial soft terracotta/coral */
  --accent-coral-light: #FDF3EF; /* Gentle light coral fill */
  
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 16px 40px -10px rgba(135, 142, 138, 0.09);
  
  --font-heading: 'Outfit', 'Sansation', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-serif: 'Playfair Display', serif;
  
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-medium: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
}

/* Smooth Scrolling & Basic Reset */
html {
  scroll-behavior: smooth;
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: #E4E2DC;
  border-radius: 5px;
  border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* 3D Canvas Background Container */
.canvas-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none; /* Allows clicks to go through to elements below */
  background: radial-gradient(circle at 70% 30%, #FCFAF7 0%, var(--bg-color) 100%);
  overflow: hidden;
}

#webgl-canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(100px);
  opacity: 0.8;
  transform: translate3d(0, 0, 0); /* Force GPU hardware compositing layer */
  will-change: transform;
}

/* ==========================================
   TYPOGRAPHY & UTILITIES
   ========================================== */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

p {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.text-accent-green { color: var(--accent-green); }
.text-accent-coral { color: var(--accent-coral); }

/* Global Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--accent-green);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9999;
  transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
  display: none; /* Hide on touch screen or fallback */
}

@media (pointer: fine) {
  .custom-cursor {
    display: block;
  }
}

.custom-cursor.hovered {
  width: 45px;
  height: 45px;
  background-color: rgba(127, 163, 146, 0.1);
  border-color: var(--accent-green);
}

/* ==========================================
   NAVIGATION BAR
   ========================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  height: 70px;
  background-color: rgba(250, 249, 246, 0.85);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.03);
}

.navbar .container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-green);
  transition: var(--transition-medium);
}

.nav-links a:hover {
  color: var(--accent-green);
}

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

/* ==========================================
   HERO SECTION
   ========================================= */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}

.hero-content {
  max-width: 750px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--accent-green-light);
  color: var(--accent-green);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
  border: 1px solid rgba(127, 163, 146, 0.15);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  color: var(--text-primary);
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.btn-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-medium);
  border: none;
}

.btn-primary {
  background-color: var(--text-primary);
  color: var(--bg-color);
}

.btn-primary:hover {
  background-color: var(--accent-green);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(127, 163, 146, 0.4);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-primary);
  border: 1.5px solid #E4E2DC;
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.02);
  border-color: var(--text-primary);
  transform: translateY(-2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -10px); }
  60% { transform: translate(-50%, -5px); }
}

/* ==========================================
   ABOUT SECTION
   ========================================= */

.about {
  padding: 8rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-green);
  font-weight: 700;
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.about-image-frame {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; /* Playful shape */
  overflow: hidden;
  border: 4px solid var(--glass-border);
  box-shadow: var(--glass-shadow), 0 24px 48px -15px rgba(0,0,0,0.1);
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.about-image-frame:hover {
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  transform: scale(1.02);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  filter: contrast(1.05) brightness(1.02);
}

.about-image-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.decor-circle {
  position: absolute;
  background-color: var(--accent-coral-light);
  border: 1px solid rgba(226, 147, 117, 0.2);
  border-radius: 50%;
  z-index: -1;
  animation: float-slow 8s ease-in-out infinite;
}

.decor-circle-1 {
  width: 120px;
  height: 120px;
  top: -20px;
  right: -20px;
}

.decor-circle-2 {
  width: 80px;
  height: 80px;
  bottom: -10px;
  left: -20px;
  animation-delay: -3s;
}

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

.about-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.about-info p {
  margin-bottom: 1.5rem;
}

.education-card {
  display: flex;
  gap: 1.5rem;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 20px;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--glass-shadow);
}

.edu-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.edu-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.edu-details .university {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.edu-details .timeline {
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 600;
}

.skills-wrapper {
  margin-top: 2rem;
}

.skills-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-tag {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
  transition: var(--transition-fast);
  box-shadow: 0 4px 10px rgba(0,0,0,0.01);
}

.skill-tag:hover {
  background: var(--accent-green-light);
  border-color: var(--accent-green);
  color: var(--accent-green);
  transform: translateY(-2px);
}

/* ==========================================
   PROJECTS SECTION
   ========================================= */

.projects {
  padding: 8rem 0;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.project-card {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  border-radius: 30px;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-coral));
  opacity: 0;
  transition: var(--transition-fast);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -20px rgba(135, 142, 138, 0.15);
  border-color: rgba(255,255,255,0.7);
}

.project-card:hover::before {
  opacity: 1;
}

.project-header-visual {
  height: 240px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-green-light) 0%, var(--accent-coral-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-visual-element {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  background: white;
  box-shadow: 0 15px 35px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  transition: var(--transition-smooth);
}

.project-card:hover .project-visual-element {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.project-visual-element.unibites {
  color: var(--accent-coral);
  background: white;
}

.project-visual-element.signlink {
  color: var(--accent-green);
  background: white;
}

.project-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.project-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
}

.project-tag.tech-frontend {
  background: #E8F0FE;
  color: #1A73E8;
}

.project-tag.tech-backend {
  background: #FEF3D6;
  color: #B06000;
}

.project-tag.tech-ai {
  background: var(--accent-green-light);
  color: var(--accent-green);
}

.project-card h3 {
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-card p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-features {
  list-style: none;
  margin-bottom: 2rem;
}

.project-features li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-features li i {
  color: var(--accent-green);
  font-size: 1.1rem;
}

.project-link-box {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 1.5rem;
}

.project-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.project-link:hover {
  color: var(--accent-green);
}

.project-link i {
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.project-link:hover i {
  transform: translateX(4px);
}

/* ==========================================
   CONTACT SECTION
   ========================================= */

.contact {
  padding: 8rem 0 10rem 0;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  align-items: flex-start;
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  margin-bottom: 2.5rem;
  max-width: 450px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-method-card {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  padding: 1.25rem 1.5rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-primary);
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-medium);
  cursor: pointer;
}

.contact-method-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.7);
  box-shadow: 0 12px 25px rgba(0,0,0,0.03);
}

.method-details {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.method-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: var(--accent-green-light);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.contact-method-card:nth-child(2) .method-icon {
  background: var(--accent-coral-light);
  color: var(--accent-coral);
}

.method-info span {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
  display: block;
}

.method-info p {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.method-copy-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.contact-method-card:hover .method-copy-btn {
  color: var(--accent-green);
  background: rgba(127, 163, 146, 0.08);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid #E4E2DC;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  text-decoration: none;
  background: transparent;
  transition: var(--transition-medium);
}

.social-btn:hover {
  background: var(--text-primary);
  color: var(--bg-color);
  border-color: var(--text-primary);
  transform: translateY(-3px);
}

.contact-card-box {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  padding: 3rem;
  border-radius: 30px;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: var(--glass-shadow);
}

.contact-form h4 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.75rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.3);
  border: 1.5px solid #E4E2DC;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  font-size: 1rem;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-medium);
}

.form-input:focus {
  border-color: var(--accent-green);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 0 4px rgba(127, 163, 146, 0.1);
}

textarea.form-input {
  min-height: 130px;
  resize: vertical;
}

/* ==========================================
   FOOTER
   ========================================= */

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 2.5rem 0;
  position: relative;
  z-index: 10;
  text-align: center;
  background: rgba(250, 249, 246, 0.4);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.footer p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================
   ANIMATIONS & TRANSITIONS (SCROLL REVEAL)
   ========================================= */

.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-element.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   RESPONSIVE DESIGN MEDIA QUERIES
   ========================================= */

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .about-image-wrapper {
    order: -1;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Add responsive mobile nav trigger if needed, or hide links on very small screens */
  }
  
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .about {
    padding: 5rem 0;
  }
  
  .projects {
    padding: 5rem 0;
  }
  
  .contact {
    padding: 5rem 0 6rem 0;
  }
  
  .contact-card-box {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem; /* Give slightly more width to layouts on small screens */
  }

  .contact-card-box {
    padding: 1.75rem 1.25rem; /* Make form inputs wider */
  }

  .contact-method-card {
    padding: 1rem;
  }

  .method-details {
    gap: 0.75rem;
  }

  .method-info p {
    font-size: 0.85rem;
    word-break: break-all; /* Prevent long email address from overflowing card border */
  }

  .method-icon {
    width: 40px;
    height: 40px;
    font-size: 1.15rem;
  }
  
  .hero h1 {
    font-size: 2.25rem;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
}

/* ==========================================
   INTERACTIVE RESUME SECTION (SCREEN VIEW)
   ========================================== */
.resume {
  padding: 8rem 0;
  position: relative;
}

.resume-actions {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 3.5rem;
}

.resume-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 5rem;
  margin-top: 2rem;
}

@media (max-width: 992px) {
  .resume-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.resume-group {
  margin-bottom: 3.5rem;
}

.resume-group:last-child {
  margin-bottom: 0;
}

.resume-group-title {
  font-size: 1.4rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1.5px solid #E4E2DC;
  padding-bottom: 0.75rem;
}

.resume-group-title i {
  color: var(--accent-green);
}

.resume-timeline {
  position: relative;
  border-left: 2px solid var(--accent-green-light);
  padding-left: 2rem;
  margin-left: 0.5rem;
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-2rem - 6px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--accent-green);
  border: 2px solid var(--bg-color);
  box-shadow: 0 0 0 4px var(--accent-green-light);
  transition: var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  background-color: var(--accent-coral);
  box-shadow: 0 0 0 6px var(--accent-coral-light);
  transform: scale(1.2);
}

.timeline-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.timeline-subtitle {
  font-size: 0.9rem;
  color: var(--accent-green);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.skills-category-box {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.skill-category {
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--glass-shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition-medium);
}

.skill-category:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.7);
}

.category-name {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.resume-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.resume-highlights li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.resume-highlights li i {
  margin-top: 0.25rem;
  font-size: 1.1rem;
  flex-shrink: 0;
}


/* ==========================================
   PRINT-ONLY RESUME STYLES (PDF VIEW)
   ========================================== */
.print-only {
  display: none;
}

@media print {
  /* Set A4 portrait page layout with standard margins */
  @page {
    size: A4 portrait;
    margin: 1.2cm 1.5cm;
  }

  /* Reset layout constraints & styling */
  html, body {
    background: #ffffff !important;
    color: #000000 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 9.5pt !important;
    line-height: 1.35 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  /* Hide screen elements */
  main, header, footer, .canvas-container, .custom-cursor, #navbar, .scroll-indicator, .btn, .resume-actions {
    display: none !important;
  }

  /* Display print resume */
  #print-resume-layout.print-only {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 99999 !important;
  }

  .print-header {
    text-align: center;
    margin-bottom: 1rem;
  }

  .print-header h1 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 20pt !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 0.15rem !important;
    color: #000000 !important;
  }

  .print-subtitle {
    font-size: 10.5pt !important;
    color: #444444 !important;
    margin-bottom: 0.35rem !important;
    font-weight: 500 !important;
  }

  .print-contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    font-size: 8.5pt !important;
    color: #555555 !important;
  }

  .print-contact-info .divider {
    color: #cccccc !important;
  }

  .print-section {
    margin-bottom: 1.1rem;
  }

  .print-section:last-child {
    margin-bottom: 0;
  }

  .print-section h2 {
    font-family: 'Outfit', sans-serif !important;
    font-size: 11pt !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em !important;
    margin-bottom: 0.15rem !important;
    color: #000000 !important;
  }

  .print-divider {
    border: 0 !important;
    height: 1px !important;
    background: #222222 !important;
    margin-bottom: 0.45rem !important;
  }

  .print-item {
    margin-bottom: 0.5rem;
  }

  .print-item:last-child {
    margin-bottom: 0;
  }

  .print-item-header {
    display: flex;
    justify-content: space-between;
    font-size: 9pt !important;
    margin-bottom: 0.1rem !important;
  }

  .print-item-header strong {
    font-weight: 700 !important;
  }

  .print-item-subheader {
    display: flex;
    justify-content: space-between;
    font-size: 8.5pt !important;
    color: #333333 !important;
    font-style: italic !important;
    margin-bottom: 0.25rem !important;
  }

  .print-list {
    list-style-type: disc !important;
    margin-left: 1.2rem !important;
    font-size: 8.5pt !important;
    color: #222222 !important;
  }

  .print-list li {
    margin-bottom: 0.12rem !important;
  }

  .print-skills-grid {
    font-size: 8.5pt !important;
    color: #222222 !important;
  }

  .print-skills-grid p {
    margin-bottom: 0.25rem !important;
    font-size: 8.5pt !important;
    color: #222222 !important;
  }

  .print-skills-grid p strong {
    color: #000000 !important;
  }
}
