html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
    background-color: #B5B5B5;
}

a {
    text-decoration: none;
}


/* nav-section */
/* Dark Mode Styles */
body.dark-mode {
    background-color: #000000;
    color: #ffffff;
}

/* Navigation in dark mode */
body.dark-mode .nav-menu {
    color: #ffffff;
}

/* Navigation links inherit from parent in dark mode */

/* Dark mode hover effect for nav menu */
body.dark-mode .nav-menu:hover {
    animation: fromBottomDark 0.3s ease forwards;
}

/* Dark mode keyframes for nav menu hover */
@keyframes fromBottomDark {
    0% {
        opacity: 0;
        transform: translateY(5px);
        background-color: transparent;
        color: transparent;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        background-color: white;
        color: black;
    }
}

/* Dark mode nav icons */
body.dark-mode .nav-menu-icon {
    color: #ffffff;
}

body.dark-mode .nav-menu-icon rect {
    fill: #ffffff;
}

/* Top section dark mode */
body.dark-mode .top-right {
    background-color: #000000;
}

body.dark-mode .minihead-section {
    background-color: #000000;
}

body.dark-mode .top-minihead {
    color: #ffffff;
}

body.dark-mode .head {
    color: #ffffff;
    background-color: #000000;
}

/* Show/We're here text in dark mode */
body.dark-mode .show {
    color: #ffffff;
}

/* Preserve original animations - remove color transition from these elements */
.top-minihead {
    transition: none; /* Remove transition to preserve your slideUp animation */
}

.head {
    transition: margin-left 0.6s ease; /* Keep only the margin-left transition from original */
}

.head span {
    transition: transform 1.2s ease, opacity 1s ease; /* Keep original span transitions */
}

/* Second section dark mode */
body.dark-mode .second-title {
    color: #ffffff;
}

body.dark-mode .second-minititle {
    color: #ffffff;
}

body.dark-mode .second-minihead {
    color: #ffffff;
}

body.dark-mode .read-more {
    color: #ffffff;
}

/* Third section dark mode */
body.dark-mode .option {
    color: #ffffff;
}

body.dark-mode .option.active {
    color: #D94F35; /* Keep the red accent color */
}

/* Fourth section dark mode */
body.dark-mode .fourth-head {
    color: #ffffff;
}

body.dark-mode .hover-content {
    color: #ffffff;
}

/* Fifth section dark mode */
body.dark-mode .fifth-section {
    background: #000000;
}

body.dark-mode .line-side-head {
    color: #ffffff;
}

body.dark-mode .line-mid-head {
    color: #ffffff;
}

body.dark-mode .second-line-side-head {
    color: #ffffff;
}

/* Footer dark mode */
body.dark-mode .footer {
    background-color: #000000;
}

body.dark-mode .footer-column a {
    color: #ffffff;
}

body.dark-mode .footer-column.b p {
    color: #ffffff;
}

body.dark-mode .lets-work {
    color: #ffffff;
}

body.dark-mode .lets-work-clone {
    color: #ffffff;
}

/* Mobile menu dark mode */
body.dark-mode .mobile-menu {
    background: #333333;
}

body.dark-mode .mobile-menu .nav-menu {
    color: #ffffff;
}

body.dark-mode .contact {
    color: #ffffff;
}

/* Keep accent colors */
body.dark-mode .we-here {
    color: #d94f35; /* Keep the red accent */
}

body.dark-mode .what-third-section {
    color: #d94f35; /* Keep the red accent */
}

/* Smooth transition for all color changes - exclude elements with custom animations */
body {
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu,
.second-title,
.second-minititle,
.second-minihead,
.read-more,
.option,
.fourth-head,
.line-side-head,
.line-mid-head,
.second-line-side-head,
.footer,
.footer-column a,
.lets-work {
    transition: color 0.3s ease;
}

.top-right,
.minihead-section,
.fifth-section {
    transition: background-color 0.3s ease;
}

/* nav-section */
.nav-section {
    padding: 20px 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 11000; /* top */
    transition: transform 0.3s ease;
}

.logo-wrapper {
    position: relative;
    width: 110px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo,
.logo-w {
    width: 110px;
    height: auto;
    display: none;
}

.logo {
    display: inline-block;
}

.nav-menu-section {
    display: flex;
    gap: 40px;
}

.nav-menu {
    font-size: 18px;
    color: #111;
    font-weight: 400;
    margin: 0;
    text-transform: capitalize;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    border-radius: 4px;
    position: relative;
    user-select: none;
    background-color: transparent;
    transition: none;
}

.nav-menu a {
    color: inherit; /* Inherit color from parent .nav-menu */
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

/* Trigger animation on hover */
.nav-menu:hover {
    animation: fromBottom 0.3s ease forwards;
}

/* Keyframes for re-appearance from bottom */
@keyframes fromBottom {
    0% {
        opacity: 0;
        transform: translateY(5px);
        background-color: transparent;
        color: transparent;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        background-color: black;
        color: white;
    }
}

.nav-icon-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.nav-icon {
    height: 15px;
    width: auto;
    cursor: pointer;
}

.nav-icon-cart {
    height: 15px;
    width: auto;
    cursor: pointer;
}

.nav-menu-icon {
    cursor: pointer;
    color: #111;
    transition: transform 0.3s ease;
    border-radius: 5px;
    width: 20px;
    height: 16px;
    position: relative;
    display: none;
}

.nav-menu-icon rect {
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Default hamburger lines */
.nav-menu-icon rect.line1 {
    x: 0;
    y: 4;
    width: 16;
    height: 2;
}

.nav-menu-icon rect.line2 {
    x: 12;
    y: 12;
    width: 8;
    height: 2;
}

/* Active state: transform into X */
.nav-menu-icon.active rect.line1 {
    x: 0;
    width: 24;
    transform: translateY(3px) rotate(45deg);
}

.nav-menu-icon.active rect.line2 {
    x: 0;
    width: 24;
    transform: translateY(-5px) rotate(-45deg);
}

.white-overlay {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: white;
    z-index: 10000;
    transition: height 0.3s ease;
    pointer-events: none;
}

.white-overlay.open {
    height: 100vh;
}

/* Dark mode white overlay becomes black */
body.dark-mode .white-overlay {
    background: black;
}

/* menu-bar */
.mobile-menu {
    background: #B5B5B5;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    overflow: hidden;
    transition: height 0.5s ease;
    z-index: 10500;
    display: flex;
    justify-content: left;
    padding-left: 20px;
}

.contact {
    margin: 0;
    font-size: 16px;
    padding-left: 10px;
}

/* When open, full viewport height */
.mobile-menu.open {
    height: 100vh;
    width: 100%;
}

/* Content inside the menu */
.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 24px;
    text-align: left;
    padding-top: 15rem;
}
/* menu-bar */
.mobile-menu {
  background: #B5B5B5;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0;
  overflow: hidden;
  transition: height 0.5s ease;
  z-index: 10500; /* ABOVE white-overlay */
  display: flex;
  justify-content: left;
  padding-left: 20px;
}

.contact{
    margin: 0;
    font-size: 16px;
    padding-left: 10px;
}
/* When open, full viewport height */
.mobile-menu.open {
  height: 100vh;
  width: 100%;
}

/* Content inside the menu */
.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 24px;
  text-align: left;
  padding-top: 15rem;
}
/* top-section */
.top-wrapper {
    height: 200vh;
    /* or adjust for how long you want pin */
    position: relative;
}

.top-section {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    z-index: 10;
}

.top-left {
    position: relative;
    width: 50%;
    height: 100%;
    background-image: url(./images/top-img.jpg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.top-left::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: #B5B5B5;
    animation: revealRightToLeft 3s ease forwards;
    animation-delay: 1s;
    /* <-- Delay the start by 1 second */
    z-index: 1;
}


@keyframes revealRightToLeft {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}



.top-right {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    background-color: #B5B5B5;
    overflow: visible;
}

.we-here {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
    color: #d94f35;
    padding-bottom: 20px;
    padding-left: 6rem;

    /* Animation setup */
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 0.3s ease-out forwards;
    animation-delay: 0.1s;
    /* Delay to happen AFTER left bg reveal */
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0%);
    }
}

.minihead-section {
    transition: margin-left 0.6s ease, padding-left 0.6s ease;
}

.top-minihead {
    font-size: 62px;
    margin: 0;
    color: #111;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    padding-left: 6rem;
    opacity: 0;
}

/* When animate-in class is added to parent */
.animate-in .top-minihead.one {
    animation: slideUp 0.5s ease-out forwards;
    animation-delay: 0.1s;
}

.animate-in .top-minihead.two {
    animation: slideUp 0.6s ease-out forwards;
    animation-delay: 0.1s;
}

.animate-in .top-minihead.three {
    animation: slideUp 0.7s ease-out forwards;
    animation-delay: 0.1s;
}

.animate-in .top-minihead.four {
    animation: slideUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
}


.top-minihead {
    font-size: 62px;
    margin: 0;
    color: #111;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
}

.minihead-section {
    background-color: #B5B5B5;
    margin-left: -13rem;
    /* Already done */
    position: relative;
    z-index: 2;
    padding-left: 13rem;
    padding-bottom: 30px;
}



.top-minihead {
    font-size: 62px;
    margin: 0;
    color: #111;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    padding-left: 6rem;
}

.head {
    z-index: 2;
    position: relative;
    margin: 0;
    font-size: 270px;
    font-family: "Archivo Black", sans-serif;
    color: #111;
    text-transform: uppercase;
    font-weight: 1000;
    letter-spacing: -10px;
    line-height: 0.8;
    background-color: #B5B5B5;
    padding-top: 40px;
    transition: margin-left 0.6s ease;
    margin-left: -26rem;
    white-space: nowrap;
}

.head span {
    display: inline-block;
    vertical-align: top;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 1.2s ease, opacity 1s ease;
}

.head.animate-in span {
    transform: translateY(0);
    opacity: 1;
}

.head {
    transition: margin-left 0.6s ease;
}

.show {
    position: absolute;
    font-size: 16px;
    text-align: center;
    font-weight: 500;
    color: white;
    pointer-events: none;
    /* allows mouse events to pass through */
    white-space: nowrap;
    transform: translate(-50%, -50%);
    transition: transform 0.5s linear;
    /* smooth following */
}

/* second-section */
.second-wrap {
  position: relative;
  height: 900vh; /* enough height to allow scroll */
}

.second-section {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  overflow: hidden;
}
.second-section {
    padding: 0px 80px;
}

.second-section-left {
    width: 50%;
    display: flex;
    justify-content: center; /* <-- center horizontally */
    align-items: center;      /* <-- center vertically */
    position: relative;
    overflow: hidden;
}


.second-section-right {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    height: 100vh;
}

.second-section-left-content {
    width: 60%;
    align-items: flex-start;
    display: flex;
    flex-flow: column;
    gap: 30px;
}

.second-title {
    font-size: 56px;
    margin: 0;
    color: #111;
    font-weight: 900;
    font-family: "Archivo Black", sans-serif;
    line-height: 1.1;

    /* Initial state */
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.6s ease, opacity 0.6s ease;
    transition-delay: 1.1s;
}

/* When visible */
.second-title.visible {
    opacity: 1;
    transform: translateY(0);
}



.second-minititle {
    font-size: 22px;
    color: #111;
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
}

.second-minihead {
    font-size: 20px;
    color: #111;
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
}

.read-more {
    font-size: 18px;
    color: #111;
    margin: 0;
    line-height: 1.2;
    font-weight: 300;
    text-transform: capitalize;
}

.second-section-left-content>p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When visible, fade in and slide up */
.second-section-left-content.visible>p {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for each <p> inside second-section-left-content */
.second-section-left-content.visible>p:nth-child(1) {
    transition-delay: 0.0s;
    /* second-title */
}

.second-section-left-content.visible>p:nth-child(2) {
    transition-delay: 0.1s;
    /* second-minititle */
}

.second-section-left-content.visible>p:nth-child(3) {
    transition-delay: 0.2s;
    /* second-minihead */
}

.second-section-left-content.visible>p:nth-child(4) {
    transition-delay: 0.3s;
    /* read-more */
}

.image-stack {
    position: relative;
    width: 430px;
    height: 350px;
    perspective: 4000px;
    perspective-origin: 0% -180%;
}

.stack-img {
    transition: transform 0.8s ease, opacity 0.8s ease;
    transform: rotateY(-45deg) translateZ(var(--tz, 0px)) translateY(var(--ty)) translateX(var(--tx));
    opacity: var(--opacity);
    pointer-events: none;
}

.stack-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.5s ease, opacity 0.5s ease;

    /* Use CSS variables */
    --tx: 0px;
    --ty: 0px;
    --opacity: 1;
    transform: rotateY(-45deg) translateZ(var(--tz, 0px)) translateY(var(--ty)) translateX(var(--tx));
    opacity: var(--opacity);
}

.img1 {
    z-index: 1;
    --tz: 0px;
    --ty: 0px;
}

.img2 {
    z-index: 2;
    --tz: 25px;
    --ty: 15px;
}

.img3 {
    z-index: 3;
    --tz: 50px;
    --ty: 30px;
}

.img4 {
    z-index: 4;
    --tz: 75px;
    --ty: 45px;
}

.img5 {
    z-index: 5;
    --tz: 100px;
    --ty: 60px;
}

/* Depth stack effect with rotateY and translateZ */
.img1 {
    transform: rotateY(-45deg) translateZ(-0px) translateY(0px);
    z-index: 1;
}


.img2 {
    transform: rotateY(-45deg) translateZ(25px) translateY(15px);
    z-index: 2;
}

.img3 {
    transform: rotateY(-45deg) translateZ(50px) translateY(30px);
    z-index: 3;
}

.img4 {
    transform: rotateY(-45deg) translateZ(75px) translateY(45px);
    z-index: 4;
    /* front */
}

.img5 {
    transform: rotateY(-45deg) translateZ(100px) translateY(60px);
    z-index: 5;
    /* front */
}

/* third-section */

.third-wrap {
    height: 700vh; /* scrolling space */
    position: relative;
}

/* Sticky inner content */
.third-section {
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 20px 80px 150px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.what-third-section {
    font-size: 20px;
    margin: 0;
    font-weight: 500;
    color: #d94f35;
    padding-bottom: 20px;
}

.third-section-content {
    align-items: flex-start;
    display: flex;
    flex-flow: column;
    gap: 0px;
    align-items: center;
    position: sticky;
}

.option {
    font-size: 85px;
    font-weight: 900;
    margin: 0;
    text-transform: uppercase;
    color: #111;
    /* default color */
    transition: color 0.1s ease;
}

.option.active {
    color: #D94F35;
    /* red color */
    font-family: 'Bodoni', serif;
    font-weight: 500;
}

/* fourth-section */
.fourth-section {
    padding: 50px 80px;
}

.fourth-head {
    font-size: 56px;
    font-weight: 900;
    font-family: Archivo Black, sans-serif;
    margin: 0;
    text-transform: uppercase;
    width: 50%;
    line-height: 1.1;
}

.fourth-section-grid {
    display: flex;
    gap: 20px;
    height: 100vh;
    padding-top: 50px;
}

.fourth-section-grid-left {
    width: 50%;
    display: flex;
    justify-content: center;
    /* center horizontally */
    align-items: center;

}

.fourth-section-grid-right {
    width: 50%;
    display: flex;
    justify-content: center;
    /* center horizontally */
    align-items: center;
}

.fourth-section-grid-left,
.fourth-section-grid-right {
    position: relative;
    overflow: hidden;
    /* Clip blocks to image */
}

.fourth-left,
.fourth-right {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    transition: transform 0.6s ease, filter 0.6s ease;
    will-change: transform;
    /* optimize */
}

.fourth-section-grid-left:hover .fourth-left,
.fourth-section-grid-right:hover .fourth-right {
    transform: scale(1.1);
    filter: brightness(1.05);
}


.fourth-left {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.fourth-right {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.grid-loader-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    z-index: 5;
    pointer-events: none;
}

.hover-grid-left,
.hover-grid-right {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    z-index: 10;
    color: #fff;
    text-align: center;
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
    transform-origin: center;
    transition: transform 0.5s ease, opacity 0.5s ease;
    pointer-events: none;
}

.fourth-section-grid-left:hover .hover-grid-left,
.fourth-section-grid-right:hover .hover-grid-right {
    opacity: 1;
    transform: translateY(-50%) scaleX(1);
    pointer-events: auto;
}



.hover-content {
    font-size: 16px;
    margin: 0;
    color: white;
    width: 25%;
}

.hover-mid {
    width: 300px;
    height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: 50%;
}

.hover-mid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or use contain depending on effect */
    display: block;
    border-radius: 10px;
}

.grid-block-image {
    width: 150px;
    /* adjust */
    height: 150px;
    background-color: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    opacity: 1;
    transform: scale(1);
}

.grid-block-image:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Reveal animation — we apply this dynamically */
.grid-block-image.reveal {
    animation: revealBlockImage 1s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
}

@keyframes revealBlockImage {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* fifth-section */
.fifth-wrap {
    height: 550vh;
    position: relative;
}

/* Sticky content */
.fifth-section {
    height: 100vh;
    padding: 0px 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    background: #B5B5B5; /* Optional: to hide previous content */
    z-index: 1;
}


.fifth-inside {
    width: 100%;
}


.first-line-grid {
    display: flex;
    justify-content: space-between;
    padding: 20px 0px;
    text-align: center;
}

.line-side-head {
    font-size: 56px;
    margin: 0;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
    font-family: Archivo Black, sans-serif;
}

.line-mid-head {
    font-size: 20px;
    color: #111;
    margin: 0;
    line-height: 1.2;
    font-weight: 400;
    padding-top: 20px;
}

.second-line-grid {
    display: flex;
    justify-content: space-between;
    padding: 20px 0px;
    align-items: center;
}

.second-line-side-head {
    font-size: 48px;
    margin: 0;
    font-weight: 900;
    color: #111;
    text-transform: uppercase;
}
.second-line-container.role-grid{
text-align: right;
}
.line-img-section {
   width: 350px;
    height: 350px;
    overflow: hidden;
    position: relative;
    margin-left: 50px
}

.line-scroll-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    position: absolute; /* Stack images */
    top: 0;
    left: 0;
    opacity: 0;
    transform: scale(0.1);
    transition: transform 1s ease, opacity 1s ease;
    z-index: 1;
}

.line-scroll-img.visible {
    opacity: 1;
    transform: scale(1);
}

/* Container to stack overlapping groups */
.line-mid-container,
.second-line-container {
    position: relative;
    width: 30%;
    height: 60px; /* Match the text line height */
}

/* Each group absolutely positioned */
.line-mid-group,
.second-line-group {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.line-mid-group.visible,
.second-line-group.visible {
    opacity: 1;
    transform: translateY(0);
}

.line-mid-group.exit,
.second-line-group.exit {
    opacity: 0;
    transform: translateY(-30px);
}


.bottom-img-section {
    padding: 100px 80px;
}

.bootom-img-section {
    width: 100%;
    height: auto;
}

.group {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

.grid-loader-bottom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    z-index: 5;
    pointer-events: none;
}

.grid-block-bottom {
    width: 20%;
    height: 15%;
    background: #acacac4a;
    opacity: 1;
    transform: scale(1);
    animation: blockRevealBottom 1s ease forwards;
    animation-delay: calc(var(--delay) * 0.1s);
}

.grid-block-bottom.reveal {
    opacity: 0;
    transform: scale(0);
}

@keyframes blockRevealBottom {
    to {
        opacity: 0;
        transform: scale(0);
    }
}

.bootom-img-section {
    position: relative;
    overflow: hidden;
}

/* footer */
.footer {
    background-color: #000000;
    padding: 80px 80px;
    height: auto;
}

.footer-top {
    color: white;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0px;
    margin: 0 auto;
    padding-bottom: 30px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #ffffff;
}
@keyframes scrollUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
.footer-column a {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  display: inline-block;
  position: relative;
  overflow: hidden;
  transition: color 0.3s ease;
}

/* Wrap the text in a span for animation */
.footer-column a span {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* On hover, slide the text up slightly */
.footer-column a:hover span {
  animation: scrollUp 0.3s forwards ease;
  color: #ffffff; /* keep white */
}

.footer-credit {
    grid-column: 1 / -1;
    text-align: right;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333333;
}

.footer-credit p {
    color: #888888;
    font-size: 14px;
    font-weight: 400;
}

.footer-credit a {
    color: #cccccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #ffffff;
}

.footer-column:last-child {
    width: 350px;
    /* or any value you need */
}

.footer-bottom {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

.lets-work,
.lets-work-clone {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 210px;
  color: white;
  font-family: Archivo, sans-serif;
  font-weight: 900;
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
  transform: translateY(0);
  transition: transform 0.4s ease, opacity 0.4s ease;
  background-color: #000;
}

.lets-work {
  opacity: 1;
  z-index: 10;
}

.lets-work-clone {
  opacity: 0;
  pointer-events: none;
}














.hover-open-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 400;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    /* behind .cursor-ring */
    opacity: 0;
    transition: opacity 0.2s ease;
}


.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border: 2px solid rgba(198, 198, 198, 0.7);
    border-radius: 50%;
    pointer-events: none;
    /* Let clicks pass through */
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    z-index: 9999;
}

.page-grid-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-wrap: wrap;
  z-index: 9999;
  pointer-events: none;
}

.grid-block-page {
  width: 20vw;
  height: 15vh;
  background: #ffffff49;
  opacity: 1;
  transform: scale(1);
  animation: blockRevealPage 1s ease forwards;
  animation-delay: calc(var(--delay) * 0.1s);
}

@keyframes blockRevealPage {
  to {
    opacity: 0;
    transform: scale(0);
  }
}



