:root {
  --color-card-bg: #f4f4f4;
  --color-hover-accent: #ff9100;
  --color-border-divider: #d8d8d8;
  --radius-large: 36px;
  --radius-medium: 24px;
  --radius-small: 16px;
  --transition-main: 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-color: 30deg 3% 60%;
  --shadow-elevation-low:
    0.3px 0.5px 4px hsl(var(--shadow-color) / 0.34),
    0.4px 0.8px 1px -1.2px hsl(var(--shadow-color) / 0.34),
    1px 2px 2.5px -2.5px hsl(var(--shadow-color) / 0.34);
  --shadow-elevation-medium:
    0.3px 0.5px 4px hsl(var(--shadow-color) / 0.36),
    0.8px 1.6px 2px -0.8px hsl(var(--shadow-color) / 0.36),
    2.1px 4.1px 5.2px -1.7px hsl(var(--shadow-color) / 0.36),
    5px 10px 12.6px -2.5px hsl(var(--shadow-color) / 0.36);
  --shadow-elevation-high:
    0.3px 0.5px 4px hsl(var(--shadow-color) / 0.34),
    1.5px 2.9px 3.7px -0.4px hsl(var(--shadow-color) / 0.34),
    2.7px 5.4px 6.8px -4px hsl(var(--shadow-color) / 0.34),
    4.5px 8.9px 11.2px -1.1px hsl(var(--shadow-color) / 0.34),
    7.1px 14.3px 18px -1.4px hsl(var(--shadow-color) / 0.34),
    11.2px 22.3px 28.1px -1.8px hsl(var(--shadow-color) / 0.34),
    17px 33.9px 42.7px -2.1px hsl(var(--shadow-color) / 0.34),
    25px 50px 62.9px -2.5px hsl(var(--shadow-color) / 0.34);

  /* Color Variables */
  --color-white: #fff;
  --color-accent: #ff9900;
  --color-light-background: #f7f6f5;
  --color-dark-text: #333;
  --color-medium-text: #595959;

  /* Font Variables */
  --font-sans-serif: DM Sans, sans-serif;

  /* Hero gradient variables */
  --hero-grad-1: #fff9f0;
  --hero-grad-2: #fff5e6;
  --hero-grad-3: #fff0dc;
  --hero-grad-4: #ffebd2;
  --hero-grad-5: #ffe6c8;
  --hero-grad-6: #ffe1be;
  --hero-anim-duration: 8s;

  /* Ambient blob variables */
  --hero-blob-1a: rgba(255, 200, 160, 0.15);
  --hero-blob-1b: rgba(255, 200, 160, 0.04);
  --hero-blob-2a: rgba(255, 180, 140, 0.10);
  --hero-blob-2b: rgba(255, 180, 140, 0.03);
  --hero-blob-filter: blur(28px) saturate(80%) brightness(1.3);
  --hero-blob-opacity: 0.4;
}

/* Mobile variable overrides for hero effect */
@media (max-width: 768px) {
  :root {
    --hero-blob-opacity: 0.3;
    --hero-blob-filter: blur(24px) saturate(40%) brightness(1.2);
  }
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
}

/* Font styles */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
li,
ul,
a {
  font-family: var(--font-sans-serif);
  -webkit-font-smoothing: antialiased; /* Adjust font smoothing */
  -moz-osx-font-smoothing: grayscale;
}

input,
textarea,
button,
select,
a {
  -webkit-tap-highlight-color: transparent;
}

/* Body styles */

body {
  background: var(--color-white);
  margin: 0em 8vw;
  line-break: auto;
  color: var(--color-dark-text);


  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

/* Scrollbar styles */

/* width */
*::-webkit-scrollbar,
*::-webkit-scrollbar-thumb {
  width: 26px;
  border-radius: 13px;
  background-clip: padding-box;
  border: 10px solid transparent;
}

*::-webkit-scrollbar-thumb {
  /* box-shadow: inset 0 0 0 10px; */
  box-shadow: inset lightgray 0 0 0 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  box-shadow: inset var(--color-accent) 0 0 0 10px;
}

iframe::-webkit-scrollbar {
  width: 0px;
}

iframe::-webkit-scrollbar-thumb {
  box-shadow: inset lightgray 0 0 0 10px;
  border-radius: 13px;
  background-clip: padding-box;
  border: 10px solid transparent;
}

.material-symbols-outlined {
  display: inline-block;
  font-weight: normal;
  font-style: normal;
  font-size: 24px; /* Preferred icon size */
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  /* Support for all WebKit browsers. */
  -webkit-font-smoothing: antialiased;
  /* Support for Safari and Chrome. */
  text-rendering: optimizeLegibility;
  /* Support for Firefox. */
  -moz-osx-font-smoothing: grayscale;
  /* Support for IE. */
  font-feature-settings: "liga";
  /* Variation settings */
  font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24;
}

i {
  color: var(--color-dark-text);
  font-size: 1.5em;
}

/* Media Queries */
@media (min-width: 1600px) {
  body {
    margin: 0 12vw;
  }
}

@media (max-width: 1200px) {
  body {
    margin: 0 6vw;
  }
}

@media (max-width: 768px) {
  .secondary-button {
    font-size: 0.9rem;
    padding: 0.4em 0.8em;
    height: 2.4rem;
  }
}

/* Hero styles */

@keyframes gradientAnimation {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.hero {
  display: flex;
  flex-direction: column;
  overflow: visible;
  text-overflow: ellipsis;
  font-size: clamp(2em, 6vw, 6rem);
  flex-grow: 1;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-large);
  border: none;
  box-shadow: 0 4px 64px 0 rgba(255, 187, 0, 0.1),
  inset 0 2px 8px 0 rgba(255, 190, 93, 0.1),
  inset 0 16px 64px 0 rgba(255, 255, 255, 0.1);
  padding: 16vh 8vw;
  width: 100%;
  min-height: 80vh;
  max-width: 90vw;
  box-sizing: border-box;
  overflow: hidden; /* contain visual effects */
  position: relative; /* base for pseudo-elements */
  
  /* Updated background with radial gradient */
  background: radial-gradient(
    circle at center,
    var(--hero-grad-1) 0%,
    var(--hero-grad-2) 20%,
    var(--hero-grad-3) 40%,
    var(--hero-grad-4) 60%,
    var(--hero-grad-5) 80%,
    var(--hero-grad-6) 100%
  );
  
  background-clip: padding-box;
  
  /* Animation properties */
  background-size: 200% 200%;
  animation: gradientAnimation var(--hero-anim-duration) ease-in-out infinite;
}

/* Ambient animated blobs for depth */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(45% 45% at 65% 35%, var(--hero-blob-1a), var(--hero-blob-1b) 60%, rgba(255, 153, 0, 0) 70%),
              radial-gradient(40% 40% at 25% 75%, var(--hero-blob-2a), var(--hero-blob-2b) 60%, rgba(255, 140, 66, 0) 70%);
  filter: var(--hero-blob-filter);
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  animation: floatBlobA 22s ease-in-out infinite;
  mix-blend-mode: multiply;
  opacity: var(--hero-blob-opacity);
}

@keyframes floatBlobA {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  25% { transform: translate3d(2%, -2%, 0) scale(1.03); }
  50% { transform: translate3d(-2%, 2%, 0) scale(0.98); }
  75% { transform: translate3d(1%, -1%, 0) scale(1.02); }
  100% { transform: translate3d(0, 0, 0) scale(1); }
}

#hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6em;
  padding: 6vw 4vw;
  max-width: 1000px;
  width: 100%;
  border-radius: var(--radius-large);
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border: 0;
  box-shadow: none;
  position: relative;
  z-index: 1;
}

/* Fallback when backdrop-filter is unsupported */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  #hero-content { background: transparent; }
}

.hero-text {
  margin: 0em;
  line-height: 100%;
  text-align: center;
  animation-delay: 0.2s;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 10px 30px rgba(255, 153, 0, 0.15);
}

/* Subtle glass shine on hover/focus within hero */
#hero-content::after { content: none; }

@keyframes glassShine {
  0% { transform: translate3d(-60%, 0, 0) skewX(-12deg); opacity: 0; }
  25% { opacity: 0.8; }
  100% { transform: translate3d(60%, 0, 0) skewX(-12deg); opacity: 0; }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero { animation: none; }
  .hero::after { animation: none; }
  .hero.loaded { transform: none; }
  .secondary-button { animation: none; }
}

@media only screen and (min-width: 768px) {
  .mobile-only {
    display: none;
  }
}

/* Modern Hero Bio Section - Complete Redesign */
.hero-bio {
  --accent-color: #ff9900;
  --accent-color-light: rgba(255, 153, 0, 0.08);
  --accent-color-hover: rgba(255, 153, 0, 0.15);
  --text-color: #333;
  --text-color-muted: rgba(0, 0, 0, 0.6);
  --bg-light: #fff;
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08), 0 1px 8px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12), 0 2px 10px rgba(0, 0, 0, 0.08);
  --transition-bezier: cubic-bezier(0.25, 1, 0.5, 1);
  
  display: flex;
  flex-direction: column;
  position: relative;
  min-height: auto;
  max-width: 1400px;
  width: 100%;
  overflow-wrap: break-word;
  text-align: left;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
}

/* Main content column */
.bio-right {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  z-index: 5;
  opacity: 1; /* Ensure opacity is set to visible */
  transform: none; /* Reset any transforms */
}

/* Portrait container in name block */
.portrait-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
}

.name-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem; /* Keep the existing gap */
}

/* Responsive portrait container for smaller screens */
@media screen and (max-width: 768px) {
  .portrait-container {
    flex-direction: column-reverse;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
  }
  
  .name-content {
    width: 100%;
    text-align: center;
  }
}

/* Portrait and visual elements */
.portrait-wrapper {
  position: relative;
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  transition: all 0.6s var(--transition-bezier);
}

@media screen and (max-width: 768px) {
  .portrait-wrapper {
    width: 150px;
    height: 150px;
  }
}

.portrait-wrapper::before {
  content: '';
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.03), rgba(255, 153, 0, 0.02));
  z-index: 0;
  border-radius: 50%;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 2;
  transition: all 0.7s var(--transition-bezier);
  transform-origin: center center;
  box-shadow: var(--shadow-soft);
  filter: contrast(1.05) saturate(1.02);
  border: 4px solid rgba(255, 255, 255, 0.8);
}

.portrait-img:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 255, 255, 0.95);
}

/* Background geometric elements */
.geo-element {
  position: absolute;
  z-index: 1;
  transition: all 0.8s var(--transition-bezier);
}

.geo-square {
  width: 50%;
  height: 50%;
  top: -10%;
  right: -10%;
  transform: rotate(10deg);
  background: linear-gradient(
    135deg, 
    rgba(255, 153, 0, 0.2),
    rgba(255, 153, 0, 0.1)
  );
  border-radius: 30%;
}

.geo-circle {
  width: 25%;
  aspect-ratio: 1;
  border-radius: 50%;
  bottom: -5%;
  left: -5%;
  background: linear-gradient(
    135deg, 
    rgba(255, 153, 0, 0.15),
    rgba(255, 153, 0, 0.08)
  );

  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 153, 0, 0.08);
}

.portrait-wrapper:hover .geo-square {
  transform: rotate(150deg) translateX(5px);
}

.portrait-wrapper:hover .geo-circle {
  transform: translateY(-5px) scale(1.6);
}

/* For compatibility with existing code */
.bio-container {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
}

.bio-container p {
  margin: 0;
}

.bio-container .button-container {
  justify-content: flex-start;
}

@media screen and (max-width: 768px) {
  .bio-container .button-container {
    justify-content: center;
    align-items: center;
  }
}

.bio-section-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skills-display {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.skills-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-color-muted);
  position: relative;
  display: inline-block;
  margin-bottom: 0.4rem;
}

.skills-title::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background-color: var(--accent-color);
  opacity: 0.6;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

@media screen and (max-width: 768px) {
  .skills-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); /* Adjust minmax for better fit */
    gap: 0.8rem;
  }
}

.skill-item {
  background: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1rem; /* Slightly reduce padding */
  border-radius: 8px;
  font-size: 0.9rem; /* Slightly reduce font size */
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.6rem; /* Reduce gap */
  transition: all 0.4s var(--transition-bezier);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.skill-item i {
  color: var(--accent-color);
  font-size: 1rem; /* Adjust icon size if needed */
  transition: transform 0.3s ease;
}

.skill-item:hover {
  background: var(--accent-color-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.skill-item:hover i {
  transform: scale(1.1);
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 1.2rem;
  opacity: 1; /* Default opacity set to 1 */
  transform: none; /* Reset transform */
}

@media screen and (max-width: 768px) {
  .cta-buttons {
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.8rem;
    flex-wrap: wrap;
  }
}

.button-container {
  display: flex;
  flex-direction: row;
  justify-content: center; /* Adjust as needed for horizontal alignment */
  gap: 0.4em;
}

/* Transition effect */

.hero {
  top: -50%;
  position: relative; /* Ensure the hero div is positioned relatively */
  opacity: 0;
  /* transform: translateY(20px); */
  }

.hero.loaded {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Card styles */

.card {
  position: relative;
  width: 100%; /* Adjust size as needed */
  height: 100%; /* Adjust size as needed */
  perspective: 1000px;
  aspect-ratio: 1/1;
}

.front, .back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s;

}

.front img, .back img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the area without distortion */
  border-radius: var(--radius-medium);
}

@media screen and (max-width: 768px) {
  .front img, .back img {
    border-radius: var(--radius-small);
  }
}

.back {
  transform: rotateY(180deg);
}

/* Flip effect on hover */
.card:hover .front {
  transform: rotateY(-180deg);
}

.card:hover .back {
  transform: rotateY(0deg);
}

.hero-container {
  position: relative; /* Ensure the hero div is positioned relatively */
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {

  .portrait-container, .bio-container {
    width: 100%;
  }
}

/* Iframe styles */

.iframe-container {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
  border-radius: 16px;
  overflow: hidden;
  border: 1.5px solid #ccc;
}

iframe {
  height: 100%;
  width: 100%;
  overflow: hidden !important;
  overflow-clip-margin: 0px !important;
  border-width: 0 !important;
}

/* Text styles */

h1 {
  font-size: clamp(2rem, 8vw, 4rem);
  margin: 0;
  line-height: 110%;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  max-width: 80%;
  font-weight: 500;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 2rem);
  font-weight: 500;
}

h4 {
  font-size: clamp(1.1rem, 2.0vw, 1.5rem);
  font-weight: 500;
  color: var(--color-medium-text);
}

h2,
h3 {
  margin: 0 0 0.5em 0;
  color: var(--color-medium-text);;
}

p {
    letter-spacing: -0.1px;
}

@media (max-width: 768px) {
  #my-paragraph {
    max-height: none; /* Remove the max-height restriction on smaller screens */
  }

  h2 {
    max-width: 100%;
  }
}

/* Styling for buttons */
.main-button,
.secondary-button,
.tertiary-button {
  display: inline-flex;
  gap: 0.6em;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: var(--radius-large);
  height: 3rem;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  justify-content: center;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  outline: none;
  position: relative;
  overflow: hidden;
  padding: 0.5em 1.2em;
  background-color: transparent;
  letter-spacing: 0.02em;
  will-change: transform, box-shadow;
}

/* Ghost Button (for subtle, borderless actions like Projects dropdown) */
.ghost-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-dark-text);
  background: none;
  border: none;
  border-radius: 28px;
  padding: 0.45em 1.1em;
  height: 3rem;
  min-width: 0;
  box-shadow: none;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
  outline: none;
  position: relative;
  opacity: 0.92;
}

.ghost-button:hover,
.ghost-button:focus {
  background: rgba(255, 153, 0, 0.07);
  color: #ff9900;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.07);
}

.ghost-button:active {
  background: rgba(255, 153, 0, 0.13);
  color: #b88a2a;
  transform: scale(0.98);
}

.ghost-button .material-symbols-outlined {
  font-size: 1.2rem;
  color: inherit;
  transition: color 0.2s, transform 0.2s;
}

.ghost-button:hover .material-symbols-outlined,
.ghost-button:focus .material-symbols-outlined {
  color: #ff9900;
  transform: scale(1.08);
}

.ghost-button:focus {
  outline: 2px solid #ff9900;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(255, 153, 0, 0.13);
}

.main-button {
  padding: 0.6em 1.4em;
  font-size: 1.2rem;
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 10px rgba(255, 153, 0, 0.2), 
              0 2px 4px rgba(0, 0, 0, 0.1),
              inset 0 1px 1px rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.main-button:hover {
  background-color: #ff9100;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 12px rgba(255, 153, 0, 0.25), 
              0 4px 6px rgba(0, 0, 0, 0.1),
              inset 0 1px 1px rgba(255, 255, 255, 0.3);
}

.main-button:active,
.secondary-button:active,
.tertiary-button:active {
  transform: translateY(1px) scale(0.98);
  transition-duration: 0.1s;
}

.main-button i {
  margin-right: 0.5em;
  color: #f4f4f4;
  transition: transform 0.3s ease;
}

.main-button:hover i {
  transform: translateX(2px);
}

/* Improve keyboard accessibility */
.main-button:focus-visible {
  outline: 3px solid rgba(255, 153, 0, 0.6);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 153, 0, 0.18);
}

.main-button::before,
.secondary-button::before,
.tertiary-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  opacity: 0;
  transition: left 0.5s ease-out, opacity 0.3s ease-out;
}

.main-button:hover::before,
.secondary-button:hover::before,
.tertiary-button:hover::before {
  left: 100%;
  opacity: 1;
}

.main-button:focus::before,
.secondary-button:focus::before,
.tertiary-button:focus::before {
  left: 100%;
  opacity: 1;
}

/* Add subtle pulse animation for CTA */
@keyframes subtlePulse {
  0%, 100% { 
    box-shadow: 
      0 2px 8px rgba(255, 153, 0, 0.1), 
      inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  50% { 
    box-shadow: 
      0 2px 12px rgba(255, 153, 0, 0.15), 
      inset 0 1px 0 rgba(255, 255, 255, 0.9);
  }
}

@keyframes buttonShine {
  0% {
    transform: translateX(-100%) skewX(-15deg);
    opacity: 0;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translateX(200%) skewX(-15deg);
    opacity: 0;
  }
}

.secondary-button {
  color: var(--color-dark-text);
  border: 2px solid rgba(255, 153, 0, 0.6);
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 
    0 2px 8px rgba(255, 153, 0, 0.1), 
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  animation: subtlePulse 4s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.secondary-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transform: translateX(-100%) skewX(-15deg);
  transition: none;
}

.secondary-button:hover {
  background: rgba(255, 153, 0, 0.08);
  border-color: rgba(255, 153, 0, 0.8);
  transform: translateY(-1px) scale(1.01);
  box-shadow: 
    0 4px 15px rgba(255, 153, 0, 0.12), 
    0 2px 8px rgba(0, 0, 0, 0.06),
    inset 0 1px 1px rgba(255, 255, 255, 0.95);
  color: #2c2c2c;
  animation: none;
}

.secondary-button:hover::after {
  animation: buttonShine 0.8s ease-out;
}

.secondary-button:active {
  transform: translateY(0) scale(1.00);
  box-shadow: 
    0 2px 8px rgba(255, 153, 0, 0.15), 
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.secondary-button .material-symbols-outlined {
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.secondary-button:hover .material-symbols-outlined {
  transform: translateX(1px) scale(1.05);
  color: #2c2c2c;
}

.tertiary-button {
  color: #e68a00;
  font-size: 1.0rem;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

.tertiary-button:hover {
  color: #ff9900;
  background-color: rgba(255, 153, 0, 0.08);
  transform: translateY(-1px);
}

@media screen and (max-width: 768px) {
  .main-button,
  .secondary-button,
  .tertiary-button {
    font-size: 1rem;
    gap: 0.3em;
    padding: 0em 0.8em;
    height: 40px;
    width: max-content;
    border-radius: 24px;
  }
}

/* Media Queries */

@media screen and (max-width: 768px) {

.hero {
  width: 100%;
  height: 60vh;
padding: 8vw;
box-sizing: border-box;
min-height: 86vh;
  max-width: auto;
  border-radius: 24px;
}

/* Toned down ambient effects for mobile (variable-driven) */
.hero::after,
.hero::before {
  opacity: var(--hero-blob-opacity);
  filter: var(--hero-blob-filter);
}

.bio-section { /* Add this rule */
  height: auto;
}

  #hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6em;
    padding: 16vw 6vw; /* less extreme on mobile for better balance */
  }

  .hero-bio {
    flex-direction: column-reverse;
    align-items: center;
    text-align: left;
    font-size: 1.0rem;
    max-width: none;
    gap: 1em;
  }

  .bio-container {
    margin: 0;
    max-width: 100%;
    min-width: auto;
  }

  .card {
    /* order: 1; */
    width: 20vh;
    height: auto;
    margin-bottom: 20px;
  }

  .hero-image {
    border-radius: 100%;
  }

 
}

/* Gallery Section */

a {
  text-decoration: none; /* Remove underline */
  color: var(--color-medium-text);;
  /* display: flex; */
  text-decoration: none; /* Removes underline if not desired */
  padding: 0; /* Removes default padding */
  margin: 0; /* Removes default margin */
  border: none; /* Optionally remove any borders applied by the browser */
  background-color: transparent; /* Optionally ensure it doesn't have a background color */
}

a:hover {
  color: var(--color-accent);
}

.works a:hover {
  color: transparent;
}

.hero a {
  line-height: 0;
}

.works {
  display: grid;
  gap: 1.6vw;
  /* margin: 0 auto; */
  grid-template-columns: repeat(1, 1fr);
  /* padding: 0 12%; */
}

@media (max-width: 768px) {
  .works {
    display: flex;
    flex-direction: column;
    gap: 4vw;
    padding: 0;
    width: 100%;
  }
}

.works img {
  order: 2;
  border-radius: 24px;
  object-fit: cover;
  width: 24%;
  height: auto;
  aspect-ratio: 1/1;
  border: 2px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease-in-out;
  will-change: transform, box-shadow, border;
}

/* Projects Section */

.project {
  opacity: 0;
  transform: translateY(50px);
}

.project {
  display: flex;
  flex-direction: row;
  align-items: start;
  position: relative;
  padding: 2vw;
  gap: 2em;
  border-radius: 36px;
  /* font-size: 24px; */
  background-color: var(--color-card-bg);
  justify-content: space-between;
  overflow: hidden;
  outline: 0px solid rgba(0, 0, 0, 0.0);
  will-change: outline;

  /* Prepare for an animated change in properties */
  transition: all 0.3s ease-out;
}

.project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease-out, transform 0.5s ease-out;
    transform: translateX(50%); /* Simplify the transform */
    will-change: transform, opacity, outline; /* Optimizes animations */
}

  /* Use .project:hover::before instead of &:hover::before */
.project:hover::before {
    opacity: 1;
    transform: translateX(0%);
}

.project:hover {
  transition: outline 0.1s ease-out;
    outline: 2px solid rgba(0, 0, 0, 0.1);
  }

.project:hover img {
      /* transform: translate3d(0, -0px, 0) scale(1.015); */
      box-shadow: var(--shadow-elevation-low);
}

.project img {
  will-change: transform, box-shadow;
}

#flytrex-project::before {background-image: radial-gradient(circle 40vw at 100% 20%, rgb(255, 229, 142), rgba(255, 255, 255, 0));}
#Fanbase-project::before {background-image: radial-gradient(circle 40vw at 100% 20%, rgb(143, 236, 153), rgba(255, 255, 255, 0));}
#obituary-project::before {background-image: radial-gradient(circle 40vw at 100% 20%, rgb(218, 185, 164), rgba(255, 255, 255, 0));}
#rubato-project::before {background-image: radial-gradient(circle 40vw at 100% 20%, #d5b8f0, rgba(255, 255, 255, 0));}
#steps-project::before {background-image: radial-gradient(circle 40vw at 100% 20%, #f69778, rgba(255, 255, 255, 0));}
#typo-project::before {background-image: radial-gradient(circle 40vw at 100% 20%, #ca69cc, rgba(255, 255, 255, 0));}
#tidbit-project::before {background-image: radial-gradient(circle 40vw at 100% 20%, #f5e9d2, rgba(255, 255, 255, 0));}

@media (max-width: 768px) {
  #flytrex-project::before {background-image: radial-gradient(circle 80vw at 100% 0%, rgb(255, 229, 142), rgba(255, 255, 255, 0));}
  #Fanbase-project::before {background-image: radial-gradient(circle 80vw at 100% 0%, rgb(143, 236, 153), rgba(255, 255, 255, 0));}
  #obituary-project::before {background-image: radial-gradient(circle 80vw at 100% 0%, rgb(218, 185, 164), rgba(255, 255, 255, 0));}
  #rubato-project::before {background-image: radial-gradient(circle 80vw at 100% 0%, #d5b8f0, rgba(255, 255, 255, 0));}
  #steps-project::before {background-image: radial-gradient(circle 80vw at 100% 0%, #f69778, rgba(255, 255, 255, 0));}
  #typo-project::before {background-image: radial-gradient(circle 80vw at 100% 0%, #ca69cc, rgba(255, 255, 255, 0));}
  #tidbit-project::before {background-image: radial-gradient(circle 80vw at 100% 0%, #f5e9d2, rgba(255, 255, 255, 0));}
}

 .project-title {
  display: flex;
  flex-direction: column;
  gap: 1vw;
  order: 1;
  margin: 0;
  width: 42%;
  padding: 2% 2%;
}


#category-title {
  background-color: transparent;
  outline: transparent;
  padding: 8vw 2vw 0vw 2vw;
}

.project-header {
  color: var(--color-dark-text);
  font-size: clamp(1.4rem, 2.2vw, 2.8rem);
  margin: 0;
  line-height: 120%;
}

.belief-header {
  color: var(--color-dark-text);
  font-size: clamp(1.4rem, 2.2vw, 2.2rem);
  margin: 0;
  line-height: 120%;
}

.project-sub {
  color: var(--color-medium-text);;
  line-height: 150%;
  font-size: clamp(1rem, 1.2vw, 1.4rem);
  margin: 0;
}


/* Responsive Styles for Mobile Devices */
@media (max-width: 768px) {
  .project {
    flex-direction: column;
    gap: 1em;
    padding: 6vw;
    border-radius: 24px;
  }

  .project-title {
    width: 100%; /* Adjust title width to fit mobile screens */
    order: 2; /* Assuming you might want to change the visual order on mobile */
    gap: 0.4em;
  }

  .project::before {
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.8s ease-out;
  }

  .project.scrolled::before {
    transform: translateX(0%);
    opacity: 1;
  }
  .works img {
    width: 100%;
    border-radius: 16px;
  }
}

/* Footer */

footer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  align-items: center;
  flex-direction: column;
  margin: 1em;
  line-height: 150%;
}

.footer-buttons {
  margin-top: 2rem;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

footer p {
  font-size: 16px;
  margin-top: 4rem;
  text-align: center;
}

/* Socials Links Section */

.socials-section {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 1.6vw;
}

.socials-section a {
    width: 100%;
    height: auto;
}

.social-card {
  align-items: start;
  text-align: left;
  font-weight: 400;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  position: relative;
  padding: 16%;
  gap: 0.2em;
  border-radius: var(--radius-large);
  background-color: var(--color-card-bg);
  overflow: hidden;
  outline: 0px solid rgba(0, 0, 0, 0.0);
  transition: all 0.2s ease-out;
  will-change: outline;
}

.social-card:hover {
  transition: all 0.2s ease-out;
  outline: 2px solid rgba(0, 0, 0, 0.1);
  box-shadow: var(--shadow-elevation-mid);
  cursor: pointer;
  /* transform: rotate(-1deg) translate(0, -8px) scale(1.04); */
}

.social-card i {
  font-size: clamp(2rem, 2vw, 3.4rem);
  padding:  0 0 1rem 0;
  line-height: 1;
  transition: all 0.5s ease-out;
}

/* Hover Effects */

/* LinkedIn Card */

#linkedin-card:hover {
  background: linear-gradient(135deg, rgba(74, 153, 255, 0.2) 0%, rgba(0, 119, 181, 0.2) 100%);
}

#linkedin-card:hover i {
  color: #0061c2;
}

/* GitHub Card */

#github-card:hover {
  background: linear-gradient(135deg, rgba(132, 110, 255, 0.2) 0%, rgba(51, 0, 190, 0.2) 100%);
}

#github-card:hover i {
  color: #4600c9;
}

/* Instagram Card */

#instagram-card:hover {
  background: linear-gradient(45deg, 
      rgba(255, 168, 45, 0.2) 0%, 
      rgba(243, 123, 96, 0.2) 50%, 
      rgba(131, 58, 180, 0.2) 100%
  );
}

#instagram-card:hover i {
  color: #cf00ad;
}

/* Email Card */

#email-card:hover {
  background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 140, 0, 0.2) 100%);
}

#email-card:hover i {
  color: #ff8c00;
}

/* Responsive Styles for Mobile Devices */

@media screen and (max-width: 768px) {
  .socials-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4%;

  }
  .social-card {
    padding: 1.6em;
    border-radius: 24px;
  }
}

.designer-location {
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-color-muted);
  font-weight: 500;
  background-color: rgba(255, 153, 0, 0.05);
  padding: 0.5rem 0.8rem;
  border-radius: 20px;
  max-width: fit-content;
  border: 1px solid rgba(255, 153, 0, 0.08);
  transition: all 0.25s var(--transition-bezier);
}

.designer-location:hover {
  background-color: rgba(255, 153, 0, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.designer-location i {
  color: var(--accent-color);
  font-size: 1rem;
}

@media screen and (max-width: 768px) {
  .bio-contact-info {
    flex-direction: row;
    align-items: center;
    text-align: center;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
  }

  .location-divider {
    display: none;
  }
}

/* Contact info row styling */

.bio-contact-info {
  display: flex;
  align-items: center;
  margin-top: 8px;
  font-size: 0.95em;
  color: #555;
}

.designer-location {
  display: flex;
  align-items: center;
}

.designer-location i {
  margin-right: 6px;
}

.location-divider {
  margin: 0 16px;
  opacity: 0.6;
}

.designer-title {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--color-medium-text);
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 18px; /* Reduced gap between icons */
}

.social-icon {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-icon i {
  font-size: 1.3rem; /* Slightly reduced icon size */
}

.social-icon i:hover {
  color: var(--accent-color); /* Use the orange accent color to match site theme */
  transform: translateY(-2px); /* Subtle upward movement on hover */
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Styles from project-styles.css */
:root {
  /* Spotify Fanbase Styles */
  --spotify-color: #65d46e;
  --spotify-background-image: linear-gradient(to top, #121212, #232323, #04271a);

  /* Flytrex Styles */
  --flytrex-color: #595959;
  --flytrex-background-image: #fff2c7;

  /* Obituary Styles */
  --obituary-color: #855b42;
  --obituary-background-image: linear-gradient(to top, #f5ecdf, #fff6f0);

  /* Rubato Styles */
  --rubato-color: #9c5beb;
  --rubato-background-image: linear-gradient(to top, #ebe2f7, #fbf0ff);
}

/* Project styles */

.intro {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  margin: 5vw 0;
}

img, video {
  width: 100%;
}

video {
  border-radius: 24px;
}

@media screen and (max-width: 768px) {
  video {
    border-radius: 16px;
  }
}

/* Styles for the desktop image */
.desktop-image {
  display: block; /* Show the image on desktop */
}

/* Styles for the mobile image */
.mobile-image {
  display: none; /* Hide the image on mobile */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
  /* Hide the desktop image on mobile */
  .desktop-image {
    display: none;
  }

  /* Show the mobile image on mobile */
  .mobile-image {
    display: block;
  }
}

.youtube-video {
  aspect-ratio: 16/9;
  width: 100%;
  border-radius: 24px;
  flex: 1;
  height: 0;
}

@media screen and (max-width: 768px) {
  .youtube-video {
    border-radius: 16px;
  }
}

.project-gallery {
  display: flex;
  flex-direction: column;
  gap: 2vw;
}

.flex-container-row {
  display: flex;
  flex-grow: 1;
  align-self: stretch;
  gap: 4vw;
}

.flex-container-column {
  display: flex;
  flex-direction: column;
  gap: 2vh;
  width: 48%;
  }

.flex-item, .column-gallery-flex img, .column-gallery-flex video {
  border-radius: 24px;
  object-fit: contain;
  width: 100%;
}

.flex-item {
  display: flex;
  flex: 1 1 auto;
  height: 100%;
}  .flex-item img {
    border-radius: 24px;
    object-fit: contain;
    width: 100%;
    height: auto;
  }

  @media screen and (max-width: 768px) {
    .flex-item img {
      border-radius: var(--radius-small);
    }
  }

  #flex-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

.figcaption {
  padding-top: 1rem;
  color: var(--color-medium-text);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .figcaption {
    font-size: 1rem;
    padding: 0.8rem;
  }
}

/* Typo Gallery */
#gallery-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1vw;
  justify-content: space-between;
}

.column-gallery-flex {
  display: flex;
  flex-direction: column;
  flex-basis: 23%;
  gap: 2.4vw;
}  .column-gallery-flex img,
  .column-gallery-flex video {
    vertical-align: middle;
    width: 100%;
    border-radius: 24px;
  }

  @media screen and (max-width: 768px) {
    .column-gallery-flex {
      flex-basis: 49%; /* Set the initial size to 40% minus the gap */
      gap: 5vw;
    }

    .column-gallery-flex img,
    .column-gallery-flex video {
      border-radius: 16px;
    }

    #gallery-flex {
      gap: 5vw;
    }
  }  @media screen and (max-width: 768px) {
    .column-gallery-flex {
      flex-basis: 100%; /* Set the initial size to 100% */
      max-width: 100%; /* Set the maximum width to 100% */
      gap: 5vw;
    }

    .column-gallery-flex img,
    .column-gallery-flex video {
      border-radius: 16px;
    }

    #gallery-flex {
      gap: 5vw;
    }
  }

/* Text boxes */
#text-with-max-width,
#text-with-max-width-50,
#text-left-padding,
.project-description,
p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.5em;
  overflow-wrap: break-word;
  word-wrap: break-word;
  margin: 0;
}

/* Project container */
.project-container {
  padding: 8vw;
  margin-bottom: 1em;
  border-radius: 36px;
  background-color: var(--color-light-background);
  gap: 8vw;
  display: flex;
  flex-direction: column;
  align-items: left;
  justify-content: center;
}

/* Bento box styles */
.bento-box {
  display: flex;
  padding: 8%;
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  font-weight: 600;
  line-height: 120%;
  letter-spacing: -0.5px;
  text-align: center;
  border-radius: 24px;
  box-shadow: var(--shadow-elevation-low);
  transition: transform 0.1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

/* Icon styles */
.bento-box i {
  font-size: clamp(1.6rem, 2vw, 3.4rem);
  margin-bottom: 0.2vw;
}

/* Responsive styles */
@media (max-width: 768px) {
  .bento-box {
    flex: auto;
    padding: 8%;
    border-radius: 16px;
    gap: 1rem;
  }
}

/* Responsive Grid Styles */
.grid-container, #Two-grid, #Three-grid, #Four-grid {
  display: grid;
}

/* Grid Styles */

#Two-grid {
  grid-template-columns: repeat(2, 1fr);
}

#Three-grid {
  grid-template-columns: repeat(3, 1fr);
}

#Four-grid {
  grid-template-columns: repeat(4, 1fr);
}

.grid-container {
  grid-gap: 1.6vw;
  width: 100%;
}

.grid-item-large {
  grid-column: span 2;
}

.full-size-item {
  grid-column: 1 / -1; /* Span across all columns */
}

.grid-container img {
  /* height: 100%; */
  border-radius: 24px;
}

@media screen and (max-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(1, 1fr) !important;
    grid-gap: 2vw;
  }

  .grid-container img {
    border-radius: 16px;
  }

  .grid-item-large {
    grid-column: span 1;
  }

  #Four-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* About me */

#bio-card {
  align-items: start;
  text-align: left;
  font-weight: 400;
  justify-content: flex-start;
  display: flex;
  position: relative;
  padding: 8%;
  border-radius: 36px;
  background-color: #f4f4f4;
  overflow: hidden;
  will-change: outline;
  transition: background-color 0.3s ease-out;
  box-shadow: var(--shadow-elevation-low);
}

@media screen and (max-width: 768px) {
  #bio-card {
    border-radius: 24px;
  }
}

#value-title {
  width: 100%;
  padding: 0;
}

/* Bento box colors */

#Spotify {
  color: var(--spotify-color);
  background-image: var(--spotify-background-image);
}

#Spotify i {
  color: var(--spotify-color);
}

#Flytrex {
  color: var(--flytrex-color);
  background-color: var(--flytrex-background-image);
}

#Flytrex i {
  color: var(--flytrex-color);
}

#Obituary {
  color: var(--obituary-color);
  background-image: var(--obituary-background-image);
}

#Obituary i {
  color: var(--obituary-color);
}

#Rubato {
  color: var(--rubato-color);
  background-image: var(--rubato-background-image);
}

#Rubato i {
  color: var(--rubato-color);
}

@media (max-width: 1200px) {
  #text-with-max-width,
  #text-with-max-width-50,
  #text-left-padding,
  .project-description,
  .flex-container-column,
  div > p,
  h3 {
    max-width: 100%;
    width: 100%;
  }
}

/* Mobile */

@media (max-width: 1080px) {
  body {
    flex-direction: column;
    text-align: left;
    align-items: center;
  }

  .project-container {
    padding: 8vw 6vw;
    gap: 8vw;
    border-radius: 16px;
  }
  .project-description {
    max-width: 100%;
  }

  .flex-container-column {
    width: 100%;
    gap: 1.6vw;
  }

  .project-gallery,
  .flex-container-row {
    gap: 4vw;
    flex-direction: column;
  }

  #text-with-max-width, #text-with-max-width-50, #text-left-padding, .project-description, .flex-container-column, div > p, h3 {
    max-width: 100%;
    width: 100%;
  }
}

#rubato-mockups {
  background: linear-gradient(35deg, #b78de4, #f0f0f0);
  border-radius: 24px;
}

@media screen and (max-width: 768px) {
  #rubato-mockups {
    border-radius: 16px;
  }
}

.mockup-container {
  perspective: 1000px;
  position: relative;
  width: 100%;
  height: auto;  /* Adjust based on viewport height */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 6vw;
  min-height: 400px;
 transform-origin: center top; /* Set the origin of transformation at the top center */

  /* Apply the floating animation */
  animation: floatUpAndDown 2s infinite ease-in-out alternate;
}

/* Define the keyframes for the floating motion */
@keyframes floatUpAndDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px); /* Adjust this value to control the height of the float */
  }
}

.mockup {
  border-radius: 24px;
  box-shadow: var(--shadow-elevation-low),
    inset 2px 2px 8px rgba(255, 255, 255, 0.1),
    0 0 30px rgba(255, 255, 255, 0.2);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  transform-origin: center center;
  transform-style: preserve-3d;
  width: 12vw;
  aspect-ratio: 9 / 20;
  transition: all 0.3s ease-in-out;
  outline: 4px ridge rgba(0, 0, 0, 0.06);
}

.mockup:nth-child(1) {
  background-image: url('Rubato/rubato_mockup_1.png');
  /* 3D tilt and shadow for left card */
  transform: translateY(-12%) translateX(-18%) rotateY(28deg) rotateZ(-10deg) scale(0.9);
  z-index: 1;
  box-shadow:
    0 24px 48px 0 rgba(183, 141, 228, 0.12),
    0 2px 24px 0 rgba(80, 40, 120, 0.10),
    var(--shadow-elevation-low);
  filter: brightness(0.96) blur(0.4px);
}

.mockup:nth-child(2) {
  background-image: url('Rubato/rubato_mockup_2.png');
  /* Center card pops forward */
  transform: translateY(0%) translateX(0%) rotateY(0deg) scale(1.1);
  z-index: 3;
  box-shadow:
    0 32px 64px 0 rgba(183, 141, 228, 0.18),
    0 8px 32px 0 rgba(80, 40, 120, 0.12),
    var(--shadow-elevation-medium);
  filter: brightness(1.03) saturate(1.04);
}

.mockup:nth-child(3) {
  background-image: url('Rubato/rubato_mockup_3.png');
  /* 3D tilt and shadow for right card */
  transform: translateY(12%) translateX(18%) rotateY(-28deg) rotateZ(10deg) scale(0.9);
  z-index: 2;
  box-shadow:
    0 24px 48px 0 rgba(183, 141, 228, 0.12),
    0 2px 24px 0 rgba(80, 40, 120, 0.10),
    var(--shadow-elevation-low);
  filter: brightness(0.96) blur(0.4px);
}

/* Minimal hover state for mockups */
.mockup:hover {
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-elevation-medium);
  filter: brightness(1.04);
  z-index: 4;
  outline: none;
  cursor: pointer;
    outline: 4px ridge rgba(231, 111, 255, 0.1);
}

@media (max-width: 1080px) {
.mockup-container {
    min-height: 60vw; /* Adjust based on viewport height */
  }
.mockup{
    width: 16vw;
    border-radius: 8px;
  }
  
.mockup:nth-child(1) {
  /* 3D tilt and shadow for left card - mobile: less tilt, more stacking */
  transform: translateY(-32%) translateX(-8%) rotateY(12deg) rotateZ(-5deg) scale(0.96);
}
.mockup:nth-child(2) {
  /* Center card pops forward - mobile: slightly smaller scale */
  transform: translateY(0%) translateX(0%) rotateY(0deg) scale(1.4);
}
.mockup:nth-child(3) {
  /* 3D tilt and shadow for right card - mobile: less tilt, more stacking */
  transform: translateY(32%) translateX(8%) rotateY(-12deg) rotateZ(5deg) scale(0.96);
}
}

/* Section Divider */
.section-divider {
  border: none;
  border-bottom: 1.5px solid #d8d8d8;
  width: 100%;
  background: none;
}