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

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}

body {
    background: linear-gradient(to right, #000000 0%, #051912 50%, #0d261c 100%);
    font-family: 'Arial', sans-serif;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden; /* Prevent horizontal scroll */
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

/* New UnicornStudio background with fallback */
[data-us-project] {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 0;
    pointer-events: none;
    opacity: 1; /* Show immediately */
    transition: opacity 300ms ease;
    object-fit: cover;
}

/* Immediate fallback background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #051912 25%, #0d261c 50%, #051912 75%, #000000 100%);
    z-index: -1;
    opacity: 1;
}

/* Ensure it's visible when ready */
.us-ready [data-us-project] {
    opacity: 1;
}

/* Fallback background if UnicornStudio fails to load */
.fallback-bg {
    background: linear-gradient(135deg, #000000 0%, #051912 25%, #0d261c 50%, #051912 75%, #000000 100%) !important;
    position: relative;
}

.fallback-bg::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(101, 112, 252, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(101, 112, 252, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(101, 112, 252, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: fallbackGlow 8s ease-in-out infinite alternate;
}

@keyframes fallbackGlow {
    0% {
        opacity: 0.3;
        transform: scale(1);
    }
    100% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

/* Performance optimizations for UnicornStudio */
@media (prefers-reduced-motion: reduce) {
    [data-us-project] {
        opacity: 0 !important;
    }
    
    .fallback-bg::before {
        animation: none !important;
    }
}

/* Mobile optimization for UnicornStudio */
@media (max-width: 768px) {
    [data-us-project] {
        opacity: 0.5; /* Reduce opacity on mobile for better performance */
    }
}


.navbar {
    width: 100%;
    background: linear-gradient(to left, #0d261c 0%, #051912 50%, #000 100%);  
      padding: 10px 30px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.main-section{
    height: 100hv;
    position: fixed;
    top: 180px;
}



h1 {
  font-size: 9vmin;
  color: #8bf;
  text-align: left;
  font-family: Lato, sans-serif;
  font-weight: 700;
  
  padding-bottom: 3px;
}

/* Typewriter effect 1 */
@keyframes typing {
  0.0000%, 27.3488% { content: ""; }
  1.1395%, 26.2093% { content: "ful"; }
  2.2791%, 25.0698% { content: "Full-S"; }
  3.4186%, 23.9302% { content: "Full-Stac"; }
  4.5581%, 22.7907% { content: "Full-Stack "; }
  5.6977%, 21.6512% { content: "Full-Stack de"; }
  6.8372%, 20.5116% { content: "Full-Stack Dev"; }
  7.9767%, 19.3721% { content: "Full-Stack Develo"; }
  9.1163%, 18.2326% { content: "Full-Stack Devveloper"; }

  30.7674%, 51.2791% { content: ""; }
  31.9070%, 50.1395% { content: "quan"; }
  33.0465%, 49.0000% { content: "quantitat"; }
  34.1860%, 47.8605% { content: "quantitative "; }
  35.3256%, 46.7209% { content: "quantitat tra"; }
  36.4651%, 45.5814% { content: "quantitative trad"; }
  37.6047%, 44.4419% { content: "quantitative trader"; }

  54.6977%, 75.2093% { content: ""; }
  55.8372%, 74.0698% { content: "r"; }
  56.9767%, 72.9302% { content: "re"; }
  58.1163%, 71.7907% { content: "rea"; }
  59.2558%, 70.6512% { content: "read"; }
  60.3953%, 69.5116% { content: "reade"; }
  61.5349%, 68.3721% { content: "reader"; }

  78.6279%, 96.8605% { content: ""; }
  79.7674%, 95.7209% { content: "h"; }
  80.9070%, 94.5814% { content: "hu"; }
  82.0465%, 93.4419% { content: "hum"; }
  83.1860%, 92.3023% { content: "huma"; }
  84.3256%, 91.1628% { content: "human"; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.typewriter {
  --caret: currentcolor;
}

.typewriter::before {
  content: "";
  animation: typing 13.5s infinite;
}

.typewriter::after {
  content: "";
  border-right: 1px solid var(--caret);
  animation: blink 0.5s linear infinite;
}

.typewriter.thick::after {
  border-right: 1ch solid var(--caret);
}

.typewriter.nocaret::after {
  border-right: 0;
}


@media (prefers-reduced-motion) {
  .typewriter::after {
    animation: none;
  }
  
  @keyframes sequencePopup {
    0%, 100% { content: "Full stack developer"; }
    25% { content: "Quantitative Researcher"; }
    50% { content: "Quantitative trader"; }
    75% { content: "human"; }
  }

  .typewriter::before {
    content: "developer";
    animation: sequencePopup 12s linear infinite;
  }
}

/**/







.glass {
    position: absolute;
    top: 50%;
height: 100hv;
    transform: translate(-50%, -50%) scale(1);
    width: 600px;
    padding: 30px;
   bottom: 80px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: transform 1s cubic-bezier(0.3, 0.7, 0.4, 1);
    z-index: 0;
}

.glass:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

h1, h2, p {
    margin: 0;
    padding: 0;
}

.animated-text {
    font-size: 3rem;
    line-height: 1.2;
    text-align: center;
    text-shadow: 2px 4px 10px rgba(0, 0, 0, 0.5);
}

.animated-text span {
    display: inline-block;
    animation: bounce 3s ease-in-out infinite alternate ;
}

.animated-text span:nth-child(odd) {
    animation-delay: 0.2s;
}

.animated-text span:nth-child(even) {
    animation-delay: 0.4s;
}
@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-15px);
    }
}


.parallax {
    position: absolute;
    width: 10%;
    height: 200%;
    top: -50%;
    animation: parallaxMove 30s linear infinite;
    z-index: -1;
}

@keyframes parallaxMove {
    0% {
        transform: translateY(-10%);
    }
    100% {
        transform: translateY(10%);
    }
}


.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
    animation: particleMove 10s linear infinite;
    opacity: 0.8;
}

@keyframes particleMove {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(calc(200px - 50%), calc(200px - 50%)) scale(1.5);
        opacity: 1;
    }
    100% {
        transform: translate(calc(-200px + 50%), calc(-200px + 50%)) scale(0.8);
        opacity: 0.5;
    }
}

/* Intro container and box styling */
.intro-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    z-index: 2; /* Place it above background animation */
}

.intro-box {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
}

.intro-box h1 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: #b0bec5;
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1rem;
    font-weight: 300;
    color: #cfd8dc;
    margin-bottom: 1.5rem;
}

/* Links styling */
.links a  {
    color: #798292;
    text-decoration: none;
    margin:  1rem;
    padding-top: 300px;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease;
    text-decoration-line: none;
}

.links a:hover {
    color: #ffcc80;
}



.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
  }

  .main-content h1 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    animation: fadeIn 2s ease forwards;
  }
  .main-content h2 {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 0.8;
    margin: 0 0 20px 0;
    animation: fadeIn 2s ease forwards;
  }
 

  .main-content h1 span {
    display: inline-block;
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
    animation: fadeInText 2s ease forwards;
  }

  .main-content h1 span:nth-child(odd) {    
    animation-delay: 0.2s;
  }

  .main-content h1 span:nth-child(even) {
    animation-delay: 0.4s;
  }

  .sub-description {
    font-size: 1.2rem;
    margin-top: 20px;
    margin-bottom: 30px;
    animation: fadeIn 3s ease forwards;
    color: rgba(255, 255, 255, 0.7);
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  @keyframes textGlow {
    0%, 100% {
      text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.6);
    }
    50% {
      text-shadow: 0 0 20px rgba(255, 255, 255, 1), 0 0 30px rgba(255, 255, 255, 0.9);
    }
  }

  .scroll-arrow {
    position: absolute;
    bottom: 20px;
    font-size: 2rem;
    animation: bounce 1.5s infinite;
  }

  @keyframes bounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-10px);
    }
  }


.animation-wrapper {
    width: 80%;
    height: 120hv;
    padding-bottom: 45%;
    padding-left: 500px;
   z-index: 0;
  }
  
  /** Layered Animation **/
  
  .layered-animations {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1100px;
    height: 550px;
    margin: -275px 0 0 -550px;
    z-index: 0;
  }
  
  .layered-animations .shape {
    position: absolute;
    top: 50%;
    overflow: visible;
    width: 280px;
    height: 280px;
    margin-top: -140px;
    stroke: transparent;
    stroke-width: 1px;
    fill: url(#shapesGradient);
  }
  
  @media (min-width: 740px) {
    .layered-animations .shape {
      stroke-width: .5px;
    }
  }
  
  .layered-animations .small.shape {
    width: 64px;
    height: 64px;
    margin-top: -32px;
    stroke: currentColor;
    fill: currentColor;
  }
  
  .layered-animations .x-small.shape {
    width: 32px;
    height: 32px;
    margin-top: -16px;
    stroke: currentColor;
    fill: currentColor;
  }

.navbar h1 {
    font-size: 1.5em;
    color: #fff;
}

.navbar p {
    font-size: 1em;
    color: #999;
}

.container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
}

.outer-box {
    background-color: #333;
    border-radius: 15px;
    padding: 3px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.7);
}

.content {
    background: transparent;
    border-radius: 10px;
    padding: 20px;
    width: 1200px;
    height: 650px; /* Much larger height for all project sections */
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    z-index: 0;
    background: linear-gradient(90deg,
        var(--card-black-edge) 0%,
        var(--card-blue-mid) var(--card-mid-stop),
        var(--card-black-edge) 100%
    );
}

.content::after {
    z-index: 1;
}

.content-link {
    text-decoration: none;
    color: inherit; /* Keeps text color as it is */
    display: block; /* Ensures the link covers the entire content */
}

.content:hover {
    background-color: #07443f; 
}

.content h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.content p {
    font-size: 1em;
    color: #ccc;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.company {
    font-weight: bold;
    color: #bbb;
}

.image-container {
    position: relative;
    z-index: 2;
    background: transparent;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}   

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.image-container img:hover {
    transform: scale(1.05);
}

.placeholder-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(101, 112, 252, 0.1), rgba(101, 112, 252, 0.05));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.placeholder-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: placeholderShimmer 3s ease-in-out infinite;
}

@keyframes placeholderShimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.placeholder-content {
    text-align: center;
    z-index: 1;
    position: relative;
}

.placeholder-content h3 {
    color: #fff;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
}

.placeholder-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.light-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.6) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

/* Unicorn Studio full-viewport background */
#us-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease;
}
#us-bg > [data-us-project] { width: 100% !important; height: 100% !important; }
.us-ready #us-bg { opacity: 1; }

/* Card gradient variables */
:root {
  --card-black-edge: rgba(0,0,0,0.85);
  --card-blue-mid: rgba(101,112,252,0.35); /* #6570FC w/ alpha */
  --card-mid-stop: 50%; /* center width; tweak to 40–60% if needed */
}

/* Card containers - no animation */
.container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 50px;
    opacity: 1;
    transform: translateY(0);
}

/* Ensure page content is above Unicorn background */
.content-layer { position: relative; z-index: 1; }

/* Hero layout aligned left, clean spacing */
.main-content.content-layer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  width: min(1100px, 92%);
  padding: 1vh 4vw 2vh 4vw;
  gap: 20px;
}
.main-content h2 span { font-size: clamp(22px, 2.2vw, 28px); opacity: 0.9; letter-spacing: 0.4px; }
.main-content h1 { font-size: clamp(42px, 8vw, 84px); line-height: 0.95; max-width: 12ch; }

/* CTA button like the reference */
.cta-row { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.18);
  background: radial-gradient(120% 140% at 15% 40%, rgba(255,179,101,0.35), rgba(255,255,255,0.05) 45%, rgba(255,255,255,0.02) 65%);
  color: #f7f7f7; text-decoration: none; font-weight: 700; letter-spacing: 0.3px;
  box-shadow: 0 0 20px rgba(255,179,101,0.25), 0 8px 24px rgba(0,0,0,0.45) inset;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.cta-btn:hover { transform: translateY(-1px); box-shadow: 0 0 30px rgba(255,179,101,0.35), 0 10px 30px rgba(0,0,0,0.55) inset; }
.cta-btn:active { transform: translateY(0); }

/* Main UI Panel - allows light overflow */
.main-ui-panel {
  background: #1a1a1a;
  border-radius: 16px;
  margin: 4vh 4vw 8vh;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  overflow: hidden;
  position: relative;
}

.ui-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.ui-brand .brand-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
}

.ui-nav {
  display: flex;
  gap: 24px;
}

.nav-link {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #fff;
}

.ui-content {
  padding: 32px 24px;
}

.content-header h3 {
  font-size: 1.8rem;
  margin: 0 0 8px;
  color: #fff;
}

.content-header p {
  color: #b0b0b0;
  margin: 0 0 32px;
  font-size: 0.95rem;
}

.project-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.showcase-item {
  background: #252525;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.showcase-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.4);
}

.item-preview {
  height: 180px;
  overflow: hidden;
}

.item-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.showcase-item:hover .item-preview img {
  transform: scale(1.05);
}

.item-info {
  padding: 20px;
}

.item-info h4 {
  font-size: 1.2rem;
  margin: 0 0 8px;
  color: #fff;
}

.item-info p {
  color: #b0b0b0;
  margin: 0 0 16px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.tag {
  display: inline-block;
  background: rgba(255,179,101,0.2);
  color: #ffb365;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 8px;
  margin-bottom: 4px;
}

@media (max-width: 1024px) {
  .content {
    width: 90%;
    max-width: 1000px;
    height: 550px;
  }
}

@media (max-width: 680px) {
  .main-content.content-layer { padding-top: 10vh; }
  .main-ui-panel { margin: 2vh 2vw 4vh; }
  .ui-header { padding: 16px 20px; }
  .ui-content { padding: 24px 20px; }
  .project-showcase { grid-template-columns: 1fr; }
  
  /* Responsive project sections */
  .content {
    width: 100%;
    max-width: 100%;
    height: 500px; /* Much larger height for mobile */
    padding: 15px;
  }
  
  .content h2 {
    font-size: 1.3em;
  }
  
  .content p {
    font-size: 0.9em;
  }
}


/* Custom down arrow box */
.custom-scroll-arrow {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.custom-scroll-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.custom-scroll-arrow .arrow {
  font-size: 20px;
  color: #fff;
  animation: bounce 1.5s infinite;
}

/* Hide the original scroll arrow */
.scroll-arrow {
  display: none;
}

/* Available for Work Section */
.available-work-section {
    padding: 80px 4vw 60px;
    position: relative;
    z-index: 1;
}

.availability-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
}

.label-text {
    color: #999;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.label-dot {
    width: 6px;
    height: 6px;
    background: #ff6b35;
    border-radius: 50%;
}

.main-heading {
    margin-bottom: 60px;
    max-width: 800px;
}

.main-heading h2 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.2;
    color: #fff;
    font-weight: 400;
    margin: 0;
}

.main-heading .highlight {
    background: #ff6b35;
    color: #000;
    padding: 2px 8px;
    font-weight: 600;
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

.samurai-card {
    grid-column: 1;
    grid-row: 1;
}

.text-content {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.showcase-card {
    background: transparent;
    border-radius: 12px;
    overflow: visible;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.samurai-card {
    transform: rotate(-2deg);
    z-index: 3;
}

.text-card {
    background: transparent;
    padding: 20px 0;
    transition: transform 0.3s ease;
}

.text-card:hover {
    transform: translateX(10px);
}

.text-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.text-card p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

.samurai-card:hover {
    transform: rotate(-2deg) translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.project-showcase .showcase-card:nth-child(1) .card-image {
    height: auto;
    min-height: 500px;
}

.project-showcase .showcase-card:nth-child(2) .card-image {
    height: auto;
}

.project-showcase .showcase-card:nth-child(3) .card-image {
    height: auto;
}

.card-image {
    background: transparent;
}

.card-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.showcase-card:hover .card-image img {
    transform: scale(1.05);
}

.card-content {
    padding: 24px 0;
}

.card-content h3 {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.card-content p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .available-work-section {
        padding: 60px 4vw 40px;
    }
    
    .project-showcase {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .samurai-card {
        grid-column: 1;
        grid-row: 1;
    }
    
    .text-content {
        grid-column: 1;
        grid-row: 2;
        gap: 30px;
    }
    
    .samurai-card .card-image {
        height: 300px;
        min-height: auto;
    }
    
    .main-heading h2 {
        font-size: 24px;
    }
}

/* Hero Section Animations - All from below */
.main-content {
    animation: slideUpFromBelow 0.8s ease-out 0.2s both;
}

.main-content h2 {
    animation: slideUpFromBelow 0.6s ease-out 0.4s both;
}

.main-content h1 {
    animation: slideUpFromBelow 0.6s ease-out 0.6s both, glowPulse 3s ease-in-out infinite 1.2s;
    text-shadow: 
        0 0 5px rgba(101, 112, 252, 0.3),
        0 0 10px rgba(101, 112, 252, 0.2),
        0 0 15px rgba(101, 112, 252, 0.1);
    color: #ffffff;
    font-weight: 700;
}

.main-content p {
    animation: slideUpFromBelow 0.6s ease-out 0.8s both;
}

.cta-row {
    animation: slideUpFromBelow 0.6s ease-out 1s both;
}

.social-links {
    animation: slideUpFromBelow 0.6s ease-out 1.2s both;
}

/* Project Section Animations - Smooth from below */
.container {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Hover Effects */
.outer-box {
    transition: all 0.3s ease;
}

.outer-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cta-btn {
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(101, 112, 252, 0.4);
}

.social-link {
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(101, 112, 252, 0.3);
}

/* Keyframe Animations - Smooth slide up from below */
@keyframes slideUpFromBelow {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 0 5px rgba(101, 112, 252, 0.3),
            0 0 10px rgba(101, 112, 252, 0.2),
            0 0 15px rgba(101, 112, 252, 0.1);
    }
    50% {
        text-shadow: 
            0 0 8px rgba(101, 112, 252, 0.4),
            0 0 12px rgba(101, 112, 252, 0.3),
            0 0 18px rgba(101, 112, 252, 0.2);
    }
}

/* Social Links Styling */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 3px;
    align-items: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #d0d5dc;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #6570FC;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(101, 112, 252, 0.3);
}

.social-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.social-link span {
    font-size: 14px;
    font-weight: 500;
}

/* Responsive design for social links */
@media (max-width: 768px) {
    .social-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .social-link {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
}

/* Small white box overlay for unicorn.studio */
