
html.lenis {
    height: auto;  cursor:none !important;
}
* {
  cursor: none !important;
}

/* Global Resets */
* {
    margin: 0;  padding: 0;  box-sizing: border-box;
}
/* Base Body Styles */
body {
    font-family: var(--font-primary);  background: var(--color-text-secondary);  color: var(--color-text-primary);  overflow-x: hidden;  cursor: none !important;
    
}
a, button{
    cursor:none !important;

}
.refract{
        backdrop-filter: url(#liquid-lens);
    -webkit-backdrop-filter: url(#liquid-lens);
}
::-webkit-scrollbar {
    width: 0;  /* Remove scrollbar space */  background: transparent;  /* Optional: just make scrollbar invisible */
}
/* Optional: show position indicator in red */
::-webkit-scrollbar-thumb {
    background: var(--color-accent);
}
body.in-hero-section {
    --color-text-primary: var(--fixed-text-light);  --color-text-secondary: var(--fixed-text-dark);
}
.sections {
    width: var(--section-width);  margin: 0 auto;  padding: var(--section-padding-y) 0 !important;  position: relative;  display: flex;  flex-direction: column;  justify-content: center;
        overflow: visible;
}
.s-85{
        width: var(--section-width) !important;  margin: 0 auto;
}
.mains{
    background: var(--color-text-secondary);
}

/*
==================================================
== 3. Shared Components (Buttons, Utilities)    ==
==================================================
*/
/* NEW Global Button Style */
/*
====================================
== 4. Branding Studio Section (bs) ==
====================================
*/
.bs-branding-section {
    display: flex;  flex-direction: column;  justify-content: center;  align-items: center;  text-align: center;  margin-top: 80px;
}
.bs-section-title {
    font-weight: 500;  font-size: 14px;  letter-spacing: 2.5px;  margin-bottom: 2rem;  color: var(--color-text-primary);
}
.bs-tagline-text {
    font-size: 28px;  line-height: 1.3;  margin-bottom: 3rem;  letter-spacing: -0.01em;
}
.bs-serif-text {
    font-family: var(--font-serif);  font-style: italic;  font-size: calc(100% + 3px);
}
.bs-serif-text-n {
    font-family: var(--font-serif);  font-style: italic;  font-size: 36px;
}
.bs-video-container {
    width: 70%;  max-width: 700px;  position: relative;  margin-bottom: 2rem;  overflow: hidden;  border-radius: 1500px;  aspect-ratio: 2.2/1;
    
    transition: transform var(--transition-medium);
}
.bs-video-container:hover {
    transform: scale(1.02);  overflow: visible;
}
.bs-video-placeholder {
    width: 100%;  height: 100%;  object-fit: cover;  border-radius: 1500px;
}
.bs-play-overlay {
    position: absolute;  top: 50%;  left: 50%;  transform: translate(-50%, -50%);  width: 120px;  height: 120px;  display: flex;  align-items: center;  justify-content: center;  opacity: 0;  transition: opacity var(--transition-medium), transform var(--transition-medium);
}
.bs-video-container:hover .bs-play-overlay {
    opacity: 1;  transform: translate(-50%, -50%) scale(1.1);
}
.bs-play-circle {
    width: 120px;  height: 120px;  animation: bs-rotate 20s linear infinite;
}
.bs-play-circle text {
    fill: var(--color-text-secondary);
}
.bs-play-button {
    position: absolute;  top: 50%;  left: 50%;  transform: translate(-50%, -50%);  width: 60px;  height: 60px;  border-radius: 50%;  display: flex;  align-items: center;  justify-content: center;  transition: all var(--transition-medium);
}
.bs-video-container:hover .bs-play-button {
    transform: translate(-50%, -50%) scale(1.1);
}
.bs-play-icon {
    width: 0;  height: 0;  border-left: 16px solid var(--color-text-secondary);  border-top: 10px solid transparent;  border-bottom: 10px solid transparent;  margin-left: 4px;
}
.bs-modal {
    display: none;  position: fixed;  z-index: 999;  left: 0;  top: 0;  width: 100%;  height: 100%;  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);  backdrop-filter: blur(20px);  animation: bs-fadeIn var(--transition-medium) cubic-bezier(0.4, 0, 0.2, 1);
}
.bs-modal.active {
    display: flex;  align-items: center;  justify-content: center;  padding: 20px;
}
.bs-modal-content {
    position: relative;  width: calc(100vw - 40px);  height: calc(100vh - 40px);  background: var(--color-text-primary);  border-radius: var(--border-radius-m);  overflow: hidden;  display: flex;  align-items: center;  justify-content: center;  animation: bs-slideIn var(--transition-slow) cubic-bezier(0.4, 0, 0.2, 1);
}
.bs-modal-video {
    width: 100%;  height: 100%;  object-fit: cover;  border-radius: var(--border-radius-m);
}
.bs-modal-video::-webkit-media-controls {
    display: none !important;
}
/* The bs-modal-close button style from original CSS is PRESERVED and adapted */
.bs-modal-close {
    position: absolute;  top: 20px;  right: 20px;  border: none;  border-radius: 50%;  color: var(--color-text-primary);  font-size: 20px;  font-weight: 300;
    
    display: flex;  align-items: center;  justify-content: center;  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);  background: rgba(26, 26, 26, 0.8);  z-index: 10001;
}
.bs-modal-close:hover {
    background: rgba(26, 26, 26, 0.8);  border-color: rgba(255, 255, 255, 0.4);  transform: scale(1.1) rotate(90deg);  box-shadow: 0 8px 32px rgba(26, 26, 26, 0.3);
}
.bs-modal-close:active {
    transform: scale(0.95) rotate(90deg);
}
/* Animation & Helper Classes */
.bs-fade-up {
    opacity: 0;  transform: translateY(30px);
}
.bs-fade-in {
    opacity: 0;
}
@keyframes bs-rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
@keyframes bs-fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes bs-slideIn {
    from {
        opacity: 0;  transform: scale(0.95);
    }
    to {
        opacity: 1;  transform: scale(1);
    }
}
.icons-bento-g{
    height:75px;
}

/*
==================================================
== 6. Testimonial Scroll Reveal Section & Related ==
==================================================
*/
.testimonials-container {
    position: relative;  color: var(--color-text-primary);
}
.pre-section,
.post-section {
    /* Kept for structure if needed */  display: none;
}
.header-section {
    position: sticky;  top: 20vh;  height: 20vh;  display: flex;  align-items: center;  justify-content: center;  padding: 20px;  z-index: 20;  text-align: center;
}
.header-title {
    font-size: var(--heading-font-size);  font-weight: 300;  margin-bottom: 0.5rem;  line-height: 1;
}
.header-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);  font-style: italic;  font-weight: 300;  color: var(--color-accent);
}
.testimonial-reveal-container {
    height: 400vh;  position: relative;
}
.testimonial-reveal-section {
    position: sticky;  top: 0;  height: 100vh;  display: flex;  align-items: center;  justify-content: center;  padding: 50px;  z-index: 5;  padding-top: 90px;
}
.testimonial-content {
    text-align: center;  margin-top: 15vh;
}
.testimonial-text {
    font-size: clamp(1.2rem, 5vw, 2rem);
    line-height: 1.4;
    font-weight: 300;
}
.testimonial-meta {
    display: flex;  align-items: center;  justify-content: center;  gap: 1rem;  font-size: 24px;  font-family: var(--font-serif);  font-style: italic;  padding-top: 30px;
}
.moving-block {
    position: fixed;  width: 80px;  height: 80px;  z-index: 15;  transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    opacity: 1;  pointer-events: auto;
}
.moving-block:hover {
    transform: scale(1.2) !important;
}
.moving-block.block1 {
    background: var(--gradient-testimonial-1);  border-radius: var(--border-radius-m);
}
.moving-block.block2 {
    background: var(--gradient-testimonial-2);  border-radius: 50%;
}
.moving-block.hidden {
    opacity: 0 !important;  pointer-events: none;
}
.cursor-placeholder {
    width: 20px;  height: 20px;  background: var(--color-accent);  border-radius: 50%;  flex-shrink: 0;
}
.word {
    display: inline-block;  margin: 0 0.1em;  transition: opacity 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);  opacity: 0.4;
}
.word.revealed {
    opacity: 1;
}
.italic-text {
    font-style: italic;  font-family: var(--font-serif);  color: var(--color-accent);
}
.bs-fade-up {
  opacity: 0;
  transform: translateY(30px);
}
/*
======================================
== 7. Gradient Blocks Layout Section ==
======================================
*/
.containers {
    margin-top: 0px;
}
.container {
    max-width: 1100px;
}
.layout-wrapper {
    display: flex;  gap: 20px;  height: 70vh;  width: 100%;
}
.column {
    display: flex;  flex-direction: column;  gap: 20px;  flex: 1;  height: 100%;
}
.block {
    border-radius: var(--border-radius-l);  padding: 30px;  display: flex;  align-items: center;  justify-content: center;  text-align: center;  position: relative;
}
.block-text {
    font-size: 18px;  line-height: 1.4;  font-style: italic;  z-index: 2;  position: relative;
}
/* Utility classes adapted for the theme */
.black-text {
    color: var(--color-text-secondary);
}
/* Used on dark blocks */
.white-text {
    color: var(--color-text-muted);
}
/* Used on light gradient blocks */
.block-1 {
    background: var(--gradient-1);  height: 15%;
}
.block-2 {
    background: var(--color-text-secondary-offset);  height: 40%;
}
.block-3 {
    background: var(--gradient-2);  height: 35%;
}
.block-4 {
    background: var(--gradient-3);  height: 45%;
}
.block-5 {
    background: var(--color-text-secondary-offset);  height: 25%;
}
.block-6 {
    background: var(--gradient-4);  height: 20%;
}
.block-7 {
    background: var(--gradient-5);  height: 55%;
}
.block-8 {
    background: var(--color-text-secondary-offset);  height: 25%;
}
.block-9 {
    background: var(--color-text-secondary-offset);  height: 10%;
}
/*
========================================
== 9. Form, Projects, Blogs & Others  ==
========================================
*/
/* Form Section */
form {
    background: transparent !important;
}


.form-input {
    width: 100%;  border: none;  border-bottom: 1px solid var(--color-text-muted);  padding: 8px 4px;  outline: none;  transition: border-bottom 0.3s ease;  background-color: transparent;  color: var(--color-text-primary);
}
.form-input:focus {
    border-bottom: 2px solid var(--color-accent);
}
.pill-grid {
    display: flex;  gap: 8px;  flex-wrap: wrap;
}
.pill-option {
    padding: 8px 12px !important;  border: 1px solid var(--color-text-muted);  border-radius: var(--border-radius-pill);  text-align: center;
    
    user-select: none;  transition: all 0.2s ease;  color: var(--color-text-primary);  font-family: var(--font-serif);  font-style: italic;
}
.pill-option.selected {
    background-color: var(--color-text-primary);  color: var(--color-text-secondary);  border-color: var(--color-accent);
}
.pill-option:not(.selected):hover {
    border-color: var(--color-accent);
}
.max-content {
    width: max-content;  height: max-content
}
.new-options {
    display: flex;  flex-direction: column;  justify-content: flex-end;  align-items: flex-end;  gap: 8px;
}
.new-options a {
    all: unset;
    
    text-align: right;  font-weight: 400;  display: inline-flex;  align-items: center;  justify-content: flex-end;  gap: 0;  transition: gap 0.3s ease;
}
.new-options a svg {
    width: 0;  height: auto;  overflow: hidden;  opacity: 0;  transition: all 0.3s ease;
}
.new-options a:hover {
    gap: 10px;
    /* Adds space between text and SVG */
}
.new-options a:hover svg {
    width: 1em;  opacity: 1;
}
/* Projects Section */
.projects-pro {
    padding: 10vh 5vw;  display: flex;  flex-direction: column;  background: transparent;
}
.project-pro {
    display: flex;  gap: 5px;  align-items: flex-start;  flex-direction: column;  justify-content: space-between;
}
.project-col {
    display: flex;  flex-direction: column; flex:1;
}
.project-image-pro {
position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-m);
    height: 800px !important;
    width: 100%;
        max-height: max-content;
}
/* Base styles for image */
.project-image-pro img {
    width: 100%;  object-fit: cover;  border-radius: var(--border-radius-m);  display: block;  transition: opacity 0.3s ease;  z-index: 2;  position: relative;
}

.blogs-grid {
    display: flex;  flex-direction: row;  gap: 20px;  width: 100%;  margin-bottom: 50px;
}

.project-content-pro {
    display: flex
;
    /* flex-direction: column; */  align-items: center;  justify-content: space-between;  width: 100%;  will-change: rotate;
    margin-bottom:20px;
transition: rotate 0.3s ease-in-out;
}
.project-content-pro svg{
transition: all 0.3s ease-in-out;
}
.project-content-pro:hover svg{
rotate: 45deg;  transition: all 0.3s ease-in-out;
}
.pro-100 {
    margin-top: 50vh;
}
.project-number-pro {
    font-size: 1.2rem;  font-weight: 500;
    /* opacity: 0.6; */  font-family: var(--font-serif);
}
.project-title-pro {
    all: unset;  gap: 0;
    
    text-decoration: none;  transition: gap 0.3s ease;
}
.project-title-pro h3 {
    font-family: var(--font-serif, serif);  font-size: clamp(1.8rem, 2vw + 0.8rem, 2.5rem);  font-style: italic;  font-weight: 400;  margin: 0;  transition: transform 0.3s ease;     margin-top: -8px;
}
.project-title-pro svg {
    width: 0;  opacity: 0;  overflow: hidden;  transition: all 0.3s ease;  flex-shrink: 0;
}
.project-title-pro:hover {
    gap: 12px;
}
.project-title-pro:hover svg {
    width: 40px;  opacity: 1;  margin-bottom: 8px;
}
.project-title-pro:hover h3 {
    transform: translateX(-4px);
}
.project-description-pro {
    font-size: 1rem;  line-height: 1.6;
}
.read-more-link {
    all: unset;  font-family: var(--font-serif);  font-style: italic;  font-weight: 600;  margin-left: 5px;  white-space: nowrap;
    
    font-size: calc(100% + 2px);  position: relative;  display: inline-block;  color: var(--color-text-primary);
}
/* Underline animation */
.read-more-link::after {
    content: '';  position: absolute;  bottom: -1px;
    /* 2px below text */  left: 0;  width: 0%;  height: 2px;  background-color: currentColor;  transition: width 0.3s ease;
}
/* Animate on hover */
.read-more-link:hover::after {
    width: 100%;
}
.free-review-section {
    display: flex;  align-items: center;  justify-content: center;  position: relative;
}
.form-main{position:relative;}
 .content-wrapper {
    display: flex;  flex-direction: column;  gap: 30px;  align-items: center;  text-align: center;  transition: opacity 0.5s ease, transform 0.5s ease;
}

 .content-wrapper.hidden {
    opacity: 0;  pointer-events: none;  position: absolute;
}
.content-wrapper h2 {
    font-size: var(--heading-font-size);  font-weight: 500;  line-height: 1.2;  font-family: var(--font-serif);
}
.content-wrapper p {
    width: 50%;  font-weight: 400;  color: var(--color-text-primary);
}
#review-form-container form {
    display: flex;  flex-direction: column;  gap: 30px;  align-items: center;  width: 100%;
}
.form-field-review {
    display: flex;  flex-direction: column;  width: 70%;  cursor:none;
}
.form-input-review {
    width: 100%;  border: none;  border-bottom: 1px solid var(--color-text-primary);  padding: 12px 4px;  font-size: 18px;  font-family: var(--font-primary);  outline: none;  transition: border-bottom 0.3s ease;  background-color: transparent;  color: var(--color-text-primary);
}
.form-input-review::placeholder {
    color: var(--color-text-primary);  font-style: italic;
}
.form-input-review:focus {
    border-bottom: 2px solid var(--color-text-primary);
}
.width70 {
    width: 70%;
}
form {
    background: transparent !important;
}
/* Overriding inline style */
.form-grid {
    display: grid;  grid-template-columns: repeat(2, 1fr);  gap: 40px;
}
.form-field {
    display: flex;  flex-direction: column;
}
.form-label {
    font-size: 18px;  margin-bottom: 8px;  font-weight: 400;  opacity: 0.5;  transition: opacity 0.3s ease;  color: var(--color-text-primary);  text-align:left;
}
input::placeholder {
    font-family: var(--font-serif);  font-size: 18px;  color: var(--color-text-primary)
}
.form-label.active {
    opacity: 1;
}

/* Blogs Section */
.blogs-bl {
    display: flex;  flex-direction: column;  background: transparent;  align-items: flex-end;
}
.another-flex{
        display: flex; 
        flex-direction:column;
        gap: 10px;
}
.another-span {
    font-family: var(--font-primary);  margin-bottom: 20px;  text-align: right;  width: 40%;
}
.projects-grid {
    display: flex;  flex-direction: row;  gap: 40px;justify-content: center;
}
     .blogs-bl {
          display: flex;  flex-direction: column;  background: transparent;  align-items: flex-end;  gap: 15px;  flex: 1;
      }

      .another-span {
          font-family: var(--font-body);  margin-bottom: 20px;  text-align: right;  width: 40%;
      }

      .blogs-grid {
          display: flex;  flex-direction: row;  gap: 20px;  width: 100%;  margin-bottom: 50px;
      }

      .blog-bl {
          display: flex;  flex-direction: column;  gap: 10px;  flex:1;
      }

      .blog-image-bl img {
          width: 100%;  height: 30vh;  object-fit: cover;  display: block;  border-radius: var(--border-radius-m);
      }

      .blog-content-bl {
          display: flex;  flex-direction: column;  gap: 5px;
      }

      .blog-title-bl {
font-size: clamp(1.8rem, 2vw + 0.8rem, 2.5rem);  font-weight: 500;  font-family: var(--font-serif);  display: -webkit-box;  -webkit-line-clamp: 2;  -webkit-box-orient: vertical;  overflow: hidden;  text-overflow: ellipsis;  line-height: 1.2;
      }

      .blog-bl a {
          text-decoration: none;   transition: color 0.3s ease;  width: max-content;
      }

      .blog-description-bl {
          font-size: 1rem;  line-height: 1.4;  color: var(--color-text-muted);  display: -webkit-box;  -webkit-line-clamp: 3;  -webkit-box-orient: vertical;  overflow: hidden;  text-overflow: ellipsis;
      }
/* blog-button-bl preserved and adapted */
.blog-button-bl {
    align-self: start;  padding: 0.6rem 1.2rem;  background-color: var(--color-accent);  color: var(--color-text-secondary);  border: none;  font-size: 1rem;  border-radius: var(--border-radius-s);
    
    transition: background 0.3s ease;
}
.blog-button-bl:hover {
    filter: brightness(1.2);
}
.project-link-bl {
    all: unset;  display: inline-flex;  align-items: center;  justify-content: flex-start;  gap: 0;
    
    text-decoration: none;  width: max-content;  transition: gap 0.3s ease;  position: relative;  font-family: var(--font-serif);  font-size: calc(100% + 2px);
}
.project-link-bl h3 {
    margin: 0;  font-family: var(--font-serif);  font-style: italic;  font-weight: 700;

font-size: clamp(1.8rem, 2vw + 0.8rem, 2.5rem);    color: var(--color-text-primary);  transition: transform 0.3s ease;  white-space: nowrap;
}
.project-link-bl svg {
    width: 0;  opacity: 0;  overflow: hidden;  transition: all 0.3s ease;  flex-shrink: 0;
}
/* Hover interactions */
.project-link-bl:hover {
    gap: 12px;
}
.project-link-bl:hover svg {
    width: 1.5rem;  opacity: 1;
}
.project-link-bl:hover h3 {
    transform: translateX(-4px);
}
/* For scrolling space */
.spacer {
    height: 10vh;
}
        .pin-wrapper {
            height: 400vh;  position: relative;
        }

        /* --- SECTION STYLES --- */
        .pinned-section {
            position: sticky;  top: 0;  height: 100vh;  width: 100%;  overflow: hidden;
        }

        .pinned-background {
    position: absolute;  top: 0;  left: 0;  height: 100vh;  width: 100%;  z-index: 0;  display: flex
;  justify-content: center;  align-items: center;  overflow: hidden;
        }

        .pinned-background svg .draw {
            stroke-dasharray: 3000;  stroke-dashoffset: 3000;  transition: stroke-dashoffset 0.1s ease-out;
        }

        .pinned-background.is-in-view svg .draw {
            animation: drawLine 4s 0.5s ease-out forwards;
        }

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

        /* CONTENT LAYOUT */
        .pinned-inner {
    display: flex;  position: relative;  z-index: 1;  height: 100%;  padding: 0 !important;  box-sizing: border-box;  justify-content: space-between;  flex-direction: row;
        }

        /* LEFT HEADING SIDE (Fixed) */
        .pinned-left {
            flex: 0.7;  height: 100vh;  position: relative;
        }

        .sticky-heading {
            position: sticky;  top: 50%;  transform: translateY(-50%);  margin: 0;  font-size: var(--heading-font-size);  line-height: 1.1;
        }
        .bs-serif-text {
            font-family: var(--font-serif);  font-style: italic;  font-weight: 400;
        }

        /* RIGHT SCROLLING CONTENT (Vertical Scroll) */
        .pinned-right {
            flex: 1;  height: 100%;  overflow-y: hidden;
        }
        
        .scroll-content {
            display: flex;  flex-direction: column;  gap: 40px;  padding: 10vh 2vw;  box-sizing: border-box;
        }

        .content-block {
width: 100%; flex-shrink: 0;
    /* flex-direction: column; */  border-radius: 200px;  background: radial-gradient(561.43% 540.61% at 5.71% -44.13%, var(--color-text-primary) 0%, rgba(0, 0, 0, 0.30) 100%);  padding: 50px 60px;  color: var(--color-text-secondary);  box-sizing: border-box;  display: flex
;  justify-content: space-between;  gap: 30px;
        }
        .none-appear{
            background: transparent !important;
        }

        .content-block span {
            display: flex;  flex-direction: column;  align-items: flex-start;  justify-content: space-between;  text-align: left;  flex: 1;
        }
        
        .heading-other { font-size: 2rem; }
        .content-block span .heading1 { font-size: clamp(2.2rem, 4vw, 1.8rem);  margin: auto 0;      line-height: 1.2;}
        .content-block span .numbering { font-size: 2rem;  opacity: 0.5; }

        .content-block .img-div {
    flex: 1.5;  width: 100%;  min-height: 200px;  border-radius: 300px;  background-size: cover !important;
        }
        
        .content-block:nth-child(7) .img-div { background: url('https://ik.imagekit.io/rlvntstudios/rlvntsite/howwedoit01.png') no-repeat center center; }
        .content-block:nth-child(8) .img-div { background: url('https://ik.imagekit.io/rlvntstudios/rlvntsite/howwedoit02.png') no-repeat center center; }
        .content-block:nth-child(9) .img-div { background: url('https://ik.imagekit.io/rlvntstudios/rlvntsite/howwedoit03.png') no-repeat center center; }
        .content-block:nth-child(10) .img-div { background: url('https://ik.imagekit.io/rlvntstudios/rlvntsite/howwedoit04.png') no-repeat center center; }
.grid-container {
    display: grid;  grid-template-columns: repeat(3, 1fr);  gap: 1rem;
}
.grid-item {
    height: 35vh;  position: relative;  overflow: hidden;  display: flex;  align-items: center;  justify-content: center;
}
.content1 {
    position: relative;  width: 100%;  height: 100%;
}
.image,
.letter-image,
.gif {
    position: absolute;  inset: 0;  display: flex;  justify-content: center;  align-items: center;
}
.letter-image {
    height: auto;  width: 100%;  z-index: 1;
   /* filter: brightness(0) invert(1); */   transition: transform 0.3s;  transition: opacity 0.3s ease;  object-fit: contain;
}
.image {
    object-fit: cover;  width: 100%;  height: 100%;
}
.gif {
    object-fit: cover;  width: 100%;  height: 100%;  opacity: 0;  transition: opacity 0.3s ease;  z-index: 2;
}
.grid-item:hover .gif {
    opacity: 1;
}
.grid-item:hover .image,
.grid-item:hover .letter-image {
    opacity: 0;
}
.services-header {
    display: flex;  justify-content: space-between;  align-items: flex-end;  margin-bottom: 50px;  width:100%;  overflow: visible;
}
.services-header-2 {
    display: flex;  flex-direction: column;  margin-bottom: 50px;
}
.services-title-2 {
font-size: var(--heading-font-size);  font-weight: normal;  color: var(--color-text-primary);  font-family: var(--font-serif);
}
.services-header-2 .left {
    justify-content: flex-start;  display: flex;  align-items: center;
}
.services-header-2 .right {
    justify-content: flex-end;  display: flex;  align-items: center;
}
.svg-container {
    display: grid;  width: 100%;  margin: -30px 0px;  align-items: center;  justify-content: center;
}
.svg-container img {
    width: 80px;  height: 80px;
}
.wave-hover {
    display: inline-block;  transition: transform 0.2s ease;  will-change: auto;  filter: invert(1) grayscale(1) brightness(0);
}
.wave-hover:hover {
    animation: wave-shake 0.6s ease-in-out infinite;  will-change: transform;
}
@keyframes wave-shake {
    0% {
        transform: rotate(0deg) translateX(0);
    }
    20% {
        transform: rotate(4deg) translateX(4px);
    }
    40% {
        transform: rotate(-4deg) translateX(-4px);
    }
    60% {
        transform: rotate(2deg) translateX(2px);
    }
    80% {
        transform: rotate(-2deg) translateX(-2px);
    }
    100% {
        transform: rotate(0deg) translateX(0);
    }
}
#loader {
    position: fixed;  inset: 0;  z-index: 1000;  background-color: var(--color-text-secondary);  display: flex;  align-items: center;  overflow: hidden;  will-change: opacity;  justify-content: center;
}
#loader-growth-container {
    position: relative;
    /* Restored the wider, taller dimensions for better visual presence */  width: 65vw;  height: 65vh;  border-radius: 40px;  overflow: hidden;  transform: translateZ(0);  will-change: width, height, border-radius;
}
/* New UI container to perfectly align text with the image corners */
#loader-ui-container {
    position: absolute;  width: 65vw;  bottom: 50px;  display: flex;
    
    justify-content: space-between;  align-items: flex-end;  pointer-events: none;  will-change: opacity;  padding: 0 20px;
}
#webgl-loader-container {
    position: absolute;  top: 50%;  left: 50%;  width: 100vw;  height: 100vh;  transform: translate(-50%, -50%);
}
.bottom-left-text {
    font-size: calc(100% + 4px);  font-weight: 400;
    /* Bolder */  line-height: 1;  text-transform: uppercase;  color: var(--color-text-primary);  max-width: 50%;  font-family: 'Instrument Serif', serif;
    height:60px;
}
.counter
 {
    font-family: 'Instrument Serif', serif;
font-size: clamp(4.5rem, -1.25rem + 12.8571vw, 10rem);  font-weight: 400;  line-height: 0.8;  text-shadow: 2px 2px 0 var(--color-text-secondary), -2px 2px 0 var(--color-text-secondary), 2px -2px 0 var(--color-text-secondary), -2px -2px 0 var(--color-text-secondary), 2px 0 0 var(--color-text-secondary), -2px 0 0 var(--color-text-secondary), 0 2px 0 var(--color-text-secondary), 0 -2px 0 var(--color-text-secondary);
}
/* Old UI Wrapper from previous versions is not needed anymore */
#loader-ui-wrapper {
    display: none;
}
/* --- HERO SECTION STYLES (Unchanged) --- */
.container {
    width: 100%;  height: 100vh;  position: relative;  overflow: hidden;  visibility: hidden;  opacity: 0;  background: transparent;  color: var(--color-text-secondary);
}
#webgl-hero-container {
    position: absolute;  inset: 0;  z-index: 0;
}
.content,
.bottom-credits {
    position: relative;  z-index: 1;
}
.content {
    height: 100vh;  display: flex;  flex-direction: column;  align-items: center;  justify-content: center;  text-align: center;  gap: 20px;  color: var(--color-text-secondary);
}
.support {
    text-transform: uppercase;  letter-spacing: 10px;  font-size: calc(100% - 4px);  text-align: center;
}
h1 {
    font-size: clamp(3rem, -1.25rem + 12.8571vw, 10rem);  font-weight: 500;  font-family: var(--font-serif);  margin: 0;  text-align: center;  line-height: 0.9;
}
h1 span {
    font-weight: 500;  font-family: var(--font-serif);  font-style: italic;
}
.hero-title,
.studio-label,
.bottom-credits {
    will-change: transform, opacity;
}


.line-wrapper {
    display: inline-block;  overflow: hidden;  vertical-align: bottom;
}
.studio-label .line-wrapper {
    display: block;
}
.studio-label {
    font-family: var(--font-primary);  font-size: 14px;  letter-spacing: 4px;  text-transform: uppercase;  margin-top: 25px;
}
.hero-title {
    font-family: 'Instrument Serif', serif;  font-size: 84px;  font-weight: 400;  line-height: 1.05;
}
.hero-title .ideas {
    font-style: italic;  font-size: 116px;
}
.hero-title {
    pointer-events: auto;
    
    transition: color 0.4s ease-out;
}
.bottom-credits {
    font-family: 'Instrument Serif', serif;  font-size: 20px;  text-transform: uppercase;  position: absolute;  bottom: 40px;  left: 0;  width: 100%;  display: flex;  justify-content: space-between;  padding: 0 80px;
}
.line-text {
    text-transform: uppercase;  letter-spacing: 10px;  font-size: calc(100% - 4px);  text-align: center;
}
.bottom-credits::before {
    content: '';  position: absolute;  top: -20px;  left: 80px;  right: 80px;  height: 1px;  opacity: 0.5;  transform: scaleX(var(--line-scaleX, 0));  transform-origin: left center;
}

.section-ms {
    height: 100vh;  display: flex;  align-items: center;  justify-content: center;  font-size: 2rem;  color: var(--color-text-secondary);
}
.section-ms:nth-child(1) {
    background: var(--color-accent);
}
.section-ms:nth-child(2) {
    background: #4ecdc4; /* Keeping original for visual demo unless an exact match is required */
}
.section-ms:nth-child(3) {
    background: #45b7d1; /* Keeping original for visual demo unless an exact match is required */
}
/* Updated CSS */
.bottom-bar-ms {
    position: fixed;  bottom: 4vh;  left: 0;  right: 0;  display: flex;  justify-content: space-between;  align-items: center;  width: 85vw;  margin: auto;  z-index: 900;  transform: translateY(0);  transition: transform 0.3s ease;  padding-bottom: 15px;  border-bottom: 1px solid var(--color-text-primary);
}
.leftbtn-btm {
    all: unset;  color: var(--color-text-primary);  font-family: var(--font-serif);  text-transform: uppercase;  font-size: calc(100% + 2px);  transition: color 0.3s ease;
    
}
.rightbtn-btm {
    all: unset;  color: var(--color-text-primary);  font-family: var(--font-serif);  text-transform: uppercase;  width: 200px;  font-size: calc(100% + 2px);  transition: color 0.3s ease;
    
}
.bottom-bar-ms.hidden-ms {
    transform: translateY(100%);  transition: transform 0.3s ease;
}
.dropdown-ms {
    position: relative;  display: inline-block;
}
.dropdown-content-ms {
    display: none;  position: absolute;  right: -40px;  bottom: 100%;  color: var(--fixed-text-dark);  background-color: var(--color-text-secondary);  z-index: 1001;  margin-bottom: 10px;  width: 200px;  border-radius: 8px;  transition: all 0.3s ease;
}
.dropdown-trigger-area-ms {
    position: absolute;  right: 0;  bottom: 0;  width: 100%;  height: 15px;  z-index: 1002;
}
.dropdown-item-ms {
    padding: 12px 16px;  cursor:none;  display: block;  text-align: left;  border: none;  color: var(--fixed-text-dark);  width: 100%;  font-size: calc(100% + 2px);  font-style: italic;  font-family: var(--font-serif);  transition: text-indent 0.3s ease;  text-indent: 0;
}
.dropdown-item-ms:hover {
    color: var(--fixed-text-dark);  text-indent: 5px;
}
.dropdown-item-ms.active {
    background-color: var(--color-accent);  color: var(--color-text-secondary);
}
.modal-overlay-ms {
    display: none;  position: fixed;  top: 0;  left: 0;  width: 100%;  height: 100%;  background: rgba(0, 0, 0, 0.5);  z-index: 2000;
}
.modal-ms {
    position: absolute;  top: 50%;  left: 50%;  transform: translate(-50%, -50%);  padding: 40px;  border-radius: 8px;  width: 50vw;  background: var(--card-popular-text);
}
.modal-header-ms {
    display: flex;  justify-content: space-between;  align-items: center;  margin-bottom: 20px;  font-size: 1.2rem;  color: var(--color-text-primary);  font-family: var(--font-serif);  font-size: calc(100% + 2px);
}
.label-class {
    color: var(--color-text-secondary);  font-family: var(--font-serif);  font-style: italic;  font-size: calc(100% + 2px);  margin-bottom: 15px;
}
.datepicker {
    width: 100%;
}
.datepicker-view {
    align-items: stretch;  width: 100%;  margin-bottom: 40px;
}
.close-modal-ms {
    
    font-size: 1.5rem;
}
.step-indicator-ms {
    border-radius: 4px;  font-size: 0.8rem;  width: 100%;  margin-bottom: 15px;  display: inline-block;
}
.datepicker-picker {
    background:transparent;
}
.modal-footer-ms button {
    all: unset;
    
    text-align: right;  font-family: var(--font-serif);  font-weight: 400;  font-style: italic;  font-size: calc(100% + 4px);  display: inline-flex;  align-items: center;  justify-content: flex-end;  gap: 0;  margin-left: 10px;  color: var(--color-text-primary);  transition: gap 0.3s ease;
}
button:disabled {
    opacity: 0.6 !important;
}
.modal-footer-ms button svg {
    width: 0;  height: auto;  overflow: hidden;  opacity: 0;  transition: all 0.3s ease;
}
.modal-footer-ms button:hover {
    gap: 10px;
    /* Adds space between text and SVG */
}
.modal-footer-ms button:hover svg {
    width: 1em;  opacity: 1;
}
.form-group-ms {
    margin-bottom: 15px;
}
.form-group-ms label {
    display: block;  margin-bottom: 5px;  font-weight: bold;
}
.form-group-ms input,
.form-group-ms textarea {
    width: 100%;  padding: 8px;  border: 1px solid #ddd;  border-radius: 4px;  box-sizing: border-box;
}
.radio-group-ms {
    display: flex;  flex-direction: column;  gap: 5px;
}
.radio-group-ms label {
    display: flex;  align-items: center;  font-weight: normal;  cursor: none !important;
}
.another-class {
    display: flex;  flex-direction: column;  gap: 20px;
}
.radio-group-ms input[type="radio"] {
    margin-right: 8px;  width: auto;
}
.radio-group-ms label span {
font-family: var(--font-serif);  font-size: calc(100% + 2px);  color: var(--color-text-primary);
}
.time-container-ms {
    display: grid;  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));  gap: 10px;  margin: 15px 0;
}
.time-slot-ms {
    padding: 10px;  border: 1px solid var(--color-text-muted);  border-radius: 8px;  color: var(--color-text-primary);  text-align: center;  transition: all 0.3s ease;  font-family: var(--font-serif);  font-style: italic;
}
.time-slot-ms:hover {
    background-color: #f8f9fa;
}
.time-slot-ms.selected {
    background-color: var(--color-accent);  color: var(--color-text-secondary);  border-color: var(--color-accent);
}
.modal-footer-ms {
    display: flex;  justify-content: space-between;  align-items: center;  margin-top: 20px;
}
.alert-ms {
    position: fixed;  top: 20px;  right: 20px;  background: #28a745;  color: var(--color-text-secondary);  padding: 15px;  border-radius: 4px;  transform: translateX(400px);  transition: transform 0.3s ease;  z-index: 3000;
}
.alert-ms.show {
    transform: translateX(0);
}
.hidden-ms {
    display: none !important;
}
#calendarInlineMs {
    margin: 15px 0;
}
.datepicker-cell.disabled {
color: var(--color-text-primary);  opacity: 0.7;
}
.datepicker-cell.focused:not(.selected) {
background-color: var(--color-text-primary);  color: var(--color-text-secondary);
}
.datepicker-cell.today.focused:not(.selected) {
    background-color: var(--color-accent);  border-radius: 2px;  color: var(--color-text-primary);
}
.datepicker-cell {
    color: var(--color-text-primary);
}
.datepicker-header .datepicker-controls .button {
    font-family: var(--font-serif);  font-style: italic;
}
.datepicker-cell {
    font-family: var(--font-serif);  cursor:none !important;  font-style: italic;
}

 

.portfolio-container-show {
    height: 100vh;  width: 100vw;  position: relative;  overflow: hidden;
}
/* Center content container */
.center-content-show {
    position: absolute;  top: 50%;  left: 50%;  transform: translate(-50%, -50%);  text-align: center;  z-index: 10;  display: flex;  flex-direction: column;  align-items: center;  gap: 40px;  pointer-events: none;
}
.main-heading-show h1 {
    font-family: var(--font-primary);
font-size: var(--heading-font-size);  font-weight: 300;  color: var(--color-text-primary);  margin-bottom: 8px;  opacity: 0;  transform: translateY(30px);  animation: slideInUp-show 1s ease-out 0.8s forwards;
}
.main-heading-show h2 {
    font-family: 'Instrument Serif', serif;
font-size: var(--heading-font-size);  font-weight: 400;  font-style: italic;  color: var(--color-text-primary);  opacity: 0;  transform: translateY(20px);  animation: slideInUp-show 1s ease-out 1s forwards;
}
/* Flags container */
.flags-container-show {
    display: flex;  align-items: center;  justify-content: center;  gap: -8px;  opacity: 0;  transform: translateY(30px);  animation: slideInUp-show 1s ease-out 1.2s forwards;
}
.flag-circle-show {
    width: 50px;  height: 50px;  border-radius: 50%;  overflow: hidden;  border: 2px solid var(--color-text-secondary);  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);  margin: 0 -4px;  position: relative;  z-index: 1;  transition: transform 0.3s ease;
}
.flag-circle-show:hover {
    transform: scale(1.1);
}
.flag-circle-show img {
    width: 100%;  height: 100%;  object-fit: cover;
}
/* Image containers with enhanced draggable functionality */
.image-container-show {
    position: absolute;  border-radius: 15px;  overflow: visible;  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);  cursor: grab;  transition: transform 0.1s ease, box-shadow 0.3s ease;  user-select: none;  z-index: 5;
}
.image-container-show:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}
.image-container-show:active {
    cursor: grabbing;  transform: scale(1.05) !important;  z-index: 100;  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.image-wrapper-show {
    width: 100%;  height: 100%;  border-radius: 15px;  overflow: hidden;  position: relative;
}
.image-container-show img {
    width: 100%;  height: 100%;  object-fit: cover;  pointer-events: none;  transition: transform 0.3s ease;
}
.image-container-show:hover img {
    transform: scale(1.05);
}
/* Enhanced project button */
.project-button-show {
    position: absolute;  bottom: -15px;  left: -15px;  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);  color: var(--color-text-secondary);  border: none;  border-radius: 25px;  padding: 8px 16px;  font-size: 12px;  font-weight: 600;  font-family: var(--font-primary);
    
    opacity: 0;  transform: translateY(10px) scale(0.8);  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);  z-index: 200;  pointer-events: none;  text-decoration: none;  display: inline-flex;  align-items: center;  gap: 6px;  letter-spacing: 0.5px;
}
.project-button-show::after {
    content: '↗';  font-size: 14px;  font-weight: bold;  transition: transform 0.3s ease;
}
.image-container-show:hover .project-button-show {
    opacity: 1;  transform: translateY(0) scale(1);  pointer-events: all;
}
.project-button-show:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);  transform: translateY(-3px) scale(1.05);  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}
.project-button-show:active {
    transform: translateY(0) scale(0.95);
}
/* Enhanced initial positions */
.top-left-show {
    top: 8vh;  left: 8vw;  width: 18vw;  height: 28vh;  transform: rotate(-8deg);
}
.top-right-show {
    top: 12vh;  right: 8vw;  width: 24vw;  height: 18vh;  transform: rotate(5deg);  background: linear-gradient(135deg, #ffeb3b, #ffc107);  padding: 12px;  display: flex;  align-items: center;  justify-content: center;
}
.top-right-show img {
    border-radius: 8px;
}
.bottom-left-show {
    bottom: 15vh;  left: 6vw;  width: 22vw;  height: 16vh;  transform: rotate(4deg);  background: linear-gradient(135deg, rgba(30, 60, 114, 0.2), rgba(42, 82, 152, 0.2));
}
.bottom-right-show {
    bottom: 8vh;  right: 10vw;  width: 16vw;  height: 26vh;  transform: rotate(-6deg);
}
.hand-sec {
    flex-direction: row;  gap: 7vw;  height: 100%;
}
.flex-1 {
    flex: 1;  width: 50%;
}
.hand-pos {
        margin-left: -11vw;
    overflow: auto;
    max-height: 400px;
}
.content-hand {
    display: flex;  flex-direction: column;  align-items: flex-end;  text-align: right;  justify-content: flex-end;  gap: 20px; margin-top:30vh;
}
.content-hand p {
    font-size: 25px;
}
.blocks-container {
    display: flex;  justify-content: space-between;  gap: 20px;  max-height: 75vh;  min-height: 650px;
}
.blk1 {
    display: flex;  flex-direction: column;  padding: 40px;  background-color: var(--color-text-primary);  border-radius: 8px;  gap: 20px;     align-items: flex-start; justify-content: flex-end;  min-height:70vh;  color: var(--color-text-secondary) !important;  border-radius: 8px;  text-align: right;flex:1;
}
.blk1:nth-child(1) {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url("https://ik.imagekit.io/rlvntstudios/rlvntsite/blks2.png")
              center / contain no-repeat;
}

.blk1:nth-child(2) {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url("https://ik.imagekit.io/rlvntstudios/rlvntsite/blks1.png")
              center / contain no-repeat;
}

.blk1:nth-child(3) {
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
              url("https://ik.imagekit.io/rlvntstudios/rlvntsite/blks3.png")
              center / contain no-repeat;
}

.blk1 img {
    width: 100%;  height: 100%;  border-radius: 6px;  object-fit: cover;
}
.blk1 span {
    color: var(--color-text-secondary);  margin-bottom: 0px;  font-size: 2rem;
}
.blk1 p {
    font-size: 24px;
    display: block;
    width: 75%;
    align-items:flex-start;
    text-align:left;
}
.blk1 a{
    font-size:24px;
    text-align:left;
    transition:all ease-in 0.3s;

}
.blk1 a:hover{
transform:translatex(5px);
font-weight:600;
transition:all ease-in 0.3s;
}
.blk1 .new-options a{
    display:inline;
}
em {
    font-family: var(--font-serif);
}
.bento-container-bento {
width: 100%;  display: flex;  flex-direction: row;  gap: 15px;  height: 100vh;  padding-left: 20px !important;  padding-right: 20px !important;
}
.bento-column-bento {
    display: flex;  flex-direction: column;  gap: 15px;  flex: 1;
}
.bento-card-bento {
    border-radius: 8px;  overflow: hidden;  position: relative;  border: none;  display: flex
;  flex-direction: column;  align-items: center;  justify-content: center;  padding: 25px;  gap: 15px;
}
/* Column 1 */
.column-1-bento {
    flex: 1;
}
.card-decorative-tall-bento {
    flex: 2;  background: linear-gradient(135deg, #B91C1C 0%, #7C2D12 100%);  background-image: url('https://ik.imagekit.io/rlvntstudios/therlvntwebsite/others/BentoLanding1.gif');  background-size: cover;  background-position: center;  background-blend-mode: overlay;
}
.card-commitment-short-bento {
    flex: 1;  background: var(--color-text-secondary);  text-align: center;
}
/* Column 2 */
.column-2-bento {
    flex: 1.5;
}
.card-clients-large-bento {
    flex: 1.5;  border: 2px solid var(--color-text-primary);

background: radial-gradient(561.43% 540.61% at 5.71% -44.13%, var(--color-text-primary) 0%, rgba(0, 0, 0, 0.30) 100%);  text-align: center;  position: relative;
}
.card-decorative-medium-bento {
    flex: 0.8;  background: linear-gradient(135deg, #B91C1C 0%, #F59E0B 100%);  background-image: url('https://ik.imagekit.io/rlvntstudios/therlvntwebsite/others/BentoLanding2.gif');  background-size: cover;  background-position: center;  background-blend-mode: overlay;
}
.card-focus-text-bento {
    flex: 0.4;  border: 2px solid var(--color-text-primary);

background: radial-gradient(561.43% 540.61% at 5.71% -44.13%, var(--color-text-primary) 0%, rgba(0, 0, 0, 0.30) 100%);  text-align: center;  position: relative;
}
/* Column 3 */
.column-3-bento {
    flex: 2;
}
.card-main-visual-large-bento {
    flex: 2;  background: linear-gradient(135deg, #B91C1C 0%, #F59E0B 100%);  background-image: url('https://ik.imagekit.io/rlvntstudios/therlvntwebsite/others/BentoLanding4.gif');  background-size: cover;  background-position: center;  background-blend-mode: overlay;
}
.card-human-centric-bento {
    flex: 1;  border: 2px solid var(--color-text-primary);

background: radial-gradient(561.43% 540.61% at 5.71% -44.13%, var(--color-text-primary) 0%, rgba(0, 0, 0, 0.30) 100%);  text-align: center;  position: relative;
}
/* Column 4 */
.column-4-bento {
    flex: 1;
}
.card-commitment-top-bento {
    flex: 0.8;  background: var(--color-text-secondary);  text-align: center;
}
.card-decorative-medium-2-bento {
    flex: 1.2;  background: linear-gradient(135deg, #B91C1C 0%, #7C2D12 100%);  background-image: url('https://ik.imagekit.io/rlvntstudios/therlvntwebsite/others/BentoLanding3.gif');  background-size: cover;  background-position: center;  background-blend-mode: overlay;
}
.card-commitment-bottom-bento {
    flex: 1;  background: var(--color-text-secondary);  text-align: center;
}
/* Text Styles */
.text-light-bento {
    font-size: 20px;  line-height: 1.2;  font-family: var(--font-serif);  font-weight: 400;
}
.text-dark-bento {
    color: var(--color-text-secondary);  font-size: 18px;  line-height: 1.3;  font-weight: 400;
}
.text-dark-large-bento {
    color: var(--color-text-secondary);  font-size: 22px;  font-style: italic;  line-height: 1.2;  font-weight: 400;
}
.text-dark-large-bento em {
    font-weight: 600;  color: var(--color-accent);
}
.text-small-bento {
    color: var(--color-text-muted);  font-size: 14px;  font-style: italic;  line-height: 1.3;  font-weight: 400;
}
/* Logo badges */
.logo-badge-bento {
    position: absolute;  bottom: 20px;  right: 20px;  width: 32px;  height: 32px;  background: rgba(255, 255, 255, 0.95);  backdrop-filter: blur(10px);  border-radius: 8px;  display: flex;  align-items: center;  justify-content: center;  font-weight: 600;  font-size: 16px;  color: var(--color-text-primary);  font-family: 'Arial', sans-serif;
}

/* --- Custom Cursor CSS (Corrected) --- */
.custom-cursor {
    position: fixed;  top: 0;  left: 0;  width: 25px;  height: 25px;  pointer-events: none;  z-index: 10000;  will-change: transform;  border-radius: 50%;  transform: translate(-8%, -5%); /* Centering adjustment */  transition: transform 0.3s ease;
}
.cursor-icon {
    width: 100%;  height: 100%;  transition: opacity 0.3s ease; /* Smooth fade in/out */
}
.cursor-image-container {
    position: absolute;  top: 50%;  left: 50%;  width: 200px;  height: 200px;  border-radius: 50%;  background-size: cover;  background-position: center;  transform: translate(-50%, -50%) scale(0);  opacity: 0;  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                opacity 0.3s ease;
}
.custom-cursor.image-active .cursor-image-container {
    transform: translate(-50%, -50%) scale(1);  opacity: 1;
}

.custom-cursor.image-active .cursor-icon {
    opacity: 0; /* Hide the SVG */
}
.custom-cursor.link-hover:not(.image-active) {
    transform: translate(-8%, -5%) scale(1.6);
}
.cursor-icon path {
    fill: var(--color-text-primary); /* Default dark color */  transition: fill 0.4s ease;
}

.custom-cursor.light .cursor-icon path {
    fill: var(--color-text-secondary); /* White color */
}

.custom-cursor.orange-click .cursor-icon path {
    fill: var(--color-accent);
}
.ripple {
    position: fixed;  border-radius: 50%;  pointer-events: none;  z-index: 9999;  transform: translate(-50%, -50%);  animation: rippleAnimation 0.8s ease-out forwards;
}

@keyframes rippleAnimation {
    0% { width: 0;  height: 0;  opacity: 0.6;  border: 2px solid var(--color-accent); }
    100% { width: 120px;  height: 120px;  opacity: 0;  border: 0.5px solid var(--color-accent); }
}
        /* --- Section Styles --- */
        .section { min-height: 100vh;  display: flex;  flex-direction: column;  justify-content: center;  align-items: center;  padding: 2rem;  position: relative; }
        .dark-section { background-color: var(--color-text-primary);  color: var(--color-text-secondary); }
        .dark-section a.demo-link { color: var(--color-text-secondary);  border-color: var(--color-text-secondary); }
        .dark-section a.demo-link:hover { background: var(--color-text-secondary);  color: var(--color-text-primary); }
        .light-section { background-color: var(--color-text-secondary);  color: var(--color-text-primary); }
        .light-section a.demo-link { color: var(--color-text-primary);  border-color: var(--color-text-primary); }
        .light-section a.demo-link:hover { background: var(--color-text-primary);  color: var(--color-text-secondary); }
        a.demo-link { font-size: 1.5rem;  cursor: none;  margin-top: 20px;  border: 2px solid;  padding: 10px 20px;  text-decoration: none;  border-radius: 50px;  transition: background 0.3s ease, color 0.3s ease; }
        .hero-title { font-size: var(--heading-font-size);  font-weight: 300;  text-align: center;  margin-bottom: 4rem;  letter-spacing: -0.02em; }
        .services-container {width: var(--section-width);  margin:auto;  }
        .service-item { position: relative;  padding: 50px 10px;  border-bottom: 1px solid #444;  will-change: transform;  transition: background-color 0.4s ease, color 0.4s ease, transform 0.3s ease;  cursor: none !important; }
        .dark-section .service-item { color: var(--color-text-secondary); }
        .service-content {font-size: clamp(1.6rem, 6vw, 4rem);  position: relative;  overflow: hidden;  height: max-content;  width:100%;}
        .service-normal { font-weight: 300;  letter-spacing: -0.01em;  display: flex;  align-items: center;  text-transform: capitalize;  height: 80px;  opacity: 1;  transform: translateY(0);  transition: opacity 0.4s ease, transform 0.4s ease;  will-change: opacity, transform; }
        .service-hover { position: absolute;  top: 0;  left: 0;  width: 100%;  height: 80px;  opacity: 0;  transition: opacity 0.4s ease, transform 0.4s ease;  will-change: opacity, transform;  pointer-events: none;  overflow: hidden; }
        .service-description { position: absolute;  top: 85px;  left: 0;  font-size: 14px;  margin-left: 16px;  color: var(--color-text-muted);  opacity: 0;  transform: translateY(30px);  transition: opacity 0.5s ease 0.2s, transform 0.5s ease 0.2s;  will-change: opacity, transform;  line-height: 1.6;  pointer-events: none; }
        .service-item.js-hover { background-color: var(--color-accent);  color: var(--color-text-secondary) !important;  border-radius: 0; }
        .service-item.js-hover .service-normal { opacity: 0;  transform: translateY(-10px); }
        .service-item.js-hover .service-hover { opacity: 1; }
        .service-item.js-hover .service-description { opacity: 1;  transform: translateY(0);  color: var(--color-text-secondary); }
        
        /* --- Marquee Styles --- */
        .scroll-container {
            height: 100%;  position: relative;  display: flex;  align-items: center;  overflow: hidden;  width: 100%;
        }
        .scroll-wrapper {
            display: flex;  align-items: center;  white-space: nowrap;  will-change: transform;
        }
        .scroll-text {
            font-weight: 300;  letter-spacing: -0.01em;  padding-right: 2rem;  flex-shrink: 0;
        }
       
               .packages-header {
            text-align: center;  margin-bottom: 80px;
        }
        .header-line-wrapper {
             overflow: hidden;
        }
        .packages-header h1 {
            font-family: var(--font-serif);
font-size: var(--heading-font-size);  font-weight: 400;  line-height: 1.1;  margin-bottom: 24px;
        }
        .packages-header p {
            font-size: clamp(1rem, 2vw, 1.125rem);  max-width: 50%;  margin: 0 auto;  line-height: 1.7;
        }

        .toggle-wrapper {
             display: flex;  justify-content: center;  align-items: center;  margin-bottom: 80px;  gap: 16px;  font-size: 1.1rem;  font-weight: 500;
        }
        .toggle-switch {
            position: relative;  display: inline-block;  width: 52px;  height: 28px;
        }
        .toggle-switch input { opacity: 0;  width: 0;  height: 0; }
        .slider {
    position: absolute;  top: 0;  left: 0;  right: 0;  bottom: 0;  background-color: var(--color-text-muted);  transition: .4s;  cursor: none;  border-radius: 28px;
        }
        .slider:before {
            position: absolute;  content: "";  height: 20px;  width: 20px;  left: 4px;  bottom: 4px;  background-color: var(--color-text-secondary);  transition: .4s;  border-radius: 50%;
        }
        input:checked + .slider { background-color: var(--color-text-primary); }
        input:checked + .slider:before { transform: translateX(24px); }
        
        .yearly-discount {
            color: var(--color-accent);  font-weight: 600;  opacity: 1;  transition: opacity 0.4s ease;
        }
        input:checked ~ .yearly-discount {
            opacity: 1;
        }

        .packages-grid {
    display: flex;  gap: 20px;  perspective: 3000px;
        }

    a.card-link {
      all: unset;       
      display: block;
      cursor: pointer;
      will-change: transform, box-shadow, background, color;
    }

    .package-card {
          all: unset;    
      border: 0.3px solid var(--color-text-muted);
      border-radius: 16px;
      padding: 30px;
      display: flex;
      flex-direction: column;
      text-align: left;
      transition: box-shadow 0.4s ease, background 0.4s ease, color 0.4s ease;
      will-change: transform, box-shadow, background, color;
    }

    .package-card:hover {
      box-shadow: 0 40px 80px -25px rgba(0, 0, 0, 0.1);
      color: var(--color-text-secondary);
      background: var(--color-accent);
      border: none;
    }

    .card-header h3 {
      font-family: var(--font-serif);
      font-size: 2.5rem;
      font-weight: 400;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .card-header .description {
      color: var(--color-text-muted);
      line-height: 1.6;
      min-height: 5em;
      transition: color 0.3s ease;
      will-change: color;
    }

.price-section {
    margin: 30px 0 0 0;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--color-text-muted);
}

    .package-card:hover .price-section {
      border-bottom: 1px solid var(--color-text-secondary);
    }

    .price {
      font-size: 4rem;
      font-weight: 700;
      line-height: 1;
      letter-spacing: -2px;
      transition: color 0.3s ease;
      will-change: color;
    }

    .price .currency {
      font-size: 1.5rem;
      font-weight: 500;
      vertical-align: text-top;
      margin-right: 4px;
    }

    .price-period {
      font-size: 0.95rem;
      font-weight: 500;
      margin-top: 8px;
      transition: color 0.3s ease;
      will-change: color;
    }

    .feature-list {
      list-style: none;
      margin-top: 30px;
      flex-grow: 1;
      padding: 0;
    }

    .feature-list li {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      font-weight: 400;
      font-size: 1rem;
    }

    .feature-list i {
      font-size: 1.25rem;
      color: var(--color-accent);
      margin-right: 14px;
      flex-shrink: 0;
      transition: color 0.3s ease;
      will-change: color;
    }

    /* ==== card-options (renamed from new-options) ==== */
    .card-options {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 8px;
    }

    .card-options h3 {
      font-family: var(--font-serif);
      font-weight: 400;
      font-style: italic;
      display: inline-flex;
      align-items: center;
      justify-content: flex-end;
      gap: 0;
      transition: gap 0.3s ease, color 0.3s ease;
      will-change: gap, color;
    }

    .card-options h3 svg {
      width: 0;
      height: auto;
      overflow: hidden;
      opacity: 0;
      transition: all 0.3s ease;
      will-change: width, opacity;
    }

    .package-card:hover .card-options h3 {
      gap: 10px;
      color: var(--color-text-secondary);
    }

    .package-card:hover .card-options h3 svg {
      width: 1em;
      opacity: 1;
    }

    .hellothere {
      justify-content: flex-start;
      align-items: flex-start;
    }

    /* ✅ Fixes for hover states */
    .package-card:hover .card-header .description {
      color: var(--color-text-secondary);
    }

    .package-card:hover .feature-list i {
      color: var(--color-text-secondary);
    }

    .package-card:hover .price,
    .package-card:hover .price-period {
      color: var(--color-text-secondary);
    }
        /* POPULAR CARD */
        .package-card.popular {
scale:1.02 !important;
        }

.btn-top{
    all: unset;  font-size: calc(100% + 4px);  display: flex;  justify-content: flex-start;  text-align: left;  font-family: var(--font-serif);  flex: 1;
}

/*
================================================================================
== PROFESSIONAL ALL-DEVICE RESPONSIVE STYLES ==
== This section adapts the desktop-first design for smaller viewports,        ==
== ensuring a premium feel and preserving core animations on all devices.     ==
================================================================================
*/

/*
=============================================
== Tablet Breakpoint (Medium Screens)      ==
== Styles for screens <= 1024px            ==
=============================================
*/
@media (max-width: 1024px) {
    /* --- Base Layout & Typography --- */
    :root {
        --section-width: 90vw; /* Increase content width for better use of space */  --section-padding-y: 60px;
    }
    .sections {
        width: var(--section-width);
    }
    
    /* --- Restore default cursor for touch devices --- */
    html.lenis, *, body, a, button {
        cursor: auto !important;
    }
    .custom-cursor {
        display: none !important;
    }
    
    /* --- Packages & Pricing --- */
    .packages-grid { flex-direction: column; }
    .packages-header p { max-width: 80%; }
    .package-card.popular { transform: scale(1.02); }

    /* --- Bento Grid --- */
    .bento-container-bento { flex-wrap: wrap;  height: auto; }
    .bento-column-bento { flex-basis: calc(50% - 10px);  min-width: calc(50% - 10px);  flex-grow: 1; }

    .hand-sec { flex-direction: column;  align-items: center;  gap: 5vh; }
    .hand-sec .flex-1 { width: 100%;  text-align: center;  height: max-content;
        max-height: max-content;}
    .content-hand { align-items: center;  text-align: center}
    .blocks-container { flex-direction: column;  min-height: auto;  max-height: none; }
    
    /* --- FAQ Section --- */
    .container-faq { flex-direction: column;  gap: 40px; }
    .header-faq { position: static;  align-items: center;  text-align: center; }
}
.content-hand-img {}
.serv-pp{
   padding: var(--section-padding-y) 0 !important;
}
/*
=============================================
== Mobile Breakpoint (Small Screens)       ==
== Styles for screens <= 797px             ==
=============================================
*/
.d-none{}
.oth{}
@media (max-width: 797px) {
    :root {
        --section-width: calc(100vw - 40px);  --section-padding-y: 50px;  --nav-width: 90vw;
    }
    .oth {
        justify-content: space-between;
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
}
.content-hand {margin-top:30px;}
    .service-item {
        margin-bottom: 20px;
    }
.pinned-background {
    height: auto;
    margin-top:20px;
}
    .blk1 a{
    font-size:18px;
    text-align:left;
}
    .project-title-pro h3 {line-height:1.1;}
.d-none{display:none;}
.price .currency {
    font-size:14px;
}
    /*
    --- CORRECTED PINNED SECTION ("How we do it") ---
    This is the key fix. This CSS is now aligned with the JavaScript breakpoint.
    It sets up the horizontal layout that the GSAP horizontal scroll animation expects.
    */
        .container-faq {
        gap: 0;
    }
    .pin-wrapper {
        height: 100vh; /* Set wrapper to screen height for pinning */  display: flex;  align-items: center;  overflow: hidden; /* Hide horizontal scrollbar */
    }
    .pinned-section {
        position: relative; /* GSAP handles the stickiness now */  height: auto;
    }
    .pinned-inner {
        flex-direction: row; /* Ensure content flows horizontally */  width: max-content;  /* Allow inner content to exceed screen width */  align-items: center;  gap: 40px; width:100vw !Important;
    }
    .pinned-inner > * {
        flex-shrink: 0; /* Prevent children from squishing */
    }
    .pinned-left {
        flex: none;  width: 60vw; /* Give the heading a consistent width */  height: auto; transform:translatex(30px);
    }
    .sticky-heading {
        position: relative;  top: auto;  transform: none;  margin-bottom: 0;
    }
    .pinned-right {
        flex: none;  width: max-content; /* Allow the right container to be as wide as its cards */  height: auto;  overflow: visible;
    }
    .scroll-content {
        padding: 0 15px 0 0;  flex-direction: row; /* Ensure cards are laid out horizontally */  gap: 20px;
    }
    .content-block {
        width: 80vw; /* Make each card take up most of the viewport */  max-width: 380px;  min-height: 50vh;  height:100%;  justify-content: center;  flex-direction: column;  padding: 25px;  border-radius: 32px;  gap: 15px;
    }
    .content-block span {
        text-align: left;  align-items: flex-start;  gap: 10px;  flex:none;  justify-content: space-between;  height: 100%;
    }
    .content-block .img-div {
        border-radius: 18px;  height: 100%;  flex: 1;
    }
    .services-container {
    width: 100%;
    margin: auto;
}

    .content-block span .heading1 {
        font-size: 1.8rem !important;  margin: 0;  line-height: 1.1;
    }
    .service-item.js-hover {
    background-color: var(--color-accent);  color: var(--color-text-secondary) !important;  border-radius: 0;  background: no-repeat;  background-size: cover;
}
    /* --- Loader and Hero --- */
    #loader-growth-container, #loader-ui-container { width: 90vw; }
    .counter { text-shadow: 1px 1px 0 var(--color-text-secondary), -1px 1px 0 var(--color-text-secondary), 1px -1px 0 var(--color-text-secondary), -1px -1px 0 var(--color-text-secondary); width: 100%;
        text-align: right;} /* Simplify shadow */
    .bottom-credits { flex-direction: column;  gap: 15px;  align-items: center;  text-align: center;  font-size: 16px;  padding: 0 20px; }
    .bottom-credits::before { left: 20px;  right: 20px; }
    .bottom-bar-ms { width: 90vw;  align-items: center;  justify-content: center; }

    /* --- Testimonials: Preserve Scroll Animation --- */
    .testimonial-reveal-section { padding: 20px; }
    .testimonial-content { margin-top: 10vh; }
    .header-section { padding: 0 20px; }
    .moving-block { width: 50px;  height: 50px; }

    /* --- Bento Grid: Stack all columns --- */
    .bento-container-bento { gap: 10px; }
    .bento-column-bento { flex-basis: 100%;  min-width: 100%; }

    /* --- Forms, Reviews & Modals --- */
    .form-grid { grid-template-columns: 1fr; }
    .free-review-section p { width: 90%; }
    .form-field-review, .width70 { width: 100%; }
    .modal-ms { width: 90vw;  max-height: 85vh;  overflow-y: auto;  padding: 25px; }
    .time-container-ms { grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); }
    .modal-footer-ms { flex-direction: column-reverse;  align-items: stretch;  gap: 15px; }
    
    /* --- Projects & Blogs --- */
    .projects-grid, .blogs-grid, .blocks-container { flex-direction: column;  gap: 40px;  margin-bottom:0; }
    .projects-grid { gap: 60px; }
    .another-span { width: 100%;  text-align: left;  line-height: 1.3; margin-bottom:0;}
    .blog-bl, .blog-bl:first-child, .blog-bl:not(:first-child) { width: 100%;  margin: 0; }
    .blog-image-bl img { height: auto;  aspect-ratio: 4/3; }

    /* --- Portfolio Show (Draggable) --- */
    .portfolio-container-show {
        height: auto;  min-height: 100vh;  overflow-y: auto;  padding: 12vh 5vw 8vh;  display: flex;  flex-direction: column;  justify-content: flex-start;  align-items: center;  gap: 30px;
    }
    .center-content-show { position: relative;  transform: none;  top: auto;  left: auto;  padding-bottom: 20px; }
    .image-container-show {
        position: relative;  transform: rotate(0deg) !important;  width: 80vw;  max-width: 320px;  height: auto;  top: auto;  left: auto;  bottom: auto;  right: auto;  margin: 15px 0;
    }
    .project-button-show { font-size: 14px;  padding: 10px 18px; }

    /* --- FAQ Section --- */
    .question-faq { height: auto;  min-height: 80px;  padding: 15px 0; }
    .text-faq { font-size: clamp(1.1rem, 5vw, 1.6rem); }
    .arrow-faq { width: 50px;  height: 50px; }

    /* --- Gradient Blocks & General Grids --- */
    .layout-wrapper { flex-direction: column;  height: auto; }
    .grid-container { grid-template-columns: 1fr; }
    
    .dropdown-ms{ display:none; } 
    .s-85 { width: 85vw !important; }
    .bs-tagline-text { font-size: 14px;  line-height: 1.4; }
    .bs-section-title { letter-spacing: 1px;        letter-spacing: 1px;
        font-size: 12px;
        line-height: 1.3; }
    .sections { width: 85vw;  padding:40px 0 !important; }
    .bs-branding-section { margin-top: 40px; }
    .serv-pp{ padding: 90px 0 !important; }
    .bs-video-container { width: 100%; }

    .pinned-background svg { width: 150%;  overflow: visible; }
    .none-appear { display:none; }
    .header-line-wrapper { margin-top:20px; }
    .package-card.popular { scale: 1 !important; }
    .packages-header { text-align: center;  margin-bottom: 20px; }
    .package-card { padding: 15px; }
    .price { font-size: 40px; }
    .content-hand-img { margin-left: -17vw;}
    .blog-title-bl { font-size: 1.5rem;  font-weight: 500;  line-height: 1.2;  font-family: var(--font-serif); }
    .blog-description-bl { font-size: 14px;  line-height: 1.4; }
    .pro-100 { margin-top: 40px; }
    .hand-sec { min-height: auto;  height: auto; }
}

.bento-grid-card-item{ }
@media (max-width: 770px){
    .bento-grid-card-item{ min-height:300px; }
}

.spacing-services-sec{
    padding: 40px 0 !important;
}

@media (max-width: 650px){
  .service-item { padding: 15px 0;  margin-bottom: 8px;  MIN-HEIGHT: 120px;  display: flex;  width: 100%;   background: no-repeat;  align-items: center;  background-size: cover;
  }
  .hand-pos {
  margin-left: -11vw; 
overflow: auto; 
    max-height: 250px;
}

  .spacing-services-sec{
            padding: 40px 0 !important;
}
  .spacer {
    height: 0vh;
}

    .service-normal, .scroll-text {  height: 60px;  padding-left: 15px; }
    .service-hover { height: 60px;  }
    .service-description {        border: none;}
    .service-item { border:none; }
    
    .pinned-left { margin-left: 7.5vw;  width: 60%; }
    .pinned-section { position: relative;  height: auto;  padding: 40px 0;  overflow: visible; }
    .pinned-background { height:100%;  overflow: visible; }
    .bottom-left-text { max-width: 100%; }
    .pinned-inner { height: 60%; }
    #loader-ui-container {  bottom:40px; }
    nav { padding: 12px !important; }
    .nav-wrapper.scrolled nav { max-width: 85vw; }
    #menu-toggle-text {
    display: none;
}
    .content-faq {
    line-height: 1.4;
    font-size: 16px;
}
.arrow-faq i {
    font-size: 22px;
}
.feature-list li {
    margin-bottom: 0;
    font-size: 14px;
}
}

@media (max-width:1023px) and (min-width:798px){
    .content-block{
            flex-direction: column;  padding: 30px;  border-radius: 32px;
    }

.package-card.popular {
    scale: 1 !important;
}
.hand-pos { margin-left: -40vw;  width: 100%;  max-width: 500px; }

    .content-block .img-div {
    border-radius: 18px;
}
        .sections, .services-container {
    width: 85vw !important;
    margin: 0 auto;
}
 .s-85{
    width: 85vw !important;
    margin: 0 auto;
    margin-bottom:20px;
}
    .content-hand-img{
margin-left:-15.6vw;
    }
}
@media (max-width:500px){
    .services-header { flex-direction: column;  align-items: flex-end;  gap: 10px;  margin-bottom: 20px; }
    .header-title{ width:100%;  }
    .form-label { font-size: 16px; }
    .support { text-transform: uppercase;  letter-spacing: 2px;  font-size: calc(100% - 6px);  text-align: center; }
    .toggle-wrapper { gap:10px;margin-bottom:20px;justify-content: flex-start; }
    .pinned-background svg{ width:300%;  overflow:visible; }
    .bottom-left-text { max-width: 100%; }
    .pinned-inner { height: 60%; }
    #loader-ui-container { bottom:25px; }
    nav { padding: 12px !important; }
    .nav-wrapper.scrolled nav { max-width: 85vw; }
    #menu-toggle-text {
    display: none;
}
    .content-faq {
    line-height: 1.4;
    font-size: 16px;
}
.arrow-faq i {
    font-size: 22px;
}
.feature-list li {
    margin-bottom: 0;
    font-size: 14px;
}
.package-card.popular {
    scale: 1 !important;
}
.packages-header {
    text-align: center;
    margin-bottom: 20px;
}
.package-card {
    padding: 15px;
}
.price {
    font-size: 40px;
}
.content-hand-img {
    margin-left: -17vw;
}
.blog-title-bl {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: var(--font-serif);
}
.blog-description-bl {
    font-size: 14px;
    line-height: 1.4;
}
.pro-100 {
    margin-top: 40px;
}
.hand-sec {
    min-height: auto;
    height: auto;
}
}