/****************************** Base ******************************/
 :root {
      --dark: #212529;
      --light: #F8F9FA;
      --accentLight: #eaeef3;
       /* --accentLight: #e9eaf1; */
      --primary: #cd0c3a;
      --grayText: #555;
      --sidebar-width: 280px;
      --squircle: 16px;
      --exploreSquircle: 30px;

  --space-xs: 0.75rem;
  --space-sm: 1.5rem;
  --space-md: 2.5rem;
  --space-lg: 5rem;
  --space-xl: 7rem;
    }

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

.ctaLink{
  color: var(--primary);
  text-decoration: underline;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}


section {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 3rem; 
  box-sizing: border-box;
}

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

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Poppins', sans-serif;
      background-color: var(--light);
      color: var(--dark);
      overflow-x: hidden;
      line-height: 1.7;
    }

    main {
      width: 100%;
    max-width: none;
      padding: 0 ;
      
    }

.layout {
  transition: padding-left 0.3s ease;
}

/* Desktop: reserve space for sidebar */
@media (min-width: 1025px) {
  .layout {
    padding-left: var(--sidebar-width);
  }
}

/* Tablet & mobile: sidebar overlays */
@media (max-width: 1024px) {
  .layout {
    padding-left: 0;
  }
}

/* Consistent vertical rhythm */
main > section {
  padding-block: var(--space-lg); /* top + bottom */
}

/****************************** Typography ******************************/
h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", "Roboto", Arial, sans-serif;
  color: var(--dark);
  margin-bottom: 1rem;
}

h1 {
  display: flex;
  justify-content: center;
  gap: 0.5em;
  font-size: 5rem;
  font-weight: 500;
  z-index: 10;
}

h2 {
  text-align: center;
  font-size: 4.5rem;
  font-weight: 550;
}

h3 {
  font-weight: 500;
  font-size: 3rem;
}

h4 {
  font-size: 2rem;
}

p, li, button{
    font-family: "Roboto", sans-serif;
    font-size: 1.1rem;
}

/****************************** Layout and Section Styling ******************************/

.greeting {
  /* line-height: .1rem; */
  font-size: 1.75rem;
  color: var(--grayText);
  font-weight: 200;
}

#name {
  margin: -0.2rem 0 0.35rem 0;
  font-size: 2.75rem;
  font-weight: 450 ;
}

.heroDescription {
  margin: 0 0 0.7rem 0;
  max-width: 38ch;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 350;
  line-height: 1.45;
}

.keyword {
      color: var(--primary);
      font-weight: 450;
    } 
.hero {
  display: flex;
  /* align-items: center;       */
  justify-content: center;     /* horizontal centering (optional) */
  height: 100vh;            /* or 100vh for full viewport */
  max-width: 1100px;
  box-sizing: border-box;
  gap: 3rem;                   /* space between columns */
  position: relative;
  z-index: 1;
  /* border: 1px solid #cd0c3a; */
}

.heroRow {
  display: flex;
  width: 50%;
  gap: 3rem;
  height: 100%;                /* or 100% if .hero is 100vh */
  box-sizing: border-box;
  padding-top: 5rem;
}

.heroCol {
  /* flex: 1 1 0; */
  min-width: 0;
  display: flex;
  flex-direction: column;
  /* justify-content: flex-end; */
    /* border: 1px solid #4ccd0c; */


}
.heroLeft {
  flex: 0 0 50%;
  max-width: 50%;
    margin: auto 0;
    width: 75%;
    padding-top: 3rem;
}


.heroRight {
  flex: 0 0 50%;
  max-width: 50%;
  /* padding: 0 0 0 3rem; */
    margin: auto 3rem auto 0;
     width: 25%

}
.hero-collage {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 120px;
  gap: 1.2rem;
  position: relative;
  /* border: 1px solid #cd0c7d; */
  height: 100%

}

.heroImg {
 width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 320ms ease;
  border-radius: var(--squircle);
}

.featuredProject:hover .featuredImg {
  transform: scale(1.04);
}

.tile {
  /* background: #e5e5e5; */
  border-radius: 16px;
}

.tile1 {
  grid-row: span 1;
    /* background: #a81515; */
width: 50%;
aspect-ratio: 1 / 1;
justify-self: end;
align-self: end;

}
.tile2 {
  grid-row: span 3;
      /* background: #d67a08; */
  margin-bottom: 2rem;
  width: 100%;
  justify-self: start;
  align-self: end;

aspect-ratio: 8.5/ 11;
height: auto;
}

.tile3 {
  grid-row: span 2;
        /* background: #e0ee10; */
    height: 65%;
    aspect-ratio: 3/ 2;
justify-self: end;
align-self: start;

}

.tile4 {
    grid-row: span 2;
    /* background: #0ab90d; */
width: 75%;
aspect-ratio: 1 / 1;
justify-self: end;
align-self: start;
margin-top:-5.5rem;
}

.tile5 {
   grid-row: span 1;
    /* background: #2615a8; */
width: 50%;
aspect-ratio: 1 / 1;
justify-self: start;
align-self: start;
margin-top:-2rem;
}

.projects-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: left; /* center children horizontally */
}

    /* Hero Container */
  .heroContainer {
  min-height: 50vh;
  display: flex;
  flex-direction: column;      /* stack content vertically */
  justify-content: center;     /* center vertically */
  align-items: center;         /* center horizontally */
  padding: 2rem;
  position: relative;
  text-align: center;          /* center text inside */
}

    .rise {
      opacity: 0;
      animation: fadeInUp 0.8s ease forwards;
    }

.squiggle-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 0s;
}

.squiggle-path.drawn {
  animation: drawSquiggle 2s ease forwards;
}

    @keyframes drawSquiggle {
      to {
        stroke-dashoffset: 0;
      }
    }


/****************************** Projects Section ******************************/
.squiggle-underline {
  width: 100%;
  margin-top: 0.35rem;
}

.squiggle-underline svg {
  width: 100%;
  height: 12px;
  display: block;
}

.squiggle-wrap {
  display: inline-block;
  position: relative;
}

@media (max-width: 768px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
  .wave-word {
    font-size: 3rem;
  }
  .project-title {
    font-size: 2rem;
  }
}

.main{
        margin: 0 2rem;

}


.wave-word .space-span {
  width: 0.3em;
  font-size: inherit;
}

.wave-word span {
  display: inline-block;
  font-size: inherit;
  letter-spacing: normal;
}

@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-10px); }
  60%  { transform: translateY(5px); }
  100% { transform: translateY(0); }
}

.wave-word.animate span {
  animation: bounce 0.6s ease forwards;
}

    .wave-word {
      display: inline-block;
      font-size: 3.5rem;
      font-weight: 450;
      color: var(--dark);
      margin-bottom: 0.25rem;
        letter-spacing: 0;
    }

    /* PROJECT CARDS */
    .project-grid {
  width: 90%;
  margin: 3rem auto 0 auto;      /* center grid and add top space */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem 3rem;              /* more vertical and horizontal space between cards */
  justify-items: center;         /* center cards in their grid cells */
  align-items: stretch;          /* ensure cards stretch to fill grid rows */
    justify-content: center; 
}
    .project-image {
      width: 100%;
      border-radius: 12px;
      overflow: hidden;
    }

    .project-image img {
      width: 100%;
      height: 280px;
      object-fit: cover;
      display: block;
    }
 
    @media (max-width: 768px) {
      .project-grid {
        grid-template-columns: 1fr;
      }
      
      .wave-word {
        font-size: 3rem;
      }
    
      .comparison-grid {
        grid-template-columns: 1fr;
      }
    }

    .blob-1 {
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, #EF476F 0%, transparent 70%);
      top: 30%;
      right: 0%;
      animation: float 20s ease-in-out infinite;
      z-index: 0;
    }

    .blob-2 {
      width: 450px;
      height: 450px;
      background: radial-gradient(circle, #FFD166 0%, transparent 70%);
      bottom: 30%;
      left: 20%;
      animation: float 25s ease-in-out infinite reverse;
      z-index: 0;
    }

    /* Side Navigation */
    .side-nav {
      position: fixed;
      top: 0;
      left: 0;
      width: var(--sidebar-width);
      height: 100vh;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(20px);
      border-right: 1px solid rgba(205, 12, 58, 0.1);
      z-index: 1000;
      display: flex;
      flex-direction: column;
      padding: 4rem 0 4rem 0;
      box-shadow: 4px 0 24px rgba(0, 0, 0, 0.06);
    }

    .nav-footer{   padding: 0 2rem;
      border-top: 1px solid rgba(148, 148, 148, 0.2);
      padding-top: 2.35rem;}

    .nav-logo {
      /* padding: 0 2rem; */
      margin-bottom: 4rem;
      text-align: center;
    }

    .nav-logo img {
      width: 80px;
      height: auto;
    }

    .nav-logo h3 {
      font-size: 1.25rem;
      font-weight: 700;
      color: var(--dark);
      margin-top: 1rem;
      margin-bottom: 0.25rem;
    }

    .nav-logo p {
      font-size: 0.85rem;
      color: #666;
      margin: 0;
    }

    .nav-links {
      flex: 1;
      padding: 0 2.5rem;
    }

    .nav-link {
      display: flex;
      align-items: center;
      padding: 0.875rem 1.25rem;
      color: var(--dark);
      text-decoration: none;
      border-radius: 12px;
      margin-bottom: 0.5rem;
      transition: all 0.3s ease;
      font-weight: 500;
      position: relative;
    }

    .nav-link i {
      margin-right: 0.75rem;
      font-size: 1.1rem;
    }

    .nav-link:hover {

        color: #cd0c3a;
      background: rgba(205, 12, 58, 0.05);
      text-shadow: 0 0 20px rgba(205, 12, 58, 0.3);
      animation: shadowPulse 1.5s ease-in-out infinite;
    }
    .nav-link.RF:hover {
      background: rgba(205, 12, 57, 0);
      text-shadow: none;
      animation: shadowPulse 1.5s ease-in-out infinite;
    }

    
    @keyframes shadowPulse {
      0%, 100% {
        text-shadow: 0 0 20px rgba(205, 12, 58, 0.3);
      }
      50% {
        text-shadow: 0 0 30px rgba(205, 12, 58, 0.5);
      }
    }

    footer {
    padding: 3.175rem 7rem;
    border-top: 1px solid rgba(205, 12, 58, 0.1);
    background: linear-gradient(135deg, rgba(205, 12, 58, 0.05) 0%, rgba(205, 12, 58, 0.02) 100%);
    color: #666;
    width: 100%;
    box-sizing: border-box;
    margin-left: var(--sidebar-width);
  }
  
  .footer-inner {
    max-width: 1100px;
    text-align: center;
    right:0;
  }
  
  footer p {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
    word-break: break-word;
  }
  
  @media (max-width: 700px) {
    footer {
      padding: 1.5rem 1rem;
    }
    .footer-inner {
      max-width: 100vw;
      padding: 0;
    }
    footer p {
      font-size: 0.98rem;
    }
  }

   

      footer p {
         margin-bottom: 0;
      }

    .social-links {
      display: flex;
      gap: 1.25rem;
      justify-content: center;
      margin-bottom: 1rem;
    }

    
    .social-icon {
      width: 40px;
      height: 40px;
      
      color: var(--dark);
      border-radius: 50%;
      border: 1px solid var(--accentLight);
      display: flex;
      align-items: center;
      justify-content: center;
      text-decoration: none;
      transition: all 0.3s;
    }

    .social-icon:hover {
      animation: shadowPulse 1.5s ease-in-out infinite;
      transform: translateY(-3px);
    }

    .nav-cta {
      display: block;
      text-align: center;
      background: var(--primary);
      color: white;
      padding: 0.75rem;
      border-radius: 12px;
      text-decoration: none;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.3s;
      margin-top: 1rem;
    }

    .nav-cta:hover {
      background: var(--primary-hover);
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(205, 12, 58, 0.3);
    }

    /* Mobile Menu Toggle */
    .mobile-toggle {
      display: none;
      position: fixed;
      top: 1rem;
      left: 1rem;
      z-index: 1001;
      background: white;
      border: 2px solid var(--primary);
      border-radius: 12px;
      padding: 0.75rem;
      cursor: pointer;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .mobile-toggle i {
      font-size: 1.5rem;
      color: var(--primary);
    }

/* ---- PROJECTS INLINE DROPDOWN (FLOW-BASED) ---- */

.nav-link-embedded-dropdown {
  display: flex;
  flex-direction: column;

  
}
.nav-link-embedded-dropdown:hover {
   color: #cd0c3a;
      background: rgba(205, 12, 58, 0.05);
      text-shadow: 0 0 20px rgba(205, 12, 58, 0.3);
      animation: shadowPulse 1.5s ease-in-out infinite;
      border-radius: 12px;
}

.nav-link-embedded-dropdown .nav-link[aria-expanded="true"] {
  color: var(--dark);
  background: rgba(205, 12, 58, 0.05);
      text-shadow: 0 0 20px rgba(205, 12, 58, 0.3);
      animation: shadowPulse 1.5s ease-in-out infinite;
      border-radius: 12px;
}

.embedded-dropdown-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);

  transition:
    max-height .75s ease,
    opacity .5s ease,
    transform .5s ease;
  margin-left: 1rem;
}

#projectsToggle.nav-link:hover{
  background: none;
}
#projectsToggle.nav-link a:hover{
  color: var(--primary);
}


/* EXPAND ON HOVER */
.nav-link-embedded-dropdown:hover .embedded-dropdown-list {
  max-height: 600px;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  padding: 0.25rem 0 .25rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: var(--dark);
  text-decoration: none;
  display: block;
  transition: background 0.3s ease;
}

.dropdown-item:hover {
   background: rgba(82, 44, 53, 0);
      text-shadow: none;
      animation: shadowPulse 1.5s ease-in-out infinite;
}

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


    /* Responsive */
    @media (max-width: 1024px) {
      body {
        margin-left: 0;
      }

      .main{
        margin: 0 2rem;
      }

      .side-nav {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
      }

      .side-nav.open {
        transform: translateX(0);
      }

      .mobile-toggle {
        display: block;
      }

      .featured-projects {
        grid-template-columns: 1fr;
      }

      main {
        margin-left: 0; /* <-- Add this line */
      }
    }

/* small screens: horizontal scroll */
@media (max-width: 720px) {
  .bar-nav { overflow-x:auto; padding:.5rem; gap:.6rem; }
  .bar-link { white-space:nowrap; font-size:.95rem; }
}.wave-wrap { display:inline-block; position:relative; vertical-align:middle; }
.wave-wrap .wave-word { display:inline-block; margin:0; }

/* squiggle fills the width of the wave-wrap (matches heading) */
.wave-wrap .squiggle-underline {
  display:block;
  width:100%;
  margin-top:0.6rem;    /* adjust vertical spacing under heading */
  overflow:visible;
}
.wave-wrap .squiggle-underline svg {
  width:100%;
  height:18px;
  display:block;
  transform:none;
  pointer-events:none;
}

.wave-wrap.extend .squiggle-underline svg { width:110%; transform:translateX(-5%); }

.squiggle-underline svg { max-width:100%; height:auto; }
/* 
.about {
  width: 100%;
  margin: 0 ;
  display: block;
  align-items: left;
  align-content: initial;
  position: relative;
} */



.about-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 1.2rem;
}

/* Responsive: stack on small screens */
@media (max-width: 800px) {

  .about-section {
    text-align: center;
  }
}

/* ===== PROJECTS GALLERY ===== */

.featuredGrid {
  --tile-radius: 16px;
  --tile-shadow: 0 10px 26px rgba(0,0,0,0.08);
  --tile-shadow-hover: 0 18px 44px rgba(0,0,0,0.12);

  width: min(1200px, 100%);
  margin: 0 auto 0 auto;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 3.5rem;
  padding: 1.25rem 0;
}

@media (max-width: 900px) {
  .featuredGrid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .CTAbuttons{
    justify-self: center;
  }
  .tile4 {
    max-width: 55%;
  }
}

.featuredTile {
  position: relative;
  display: block;
  overflow: hidden;

  border-radius: 25px;
  background: #fff;
  box-shadow: var(--tile-shadow);
  text-decoration: none;

  aspect-ratio: 16/9;
}

.featuredTile:hover {
  box-shadow: var(--tile-shadow-hover);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.featuredImg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1);
  transition: transform 320ms ease;
}

.featuredTile--special {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      max-width: 100%;
}

.featuredImg--contain {
  margin: 0 auto;
  display: block;
  max-width: 90%;
  height: auto;
}
.featuredTile:hover .featuredImg {
  transform: scale(1.04);
}

.featuredLabel {

  padding: 0.9rem 1rem;
   color: var(--dark);
  font-weight: 550;
  font-size: 1.45rem;

}
.featuredDescription {
  font-weight: 400;
  margin:0;
  font-size: 1.25rem;
  line-height: 1.4;
}

.featuredProject:hover .viewProject,
.exploreRow:hover .viewProject {
    opacity: 0;
    animation: opacityIn 0.25s cubic-bezier(0.6, 1, 0.32, 1) forwards;
}


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


.nowrap {
  white-space: nowrap;
}



.heroRow {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

@media (max-width: 900px) {
  .heroRow {
    flex-direction: column;
    gap: 2rem;
  }
  .heroLeft, .heroRight {
    width: 100%;
    max-width: 100%;
    align-self: center;
  }
  .tile2{
    max-width: 90%;
  }
}

.break-mobile {
  display: none;
}
@media (max-width: 520px) {
  .break-mobile {
    display: block;
    width: 100%;
    height: 0;
    line-height: 0;
    content: "";
  }
}
@media (max-width: 900px) {
  .hero {
    height: auto;
    min-height: unset;
    padding-bottom: 2rem; /* Add space below the hero section */
  }
}

#marquee:hover .labelArrow {
  opacity: 1;
  transform: translateX(6px);
  transition: opacity 0.5s, transform 0.5s;
}

.viewProject {
  color: var(--grayText);
  opacity: 0;
  transition: transform 0.5s ease-in-out;
  /* font-style: italic; */
  font-weight: 400;
  font-size: 1rem;
}

i.labelArrow{
  margin-left: .25rem;
}

.primaryArrow {
  color: var(--primary);
  opacity: 0;
  transition: transform 0.5s ease-in-out;
  margin-left: .25rem;
}

/* Mobile: label always visible */
@media (max-width: 600px) {
  .featuredLabel {
    opacity: 1;
  }
}

.featuredImg--contain {
  object-fit: contain;
  padding: 10%;
  transform: none; /* keep logo crisp */
}

/* Mobile polish */
@media (max-width: 600px) {
  .projectsGallery .label {
    font-size: 0.9rem;
    opacity: 1; /* always visible on mobile */
  }
}


.projectsGallery a,
.projectsGallery .tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  overflow: hidden;
  text-decoration: none;
  width: 100%;
  /* max-width: 340px; */
  margin: 0 auto;
}
.projectsGallery .tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.projectsGallery .tile:hover img { transform: scale(1.03); }
.projectsGallery .label {
  position: absolute;
  padding: .6rem;
  background: linear-gradient(transparent, rgba(0,0,0,.45));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  /* box-sizing: border-box; */
}

.indexSection {
  display:inline-block; 
  font-size: 3rem; 
  margin-bottom: 3rem;
}


#marquee {
  margin-bottom: var(--space-xl);
  max-width: 1100px;
  justify-content: right;

}

.marquee-flex-images {
  flex: 1 1 75%;
  overflow: hidden;
  position: relative;
  width: 100px;
}

.marquee-flex-images .marquee-inner {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee-left 30s linear infinite;
}

.marquee-flex-images .marquee-inner img {
  max-height: 100px;
  width: auto;
  object-fit: cover;
}

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

.marquee-row-flex {
  display: flex;
  align-items: right;
  justify-content: right;
  width: 102%;
  min-height: 10rem;
  gap: 2rem;
  background: var(--accentLight);
  border-radius: var(--squircle);  
  align-items: center;
    box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.10),      /* dark inner shadow at bottom */
    inset 0 -2px 8px rgba(255,255,255,0.7),/* light inner highlight at top */
    inset 0 -2px 8px rgba(0,0,0,0.10),     /* dark inner shadow at top */
    inset 0 2px 8px rgba(255,255,255,0.7); /* light inner highlight at bottom */
    /* box-shadow: horizontal_offset vertical_offset blur_radius spread_radius color inset; */

}

.marquee-text {
  flex: 0 0 30ch;         /* Fixed width for text */
  max-width: 30ch;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  /* padding-left: 2rem; */
}


.marquee-flex-images {
  flex: 1 1 0%;
  overflow: hidden;
  position: relative;
  width: auto;
  min-width: 0;
}

.marquee-flex-images .marquee-inner {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: marquee-left 30s linear infinite;
}

.marquee-flex-images .marquee-inner img {
  max-height: 100px;
  width: auto;
  object-fit: cover;
}

/* Responsive: stack on mobile */
@media (max-width: 900px) {
  .marquee-row-flex {
    flex-direction: column;
    gap: 1rem;
  }
  .marquee-text, .marquee-flex-images {
    flex: 1 1 100%;
    max-width: 100%;
    padding-left: 0;
    text-align: center;
  }
  .marquee-flex-images .marquee-inner img {
    height: 5rem;
    width: 70px;
  }
}

.exploreMore {
  margin-left: var(--sidebar-width);
  width: 100vw !important;
  max-width: 1100px !important;
  padding: var(--sidePadding);
  background-color: var(--accentLight);
  box-sizing: border-box;
}
.exploreRow {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  text-decoration: none;
}
.exploreGrid {
  width: min(1000px, 100%);
  margin: 1.5rem auto 0 5rem;

  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1.25rem 0;
}
.exploreTile {
  flex-shrink: 0;
  width: 25%;
  aspect-ratio: 17 / 11;

  overflow: hidden;                /* CLIPS THE ZOOM */
  border-radius: var(--squircle);
  box-shadow: var(--tile-shadow);
}


.exploreImg {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1);
  transition: transform 320ms ease;
}


.exploreRow:hover .exploreImg {
  transform: scale(1.04);
}

.exploreLabel {
  padding: 0.9rem 1rem;
  color: var(--dark);
  font-weight: 550;
  font-size: 1.05rem;
} 

.exploreDescription {
  font-weight: 350;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.6);
  border-radius: 50%;
  background-size: 60% 60%;
}


.CTAbuttons{
  display: flex;
  gap: 1.25rem;
  margin-top: 1rem;
}

 .blob-btn {
	 z-index: 1;
	 position: relative;
	 padding: .5rem 1rem;
	 /* color: var(--primary); */
   	 color: var(--dark);
	 outline: none;
	 border: none;
	 transition: color 0.5s;
	 border-radius: 10px;


}
 .blob-btn:before {
	 content: "";
	 z-index: 1;
	 position: absolute;
	 left: 0;
	 top: 0;
	 width: 100%;
	 height: 100%;
	 border: 1.5px solid var(--primary);
	 border-radius: var(--squircle);
}
 .blob-btn:after {
	 content: "";
	 z-index: -2;
	 position: absolute;
	 width: 100%;
	 height: 100%;
	 transition: all 0.3s 0.2s;
	 border-radius: var(--squircle);
}
 .blob-btn:hover {
	 color: var(--light);
	 border-radius: var(--squircle);
}
 .blob-btn:hover:after {
	 transition: all 0.3s;
	 left: 0;
	 top: 0;
	 border-radius: var(--squircle);
}
 .blob-btn__inner {
	 z-index: -1;
	 overflow: hidden;
	 position: absolute;
	 left: 0;
	 top: 0;
	 width: 100%;
	 height: 100%;
	 border-radius: var(--squircle);
	 background: var(--light);
}
 .blob-btn__blobs {
	 position: relative;
	 display: block;
	 height: 100%;
	 filter: url('#goo');
}
 .blob-btn__blob {
	 position: absolute;
	 top: 2px;
	 width: 25%;
	 height: 100%;
	 background:var(--primary);
	 border-radius: 100%;
	 transform: translate3d(0, 150%, 0) scale(1.7);
	 transition: transform 0.45s;
}

@supports (filter: url('#goo')) {
  .blob-btn:hover .blob-btn__blob {
    transform: translate3d(0, 150%, 0) scale(1.4);
  }}

 .blob-btn__blob:nth-child(1) {
	 left: 0%;
	 transition-delay: 0s;
}
 .blob-btn__blob:nth-child(2) {
	 left: 30%;
	 transition-delay: 0.08s;
}
 .blob-btn__blob:nth-child(3) {
	 left: 60%;
	 transition-delay: 0.16s;
}
 .blob-btn__blob:nth-child(4) {
	 left: 90%;
	 transition-delay: 0.24s;
}
 .blob-btn:hover .blob-btn__blob {
	 transform: translateZ(0) scale(1.7);
}
@supports (filter: url('#goo')) {
  .blob-btn:hover .blob-btn__blob {
    transform: translateZ(0) scale(1.4);
}}/* 1. Explore section responsive */
@media (max-width: 1024px) {
  .exploreMore {
    margin-left: 0;
    width: 100%;
    max-width: 100%;
    padding: var(--space-sm);
  }
}

/* 2. Section padding for mobile */
@media (max-width: 600px) {
  section {
    padding: 0 1rem;
  }
}

/* 3. Main margin for mobile */
@media (max-width: 1024px) {
  .main {
    margin: 0 1rem;
  }
}



@media (max-width: 900px) {
  .heroLeft {
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 2rem;
    align-items: flex-start;
    text-align: center;
  }
  .heroRight {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .tile2 {
    max-width: 90%;
  }
}



@keyframes wobble-vertical {
  16.65% { transform: translateY(8px); }
  33.3%  { transform: translateY(-6px); }
  49.95% { transform: translateY(4px); }
  66.6%  { transform: translateY(-2px); }
  83.25% { transform: translateY(1px); }
  100%   { transform: translateY(0); }
}

.wobble-vertical {
  display: inline-block;
  /* Remove mixins, use browser defaults */
}

.wobble-vertical:hover {
  animation-name: wobble-vertical;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

@keyframes wobble-horizontal {
  16.65% { transform: translateX(8px); }
  33.3%  { transform: translateX(-6px); }
  49.95% { transform: translateX(4px); }
  66.6%  { transform: translateX(-2px); }
  83.25% { transform: translateX(1px); }
  100%   { transform: translateX(0); }
}

.wobble-horizontal {
  display: inline-block;
  /* Remove mixins, use browser defaults */
}

.wobble-horizontal:hover {
  animation-name: wobble-horizontal;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}

@keyframes wobble-diagonal {
  16.65% { transform: translate(8px, 8px); }
  33.3%  { transform: translate(-6px, -6px); }
  49.95% { transform: translate(4px, 4px); }
  66.6%  { transform: translate(-2px, -2px); }
  83.25% { transform: translate(1px, 1px); }
  100%   { transform: translate(0, 0); }
}

.wobble-diagonal {
  display: inline-block;
}

.wobble-diagonal:hover {
  animation-name: wobble-diagonal;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
@keyframes wobble-diagonal-left {
  16.65% { transform: translate(-8px, 8px); }
  33.3%  { transform: translate(6px, -6px); }
  49.95% { transform: translate(-4px, 4px); }
  66.6%  { transform: translate(2px, -2px); }
  83.25% { transform: translate(-1px, 1px); }
  100%   { transform: translate(0, 0); }
}

.wobble-diagonal-left {
  display: inline-block;
}

.wobble-diagonal-left:hover {
  animation-name: wobble-diagonal-left;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: 1;
}
#featuredProjects {
  background: var(--accentLight, #f5f7fa);
  border-radius: 2rem;
  min-width: calc(100vw - var(--sidebar-width));
}

.featuredProjects-inner {
  padding: 2.5rem 2rem;
  margin: 0 auto;
  box-sizing: border-box;
  padding-top: 4rem;
  max-width: 1100px;
}

.playground-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.playground-btn-link {
  display: flex;
  align-items: center;
  margin-left: auto;
}

@media (max-width: 700px) {
  .playground-flex {
    flex-direction: column;
    align-items: flex-start;
  }
  .playground-btn-link {
    margin-left: 0;
    width: 100%;
    justify-content: flex-end;
    display: flex;
  }
}




