/* --- Hide Scrollbar Completely but Keep Scrolling Enabled --- */
::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  overflow-x: visible;
  overflow-y: visible;
}

/* --- Master Global Screen Override --- */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: inherit;
}

main, header, section, footer {
  overflow-x: hidden;
}

.main-content {
    width: 100%;
    margin: 0;
    padding: 0;
}

main, .main-wrapper, .container-fluid {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.about-section,
.skills-section,
.scroll-projects-section,
#projects-section {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  left: 0 !important;
  right: 0 !important;
}

/* --- Hero Section --- */
.hero-section {
  background-color: #e62552;
  height: 80vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
  padding-top: 1vh;
  overflow: hidden;
}

.arch-container {
  width: 100%;
  max-width: 1150px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-title {
  font-family: 'Paytone One', sans-serif;
  fill: #fcd5ce;
  font-size: 110px;
  letter-spacing: 6px;
  text-transform: uppercase;
  font-weight: 900;
}

.slideshow-container {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 650px;
  height: 75%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  overflow: hidden;
}

.slide {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-details {
  position: absolute;
  bottom: 35px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 8vw;
  box-sizing: border-box;
  z-index: 3;
  pointer-events: none;
}

.detail-text {
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.95;
  white-space: nowrap;
  display: inline-block;
}

/* --- About Me Section & Notebook Cards --- */
.about-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 5%;
  text-align: center;
}

.about-heading {
  font-family: 'Paytone One', sans-serif;
  color: #e62552;
  font-size: 40px;
  letter-spacing: 3px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  justify-content: center;
}

.notebook-card {
  background-color: #fffdfa;
  background-image: repeating-linear-gradient(#fffdfa 0px, #fffdfa 29px, #e2eafc 30px);
  border: 4px dashed #e62552;
  border-radius: 12px;
  padding: 35px 25px;
  position: relative;
  box-shadow: 0 10px 25px rgba(230, 37, 82, 0.08);
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}





.notebook-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(83, 3, 3, 0.2);
  border: 5px solid #b11549;
}

.bow {
  position: absolute;
  font-size: 24px;
  z-index: 2;
  user-select: none;
}
.bow-tl { top: -12px; left: -10px; transform: rotate(-15deg); }
.bow-tr { top: -12px; right: -10px; transform: rotate(15deg); }
.bow-bl { bottom: -12px; left: -10px; transform: rotate(-15deg); }
.bow-br { bottom: -12px; right: -10px; transform: rotate(15deg); }

.heart {
  position: absolute;
  font-size: 11px;
  color: #e62552;
  opacity: 0.85;
}
.heart-1 { top: 15px; left: 35px; }
.heart-2 { bottom: 15px; right: 35px; }

.notebook-content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.education-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.education-list li {
  font-family: 'Poppins', sans-serif;
  color: #2b2b2b;
  font-size: 14px;
  line-height: 30px;
  font-weight: 500;
}

.grade {
  color: #e62552;
  font-weight: 600;
  margin-left: 5px;
}

/* --- Infinite Scrolling Skills Section --- */
.skills-section {
  background-color: #fcd5ce;
  padding: 80px 0;
  margin-top: 60px;
  text-align: center;
  overflow: hidden;
  width: 100%;
  position: relative;
}

.skills-heading {
  font-family: 'Paytone One', sans-serif;
  color: #e62552;
  font-size: 40px;
  letter-spacing: 3px;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.marquee-container {
  width: 100%;
  display: flex;
  overflow: hidden;
  user-select: none;
  position: relative;
  padding: 15px 0;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #fcd5ce, transparent);
}
.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #fcd5ce, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-marquee 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  padding-right: 20px;
}


/* --- Skill Pill Flex Alignment --- */
.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #ffffff;
  color: #c41111; /* Dark neutral text color for better contrast */
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow:  0px 8px 20px rgba(230, 37, 82, 0.08);
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: grab;
  border: solid 2px #e62552;
  will-change: transform;
}

.skill-pill i {
  font-size: 1.2rem;
}

/* --- Natural Brand Colors for Icons --- */
.skill-pill .fa-code { color: #00599C; }         /* C++ Blue */
.skill-pill .fa-python { color: #3776AB; }       /* Python Blue */
.skill-pill .fa-js { color: #F7DF1E; }           /* JavaScript Yellow */
.skill-pill .fa-html5 { color: #E34F26; }        /* HTML5 Orange */
.skill-pill .fa-cubes { color: #9B59B6; }        /* OOP Purple */
.skill-pill .fa-github { color: #181717; }       /* GitHub Dark */
.skill-pill .fa-file-excel { color: #1D6F42; }   /* MS Excel Green */
.skill-pill .fa-file-word { color: #185ABD; }    /* MS Word Blue */
.skill-pill .fa-comments { color: #e62552; }     /* Soft Pink accent for Communication */


.skill-pill:active { cursor: grabbing; }
.skill-pill:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 25px rgba(230, 37, 82, 0.15);
}

@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Container Background Design --- */
#projects-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #e62552;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 4rem 1rem;
  box-sizing: border-box;
  margin-top: 80px;
}

.viewport-3d-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Vintage Envelope Design --- */
.vintage-envelope {
  position: relative;
  width: 360px;
  height: 230px;
  background-color: #fbfbf9;
  border-radius: 0.75rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 40;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.4s ease;
}

.envelope-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.envelope-lines::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 50%;
  border-bottom: 2px solid rgba(0, 0, 0, 0.04);
  background: linear-gradient(135deg, transparent 49%, rgba(0,0,0,0.02) 50%), 
              linear-gradient(225deg, transparent 49%, rgba(0,0,0,0.02) 50%);
}

#heart-trigger {
  position: relative;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  padding: 10px;
  z-index: 50;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#heart-trigger:hover { transform: scale(1.15); }
#heart-trigger:active { transform: scale(0.95); }

.heart-icon {
  position: relative;
  width: 40px;
  height: 40px;
  background-color: #6b0d1e;
  display: inline-block;
  transform: rotate(-45deg);
  border-radius: 3px;
  box-shadow: 0 4px 10px rgba(107, 13, 30, 0.4);
}

.heart-icon::before,
.heart-icon::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  background-color: #6b0d1e;
  border-radius: 50%;
}
.heart-icon::before { top: -20px; left: 0; }
.heart-icon::after { top: 0; left: 20px; }

.envelope-label {
  margin-top: 1.5rem;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #6b0d1e;
  letter-spacing: 0.05em;
  opacity: 0.8;
  text-align: center;
}

/* --- Project Cards Container & Base Layout --- */
#star-burst-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 30;
}

.burst-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 280px;
  height: 190px;
  background: linear-gradient(to bottom right, #ffffff, #fdf2f8);
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: 1px solid #fbcfe8;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -50%) scale(0.2);
  transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.vintage-envelope.is-open ~ #star-burst-container .burst-card {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.card-badge {
  align-self: flex-start;
  padding: 0.25rem 0.65rem;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}
.badge-cpp { background-color: #e62552; }
.badge-py { background-color: #7c3aed; }
.badge-web { background-color: #2563eb; }

.card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1f2937;
  margin: 0.4rem 0 0.2rem 0;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.75rem;
  color: #6b7280;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-arrow {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e62552;
  text-align: right;
  transition: transform 0.2s ease;
  margin-top: auto;
  padding-top: 0.25rem;
}

.burst-card:hover {
  box-shadow: 0 15px 35px rgba(230, 37, 82, 0.2);
  border-color: #e62552;
}
.burst-card:hover .card-arrow {
  transform: translateX(3px);
}

/* Custom Style for GitHub Command Links below Tech Cards */
.github-command-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: #e62552;
    text-decoration: none;
    font-weight: 600;
    font-style: italic;
    transition: color 0.3s ease, transform 0.3s ease;
}

.github-command-link:hover {
    color: #b8173b;
    transform: translateX(3px);
    text-decoration: underline;
}

/* --- Tech Playground Styling --- */
.tech-playground-section {
    width: 100%;
    background-color: #ffffff;
    padding: 60px 5%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.playground-heading {
    text-align: center;
    font-family: 'Paytone One', sans-serif;
    color: #e62552;
    font-size: 2.5rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.playground-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.status-box {
    background: #fff0f3;
    border: 2px dashed #fcd5ce;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(230, 37, 82, 0.05);
}

.box-future {
    background: #fff8f6;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.status-header h3 {
    font-size: 1.4rem;
    color: #b8173b;
    margin: 0;
    font-weight: 600;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}
.dot-green { background-color: #2ec4b6; }
.dot-orange { background-color: #ff9f1c; }

.status-subtext {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 25px;
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tech-card {
    background: #ffffff;
    border: 1px solid #fcd5ce;
    border-radius: 12px;
    padding: 15px 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tech-card:hover {
    transform: translateX(5px);
    border-color: #e62552;
}

.special-card {
    border: 2px solid #e62552;
    background: linear-gradient(135deg, #ffffff 0%, #fff0f3 100%);
}

.tech-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-name {
    font-weight: 600;
    color: #333;
    font-size: 1rem;
}

.status-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.badge-expert { background: #e62552; color: #fff; }
.badge-done { background: #ffe5ec; color: #e62552; }
.badge-started { background: #ff9f1c; color: #fff; }
.badge-next { background: #e2e8f0; color: #4a5568; }

/* --- Vintage Contact Form Section Styling --- */
.contact-letter-section {
    width: 100%;
    background-color: #e62552; 
    padding: 80px 5%;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr; 
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.contact-hook-box {
    color: #ffffff;
}

.contact-heading {
    font-family: 'Paytone One', sans-serif;
    font-size: 2.8rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.15);
}

.contact-hook-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-hook-box .sub-hook {
    font-weight: 600;
    color: #ffe5ec;
}

.linkedin-badge-wrapper {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ln-text {
    font-size: 0.95rem;
    color: #ffe5ec;
    font-style: italic;
    font-weight: 600;
}

.badge-center-container {
    display: flex;
    justify-content: flex-start;
    width: 100%;
}

.linkedin-badge-wrapper .LI-profile-badge {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15) !important;
    border-radius: 15px !important;
    overflow: hidden;
    max-width: 250px; 
}

.letter-container {
    background: #ffffff;
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid #fcd5ce;
    position: relative;
}

.vintage-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: #b8173b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #fcd5ce;
    background-color: #fff0f3; 
    border-radius: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #e62552;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(230, 37, 82, 0.15);
}

.send-letter-btn {
    background: #e62552;
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 15px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(230, 37, 82, 0.3);
    transition: all 0.3s ease;
}

.send-letter-btn:hover {
    background: #b8173b;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(184, 23, 59, 0.4);
}

.success-box-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 10px;
    animation: fadeInForm 0.5s ease forwards;
}

.success-graphic {
    font-size: 3.5rem;
    margin-bottom: 15px;
    animation: floatGraphic 2s infinite alternate;
}

.success-title {
    font-family: 'Paytone One', sans-serif;
    color: #e62552;
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.success-text {
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 8px;
    font-weight: 500;
}

.success-subtext {
    font-size: 0.9rem;
    color: #666666;
    font-style: italic;
}

@keyframes floatGraphic {
    to { transform: translateY(-10px); }
}

@keyframes fadeInForm {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* --- Portfolio Premium Footer Styling --- */
.portfolio-footer {
    background: #fcd5ce;
    color: #ffffff;
    padding: 50px 20px 30px 20px;
    border-top: 3px solid #e62552;
    font-family: 'Poppins', sans-serif;
    margin-top: 60px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 40px;
    align-items: center;
}

.footer-logo {
    color: #e62552;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.footer-logo span {
    color: #e62552;
    font-size: 1rem;
    font-weight: 400;
}

.footer-tagline {
    font-size: 0.9rem;
    color: #e62552;
    line-height: 1.6;
    max-width: 320px;
}

.footer-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.social-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e62552;
}

.social-links-row {
    display: flex;
    gap: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #e62552;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.social-icon:hover {
    transform: translateY(-5px);
    color: #ffffff;
}

.social-icon.github:hover {
    background-color: #333333;
    box-shadow: 0 0 15px rgba(51, 51, 51, 0.6);
}

.social-icon.linkedin:hover {
    background-color: #0077b5;
    box-shadow: 0 0 15px rgba(0, 119, 181, 0.6);
}

.social-icon.gmail:hover {
    background-color: #ea4335;
    box-shadow: 0 0 15px rgba(234, 67, 53, 0.6);
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.copyright-badge {
    font-size: 0.85rem;
    color: white;
    background-color: #e62552;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid whitesmoke;
    display: inline-block;
}

/* --- Sticky Navigation Dock --- */
.nav-sticky-container {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  background: none;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.bubble-dock {
  display: flex;
  gap: 15px;
  background: #e62552; 
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px 0 rgba(230, 37, 82, 0.4); 
  transition: all 0.3s ease;
}

.dock-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #e62552; 
  font-size: 1.2rem;
  text-decoration: none;
  background: #ffffff; 
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), background 0.3s;
}

.dock-item:hover {
  transform: scale(1.25) translateY(5px); 
  background: #ffffff; 
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
}

.dock-item::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 60px; 
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background: #e62552;
  color: white;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-family: sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}

.dock-item:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

/* --- Standalone Hobbies Section Styling --- */
.hobbies-section {
    margin-top: 60px;
    padding: 0 15px 40px 15px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.section-title {
    font-family: 'Paytone One', sans-serif;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    color: #e62552;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 0px #fff;
}

.hobbies-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
    gap: 15px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hobby-card {
    background-color: #fffdfa;
    border: 2px solid #e62552;
    border-radius: 12px;
    padding: 25px 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.hobby-icon {
    font-size: 2.2rem;
    color: #e62552;
    font-weight: bold;
}

.hobby-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #2b2b2b;
    margin: 0;
}

.hobby-hover-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #e62552;
    font-style: italic;
    margin: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    text-align: center;
}

.hobby-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 18px rgba(230, 37, 82, 0.15);
}

.hobby-card:hover .hobby-hover-text {
    opacity: 1;
    max-height: 40px;
    margin-top: 4px;
}

/* --- Media Queries --- */
@media (min-width: 900px) {
  .vintage-envelope.is-open ~ #star-burst-container .card-pos-1 { transform: translate(-170%, -140%) scale(1); }
  .vintage-envelope.is-open ~ #star-burst-container .card-pos-2 { transform: translate(-50%, -180%) scale(1); }
  .vintage-envelope.is-open ~ #star-burst-container .card-pos-3 { transform: translate(70%, -140%) scale(1); }
  .vintage-envelope.is-open ~ #star-burst-container .card-pos-4 { transform: translate(-170%, 40%) scale(1); }
  .vintage-envelope.is-open ~ #star-burst-container .card-pos-5 { transform: translate(-50%, 80%) scale(1); }
  .vintage-envelope.is-open ~ #star-burst-container .card-pos-6 { transform: translate(70%, 40%) scale(1); }
}

@media (max-width: 1024px) {
  .hero-section { height: 75vh; }
  .slideshow-container { max-width: 520px; height: 78%; }
  .detail-text { font-size: 15px; }
  .hero-details { padding: 0 6vw; }
}

@media screen and (min-width: 1024px) {
    .hobbies-cards-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 899px) {
  #projects-section {
    min-height: auto;
    flex-direction: column;
    padding: 3rem 1rem;
  }
  .viewport-3d-wrapper {
    height: auto;
    flex-direction: column;
    gap: 2rem;
  }
  .vintage-envelope {
    width: 100%;
    max-width: 340px;
    height: 200px;
  }
  #star-burst-container {
    position: relative;
    top: 0; left: 0;
    width: 100%;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    height: auto;
  }
  .burst-card {
    position: relative;
    top: auto; left: auto;
    width: 100%;
    height: auto;
    min-height: 155px;
    transform: translateY(30px) scale(0.95);
    margin: 0;
    display: none;
  }
  .vintage-envelope.is-open ~ #star-burst-container .burst-card {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 850px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .contact-heading {
        font-size: 2.2rem;
        text-align: center;
    }
    .contact-hook-text {
        text-align: center;
    }
    .badge-center-container {
        justify-content: center;
    }
    .linkedin-badge-wrapper {
        text-align: center;
    }
}

@media (max-width: 768px) {
  .hero-title { font-size: 100px; letter-spacing: 4px; }
  .slideshow-container { max-width: 400px; height: 75%; }
  .hero-details { bottom: 25px; padding: 0 5vw; }
  .detail-text { font-size: 12px; letter-spacing: 1.5px; }
  .skills-heading { font-size: 32px; margin-bottom: 35px; }
  .skill-pill { font-size: 14px; padding: 10px 20px; }
  .marquee-track { animation-duration: 20s; }
  .playground-container {
      grid-template-columns: 1fr;
  }
  .footer-container {
      grid-template-columns: 1fr;
      text-align: center;
      gap: 35px;
  }
  .footer-tagline {
      margin: 0 auto;
  }
  .footer-right {
      align-items: center;
      text-align: center;
  }
}

@media screen and (min-width: 601px) and (max-width: 1023px) {
    .hobbies-section {
        margin-top: 45px;
    }
    .hobbies-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 600px) {
  .nav-sticky-container {
    padding: 10px 0;
  }
  .bubble-dock {
    padding: 8px 12px;
    gap: 8px;
    width: auto;
    max-width: 95%;
  }
  .dock-item {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }
  .dock-item:hover {
    transform: none;
    background: #ffffff;
    color: #e62552;
  }
  .dock-item::after, 
  .dock-item:hover::after {
    display: none;
  }
}

@media screen and (max-width: 600px) {
    .hobbies-section {
        margin-top: 35px;
        padding: 0 10px 25px 10px;
    }
    .hobbies-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .hobby-card {
        padding: 20px 10px;
    }
    .hobby-icon {
        font-size: 1.8rem;
    }
    .hobby-name {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
  .hero-section { height: 65vh; }
  .hero-title { font-size: 85px; letter-spacing: 2px; }
  .slideshow-container { max-width: 320px; height: 75%; }
  .hero-details { bottom: 20px; padding: 0 5vw; }
  .detail-text { font-size: 9px; letter-spacing: 1px; }
  .about-heading { font-size: 32px; }
  .notebook-card { padding: 30px 18px; }
  .card-text { font-size: 14px; line-height: 30px; }
}

@media screen and (max-width: 360px) {
    .hobbies-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Change body text in About Me card to Poppins */
.card-text {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    line-height: 1.8;
    color: #2b2b2b;
    font-weight: 600;
}

/* Change Education list text to Poppins */
.education-list li {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 30px;
    font-weight: 500;
    color: #2b2b2b;
}

/* Optional: If you also want the card titles ("THE CODER" & "EDUCATION") in Poppins */
.card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #e62552;
}