@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins";
}

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

main,
section {
    width: 100%;
    max-width: 100%;
}

img,
video,
svg {
    max-width: 100%;
}
#nav-bar {
    width: 100%;
    height: 10vmin;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    background-color: black;
    position: fixed;
    z-index: 9999999;
}

#nav-logo {
    width: 30%;
    font-size: 5vmin;
    text-transform: uppercase;
    color:white;
    letter-spacing: 0.1vmin;
}

#nav-list {
    width: 50%;

}

#nav-list ul {
    width: 100%;
    list-style-type: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

#nav-list ul li a {
    text-decoration: none;
    color: white;
    font-size: calc(0.5vmin + 1vmax);
    letter-spacing: 0.1vmin;

}

#nav-list ul li a:hover {
    border-bottom: 0.2vmin solid #E88D67;
}

#nav-list span{
   
  display: none;
  
}
#nav-list span i{
    font-size: 4vmin;
    color: white;
    
}



/* ======================================================================
   PREMIUM SPLIT PORTFOLIO HERO
   Text on the left and a square 1:1 image on the right.
   Replace images/3.webp with your own square image whenever required.
   ====================================================================== */

.portfolio-hero {
    --hero-white: #ffffff;
    --hero-muted: rgba(255, 255, 255, 0.66);
    --hero-dim: #85858a;
    --hero-pad: clamp(24px, 5vw, 96px);
    --hero-max: 1720px;

    position: relative;
    width: 100%;
    min-height: max(760px, 100svh);
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    background: #000;
    color: var(--hero-white);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

.portfolio-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: clamp(60px, 5vw, 96px) clamp(60px, 5vw, 96px);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 88%);
}

.portfolio-hero__glow {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 78% 43%, rgba(255, 255, 255, 0.13), transparent 21%),
        radial-gradient(circle at 12% 30%, rgba(255, 255, 255, 0.055), transparent 24%);
}

.portfolio-hero__container {
    width: min(100%, var(--hero-max));
    margin-inline: auto;
    padding: clamp(135px, 13vh, 190px) var(--hero-pad) clamp(120px, 12vh, 165px);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    align-items: center;
    gap: clamp(56px, 7vw, 130px);
}

.portfolio-hero__content {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.portfolio-hero__eyebrow {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: clamp(11px, 0.76vw, 14px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.20em;
    text-transform: uppercase;
}

.portfolio-hero h1 {
    max-width: 1000px;
    margin: clamp(22px, 2vw, 34px) 0 0;
    color: #fff;
    font-family: inherit;
    font-size: clamp(62px, 6.55vw, 126px);
    font-weight: 600;
    line-height: 0.89;
    letter-spacing: -0.072em;
    text-wrap: balance;
}

.portfolio-hero h1 span {
    color: var(--hero-dim);
}

.portfolio-hero__description {
    max-width: 640px;
    margin: clamp(27px, 2.3vw, 42px) 0 0;
    color: var(--hero-muted);
    font-size: clamp(16px, 1.18vw, 21px);
    font-weight: 400;
    line-height: 1.62;
}

.portfolio-hero__actions {
    margin-top: clamp(30px, 2.6vw, 46px);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(18px, 2vw, 32px);
}

.portfolio-hero__primary,
.portfolio-hero__secondary {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-radius: 999px;
    font-family: inherit;
    font-size: clamp(14px, 0.95vw, 17px);
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.35s cubic-bezier(.22, 1, .36, 1),
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.portfolio-hero__primary {
    padding: 15px 24px;
    border: 1px solid #fff;
    background: #fff;
    color: #000;
}

.portfolio-hero__secondary {
    padding: 15px 2px;
    color: rgba(255, 255, 255, 0.78);
}

.portfolio-hero__primary:hover,
.portfolio-hero__secondary:hover {
    transform: translateY(-3px);
}

.portfolio-hero__primary:hover {
    background: #dedede;
    border-color: #dedede;
}

.portfolio-hero__secondary:hover {
    color: #fff;
}

.portfolio-hero__visual {
    width: 100%;
    max-width: 650px;
    justify-self: end;
    min-width: 0;
}

.portfolio-hero__image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: clamp(28px, 2.4vw, 46px);
    background: #101010;
    box-shadow:
        0 45px 110px rgba(0, 0, 0, 0.72),
        0 0 0 12px rgba(255, 255, 255, 0.025);
}

.portfolio-hero__image-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(145deg, rgba(255,255,255,.11), transparent 30%),
        linear-gradient(0deg, rgba(0,0,0,.28), transparent 42%);
}

.portfolio-hero__image-wrap img {
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: center;
  
    transition: transform 0.8s cubic-bezier(.22, 1, .36, 1), filter 0.6s ease;
}

.portfolio-hero__visual:hover .portfolio-hero__image-wrap img {
    transform: scale(1.035);

}

.portfolio-hero__image-caption {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: rgba(255, 255, 255, 0.45);
    font-size: clamp(9px, 0.64vw, 12px);
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.portfolio-hero__meta {
    position: absolute;
    right: var(--hero-pad);
    bottom: clamp(34px, 3vw, 54px);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 15px;
    color: rgba(255, 255, 255, 0.42);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(9px, 0.63vw, 12px);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.portfolio-hero__meta-line {
    width: clamp(50px, 4vw, 76px);
    height: 1px;
    background: rgba(255, 255, 255, 0.30);
}

.portfolio-hero__scroll {
    position: absolute;
    left: var(--hero-pad);
    bottom: clamp(30px, 3vw, 50px);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.50);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(10px, 0.68vw, 13px);
    font-weight: 500;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.portfolio-hero__scroll-icon {
    position: relative;
    width: 18px;
    height: 29px;
    border: 1px solid rgba(255, 255, 255, 0.46);
    border-radius: 999px;
}

.portfolio-hero__scroll-icon::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    width: 2px;
    height: 6px;
    border-radius: 999px;
    background: #fff;
    transform: translateX(-50%);
    animation: portfolioHeroScroll 1.8s ease-in-out infinite;
}

@keyframes portfolioHeroScroll {
    0%, 100% { opacity: 0.35; transform: translate(-50%, 0); }
    50% { opacity: 1; transform: translate(-50%, 7px); }
}

@media (max-width: 1100px) {
    .portfolio-hero__container {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
        gap: clamp(38px, 5vw, 72px);
    }

    .portfolio-hero h1 {
        font-size: clamp(58px, 7.6vw, 88px);
    }
}

@media (max-width: 820px) {
    .portfolio-hero {
        min-height: auto;
    }

    .portfolio-hero__container {
        padding-top: 130px;
        padding-bottom: 118px;
        grid-template-columns: 1fr;
        gap: 58px;
    }

    .portfolio-hero__content {
        max-width: 720px;
    }

    .portfolio-hero h1 {
        font-size: clamp(58px, 11vw, 94px);
    }

    .portfolio-hero__visual {
        width: min(100%, 610px);
        max-width: 610px;
        justify-self: start;
    }

    .portfolio-hero__meta {
        display: none;
    }
}

@media (max-width: 600px) {
    .portfolio-hero {
        --hero-pad: 18px;
    }

    .portfolio-hero__container {
        padding-top: 112px;
        padding-bottom: 96px;
        gap: 44px;
    }

    .portfolio-hero h1 {
        margin-top: 20px;
        font-size: clamp(52px, 16.5vw, 76px);
        line-height: 0.90;
        letter-spacing: -0.064em;
    }

    .portfolio-hero__description {
        max-width: 470px;
        margin-top: 24px;
        font-size: 15px;
    }

    .portfolio-hero__actions {
        margin-top: 28px;
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .portfolio-hero__primary {
        width: 100%;
        max-width: 285px;
    }

    .portfolio-hero__image-wrap {
        border-radius: 24px;
    }

    .portfolio-hero__image-caption {
        margin-top: 13px;
        font-size: 9px;
        letter-spacing: .1em;
    }

    .portfolio-hero__scroll {
        display: none;
    }
}

/* 4K proportional enlargement based on the 1920px desktop composition. */
@media (min-width: 3000px) {
    .portfolio-hero {
        --hero-pad: 10vw;
        --hero-max: 3440px;
        min-height: max(1520px, 100svh);
    }

    .portfolio-hero__container {
        padding-top: clamp(270px, 13vh, 380px);
        padding-bottom: clamp(240px, 12vh, 330px);
        grid-template-columns: minmax(0, 1.08fr) minmax(720px, .92fr);
        gap: clamp(112px, 7vw, 260px);
    }

    .portfolio-hero__eyebrow {
        font-size: 28px;
    }

    .portfolio-hero h1 {
        max-width: 1900px;
        margin-top: 50px;
        font-size: clamp(124px, 6.55vw, 252px);
    }

    .portfolio-hero__description {
        max-width: 1280px;
        margin-top: 68px;
        font-size: 42px;
    }

    .portfolio-hero__actions {
        margin-top: 76px;
        gap: 56px;
    }

    .portfolio-hero__primary,
    .portfolio-hero__secondary {
        min-height: 104px;
        gap: 24px;
        font-size: 34px;
    }

    .portfolio-hero__primary {
        padding: 30px 48px;
    }

    .portfolio-hero__secondary {
        padding: 30px 4px;
    }

    .portfolio-hero__visual {
        max-width: 1300px;
    }

    .portfolio-hero__image-wrap {
        border-radius: 92px;
        box-shadow: 0 90px 220px rgba(0, 0, 0, 0.72), 0 0 0 24px rgba(255,255,255,.025);
    }

    .portfolio-hero__image-caption {
        margin-top: 34px;
        font-size: 24px;
    }

    .portfolio-hero__meta {
        bottom: 80px;
        gap: 30px;
        font-size: 24px;
    }

    .portfolio-hero__meta-line {
        width: 152px;
    }

    .portfolio-hero__scroll {
        bottom: 72px;
        gap: 24px;
        font-size: 26px;
    }

    .portfolio-hero__scroll-icon {
        width: 36px;
        height: 58px;
    }

    .portfolio-hero__scroll-icon::after {
        top: 12px;
        width: 4px;
        height: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .portfolio-hero__scroll-icon::after {
        animation: none;
    }

    .portfolio-hero__image-wrap img {
        transition: none;
    }
}


/*  About box..................................... */
#about-box {
    height: 100%;
    padding-top: 2vmin;
    
}

#about-Me {
    display: flex;
    justify-content: start;
    align-items: center;
    padding:0 5vmin;
    flex-wrap: wrap;
}

#about-Me h1 {

    width: 100%;
    
    font-size: 4vmax;           

    font-weight: 600;
    letter-spacing: 0.2vmin;
   

}
#about-text {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding:0 5vmin;
    margin-top: 2vmin;
}
#about-text p {
    color: black;
    font-size: 1.5vmax;
    font-weight: 400;
    word-spacing: 0.2vw;
    
    align-content: center;


}
#tool-box {
    border-top: 0.2vmin solid rgb(177, 106, 106);
 
    height: 50vmin;

   
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    margin-left: 5vw;
    margin-top: 2vmin;
    margin-right: 5vw;
    /* background-color: #2cc74a; */
   
    
}

#tool-box h2 {
    width: 100%;
    font-size: 5vmax;
    font-weight: 600;
    letter-spacing: 0.5vmin;
    text-align: center;
    padding: 1vmin;
}
.tool-boxes{
    width: 100%;
    height: 50vmin;
    background-color: rgb(228, 234, 222);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-evenly;

}

#tool-card-1 .card__content {
    background-color: #001834;

}



#tool-card-1 .card__content .card__title {
    color: #00aaff;

}

#tool-card-2 .card__content {
    background-color: #330000;

}

#tool-card-2 .card__content .card__title {
    color: #ff9900;
    text-align: start;



}

#tool-card-3 .card__content {
    background-color: #0d0d29;

}

#tool-card-3 .card__content .card__title {
    color: #2cc74a;
    text-align: start;
}

#tool-card-4 .card__content {
    background-color: #49021f;

}

#tool-card-4 .card__content .card__title {
    color: #ff3366;
    text-align: start;
}
#tool-card-5 .card__content {
    background-color: #070018;

}

#tool-card-5 .card__content .card__title {
    color: #3363ff;
    text-align: start;
}
#tool-card-6 .card__content {
    background-color: #070018;

}

#tool-card-6 .card__content .card__title {
    color: #3363ff;
    text-align: start;
}
#tool-box div .card {
    position: relative;
    height: 22vmin;
    width: 22vmin;
    border-radius: 2vmin;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    /* background-color: #ff9900; */
}

.card svg {
    width: 3rem;
    fill: #333;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover {
    transform: rotate(0deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.card:hover .card__content {
    transform: translate(-50%, -50%) rotate(0deg);
    opacity: 1;
}

.card__title {
    width: 100%;
    margin: 0;
    font-size: calc(1vmax + 0.5vw );
    font-weight: 700;
}

.card__description {
    margin: 0;
    font-size: 0.9vmin;
    color: white;
    line-height: 1.4;
}

.about-bttn {
    text-align:end;
    padding: 2vmin 5vmin;
 
    /* background-color: #001834; */
    
}

/* General Styling for Carousel Sections */
.carousel-section {
    text-align: center; /* Centers the heading and subheading */
    padding: 20px 10px;
}

/* Styling for Carousel Headings */
.carousel-heading {
    font-size: 28px; /* Adjust font size */
    font-weight: bold;
    color: #333; /* Dark color for visibility */
    margin-bottom: 10px; /* Space below the heading */
    text-transform: uppercase;
    margin-top: 70px;
}

/* Styling for Carousel Subheadings */
.carousel-subheading {
    font-size: 18px; /* Slightly smaller than heading */
    color: #666; /* Light gray color */
    margin-bottom: 20px;
    font-style: italic;
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .carousel-heading {
        font-size: 22px; /* Smaller font size on mobile */
    }

    .carousel-subheading {
        font-size: 16px;
    }
}/* Carousel */
.carousel-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px;
    margin-top: 20px;
}

.carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 10px;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.cardv {
    flex: 0 0 auto;
    width: 250px;
    height: 444px; /* 9:16 Aspect Ratio */
    scroll-snap-align: start;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.cardv video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0;
    }

    .cardv {
        width: 80vw;
        height: calc(80vw * 16 / 9);
    }
}
.client_work{
     background-color: #00aaff;
      text-decoration: none;
    
    color: white;
    font-size: calc(1vmax + 0.5vmin);
    border-radius: 30vmin;
     padding: 1vmin 1.5vmin;
     border: none;
     
}

/* Branding section......................... */
#branding {
    width: 100%;
    height: calc(80vmin + 10vmax);
   
 margin-top: 70px;
    

}
#branding h2 {
    text-align: center;
    font-size: 10vw;
    letter-spacing: 2vw;
    font-weight: 500;
    
    
    text-transform: uppercase;
  
}

#branding p {
    padding: 1vmin;
    text-align: center;
    font-size: 1.5vmax;  
    font-weight: 400;
    word-spacing: 0.2vmin;
    align-content: center;
   

}

#branding .branding-boxes {
    width: 100%;
    height: 60%;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: center;
 /* background-color: #330000; */
    
}

#branding .branding-box {
    width: 40vmin;
    height: 45vmin;
    margin: 1vmin 0;
    border-radius: 2vmin;
    background-color: #f1f1f3;
    box-shadow: 0.8vmin 0.8vmin 0.5vmin 0px rgba(0,0,0,0.36);
    transition: all .5s ease-in-out;

    
    /* background-color: rgb(83, 102, 197); */
   
    }
#branding .branding-box:hover{
    transform: translateY(-10px);


    }
#branding .brandingBox-img1 {
    width: 40vmin;
    height:20vmin;
    border-top-right-radius: 2vmin;
    border-top-left-radius: 2vmin;
}
#branding .brandingBox-img1 img{
    border-top-right-radius: 2vmin;
    border-top-left-radius: 2vmin;
}
#branding .brandingBox-text p{
font-size: calc(0.3vmax + 1.8vmin);
margin: 0.2vmin 0;
/* padding: 1vmin; */
font-weight: 400;
word-spacing: 0.1vmin;
align-content: center;

}
#branding .brandingBox-bttn{
    text-align: center;
    /* background-color: #E88D67; */
}
.bttn a{
    padding: 1vmin 1.5vmin;
    text-decoration: none;
    background-color: #00aaff;
    color: white;
    font-size: calc(1vmax + 0.5vmin);
    border-radius: 30vmin;
}

.bttn a:hover{    
    background-color: #53c1f8;

}


/* work setion------------------- */
#my-work-box {
    height: 100%;
    width: 100%;
    
}

#my-work-heading {
    /* height:100%; */
    padding: 1vmin 2vmin;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; 
     align-items: center;

}

#my-work-heading h2 {
    font-size: 4vmax;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.2vmin;
}

#my-work-heading h3 {
    font-size: 2vmax;
   text-align: center;
    font-weight: 600;
    letter-spacing: 0.2vmin;
}
#work-main-box{
    height: 100%;
     width: 100%;
    padding: 2vmin 0;
    display: flex;
    flex-direction: column;
    row-gap: 2vmin;
    column-gap: 2vmin;
background-color: whitesmoke;
}

.work-boxes {
    
    width: 100%;
    height: 60vmin;
    display: flex;
    flex-wrap: wrap;
    /* background-color: #ff9900; */
    justify-content: space-evenly;
    /* align-items: center; */
    background-color: whitesmoke;
    
    column-gap: 2vmin;
   
}

.work-boxes .boxes-info {
    width: 48%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
 
   
}
.work-boxes .boxes-info p {
    padding: 1.5vmin;
    text-align: center;
    /* margin: 10px 0; */
    font-size: 1.5vmax;
    font-weight: 400;
    word-spacing: 0.2vmin;
    align-content: center;
  

}

.work-boxes .boxes-info h2 {
    padding-top: 1.5vmin;
    text-align: center;
    font-size: calc(2vmax + 2vw);
    font-weight: 600;
    letter-spacing: 0.2vmin;
   
}
.boxes-info .work-box-link{
    text-align: center;
    margin-bottom: 2vmin;
 
}

.boxes-inf .owork-box-link a:hover {
    background-color: #3dbaf9;
}
.boxes-info .work-box-img {
    width: 40vmin;
    height: auto;
   }
   .boxwork1{
    background-color: white;
   }
     .boxwork2{
    background-color: white;
   }


   .boxwork4{
    background-color: black;
   }

 .boxwork4 h2 {
      color: white;
   }

.boxwork4 p {
      color: white;
   }


    .boxwork3{
    background-color: black;
   }
.boxwork3 h2{
    color: white;
   }

.boxwork3 p {
      color: white;
   }



.ppp{

    width: 90%;
    height: auto;
}

#vid-box video{

    width: 100%;
    height: 100%;
}
#vid-box-2 {
    display: none;

  
}
#vid-box-2 video{
    width: 100%;
    height: 100%;

}



/* Responsive-------------------- */
@media only screen and (max-width: 450px){
    #nav-list span{
        display:flex;
        justify-content: end;
        align-items: center;
        color: white;
    }
    #nav-list ul {
       position: fixed;
       width: 100%;
       max-width: 100%;
       height: calc(100vh - 10vmin);
       background-color: rgba(13, 13, 13, 0.9);
       top: 10vmin;
       left: 0;
       transform: translateX(-100%);
       transition: transform .5s;
       display: block;
       text-align: center;
       z-index: 999999;
    }
    #nav-list ul li{
        
      
        line-height: 30px;
        margin:4vmin 0.3vmin;
       

 } 
 #nav-list ul li a{ 
    font-size: 20px;
    padding: 1vmin;
    display: inline-block;
    width: 90vw;

   
    border-bottom: 0.8px solid rgb(109, 108, 108);
 }
 #nav-list ul.show{
    transform: translateX(0);
 }

 .work-boxes .boxes-info {
    width: 100%;
    height: 48%;
   
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
 
   
}
.work-boxes {
    
    width: 100%;
    height: 80vh;

}
.card__content {
    display: none;



}

     .boxwork2{
    background-color: black;
   }
 .boxwork2 h2 {
      color: white;
   }

.boxwork2 p {
      color: white;
   }


   .boxwork4{
    background-color: black;
   }

 .boxwork4 h2 {
      color: white;
   }

.boxwork4 p {
      color: white;
   }


    .boxwork3{
    background-color: white;
   }
.boxwork3 h2{
    color: black;
   }

.boxwork3 p {
      color: black;
   }
   #vid-box video{

    display: none;
}
#vid-box-2{
    display: block;
    

   
}

}
footer{
    
     height: 100%;
     background-color: rgb(34, 34, 34);
     width: 100%;
     
     
}
footer .footer-icon ul {
  
   display: flex;
   justify-content: center;
   align-items: center;
   padding: 2vmin 0;
}
footer .footer-icon ul li{
    list-style: none;
    margin: 0 4vmin;
    
}
footer .footer-icon ul li a{
    text-decoration: none;
    color: white;
    font-size: 2vmax;
}


footer .footer-text{
   
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    justify-content: space-between;
    padding: 2.5vmin;
    background-color: black;

}
.footer-text h2{
    font-size: 1vmax;
    font-weight: 300;
}
.footer-text h3{
    font-size: 1vmax;
    font-weight: 200;
}





/* ========= AI PROJECT SHOWCASE ========= */

.ai-showcase{
padding:120px 5%;
background:#000;
color:#fff;
}
.ai-showcase__header{
max-width:850px;
margin:0 auto 70px;
text-align:center;
}
.ai-showcase__eyebrow{
text-transform:uppercase;
letter-spacing:.2em;
color:#8d8d92;
margin-bottom:18px;
font-size:13px;
}
.ai-showcase__header h2{
font-size:clamp(48px,7vw,96px);
line-height:.95;
font-weight:600;
letter-spacing:-.05em;
margin-bottom:24px;
}
.ai-showcase__header h2 span{color:#777;}
.ai-showcase__header p{
max-width:720px;
margin:auto;
font-size:18px;
line-height:1.7;
color:#aaa;
}
.ai-showcase__grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:24px;
max-width:1400px;
margin:0 auto;
align-items:start;
}
.ai-card{transition:.4s;}
.ai-card.featured{margin-top:60px;}
.ai-card:hover{transform:translateY(-10px);}
.ai-card video{
width:100%;
aspect-ratio:9/16;
object-fit:cover;
border-radius:28px;
display:block;
background:#111;
box-shadow:0 30px 70px rgba(0,0,0,.55);
}
.ai-card__info{
padding:18px 6px;
}
.ai-card__info small{
display:block;
color:#8b8b8b;
text-transform:uppercase;
margin-bottom:8px;
}
.ai-card__info h3{
font-size:26px;
font-weight:600;
}
@media(max-width:900px){
.ai-showcase__grid{grid-template-columns:1fr;max-width:420px;}
.ai-card.featured{margin-top:0;}
}


/* Mobile horizontal overflow safeguard */
@media only screen and (max-width: 768px) {
    body,
    main,
    section,
    header,
    footer,
    #nav-bar,
    #work-main-box,
    .work-boxes,
    .ai-showcase,
    .carousel-section,
    .carousel-container {
        max-width: 100%;
    }

    #branding h2,
    .ai-showcase__header h2 {
        overflow-wrap: anywhere;
    }
}


/* AI showcase explore button */
.ai-showcase__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    padding: 15px 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: #f5f5f7;
    color: #080808;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease,
        gap 0.3s ease;
}

.ai-showcase__button:hover {
    gap: 15px;
    transform: translateY(-3px);
    background: #ffffff;
    box-shadow: 0 16px 45px rgba(255, 255, 255, 0.16);
}

.ai-showcase__button-arrow {
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 600px) {
    .ai-showcase__button {
        width: 100%;
        max-width: 280px;
        padding: 15px 20px;
    }
}


/* ========= CLIENT WORK SHOWCASE — APPLE STYLE TEXT LAYOUT ========= */

.client-showcase {
    width: 100%;
    padding: 110px 5% 90px;
    text-align: left;
    background:
        radial-gradient(
            circle at 85% 5%,
            rgba(0, 0, 0, 0.045),
            transparent 28%
        ),
        #ffffff;
}

.client-showcase__header {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto 46px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    gap: 60px;
    align-items: end;
}

.client-showcase__eyebrow {
    margin: 0 0 18px;
    color: #86868b;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Text",
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.client-showcase .carousel-heading {
    max-width: 860px;
    margin: 0;
    color: #1d1d1f;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Display",
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-size: clamp(50px, 6vw, 92px);
    font-weight: 600;
    line-height: 0.96;
    letter-spacing: -0.06em;
    text-transform: none;
}

.client-showcase .carousel-heading span {
    display: block;
    color: #86868b;
}

.client-showcase .carousel-subheading {
    max-width: 470px;
    margin: 0 0 7px;
    color: #6e6e73;
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "SF Pro Text",
        "Helvetica Neue",
        Arial,
        sans-serif;
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
    font-style: normal;
    line-height: 1.62;
}

.client-showcase .carousel-container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 0;
}

/* Existing 9:16 video cards, controls and horizontal scroll remain unchanged */
.client-showcase .carousel {
    gap: 10px;
}

@media (max-width: 900px) {
    .client-showcase {
        padding: 85px 24px 70px;
    }

    .client-showcase__header {
        grid-template-columns: 1fr;
        gap: 25px;
        align-items: start;
        margin-bottom: 38px;
    }

    .client-showcase .carousel-subheading {
        max-width: 620px;
    }
}

@media (max-width: 520px) {
    .client-showcase {
        padding: 72px 18px 58px;
    }

    .client-showcase .carousel-heading {
        font-size: clamp(44px, 14vw, 62px);
    }

    .client-showcase .carousel-subheading {
        font-size: 16px;
    }

    .client-showcase .carousel-container {
        padding: 0;
    }
}


/* ========= CLIENT SHOWCASE — LAPTOP & 4K RESPONSIVE FIX ========= */

/* Mobile remains unchanged. These rules start from tablet/laptop width. */
@media (min-width: 769px) {
    .client-showcase {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding:
            clamp(82px, 7vw, 150px)
            clamp(28px, 5vw, 110px)
            clamp(72px, 6vw, 125px);
    }

    .client-showcase__header {
        width: min(100%, 1680px);
        max-width: 1680px;
        margin: 0 auto clamp(38px, 4vw, 72px);
        grid-template-columns:
            minmax(0, 1.35fr)
            minmax(280px, 0.65fr);
        column-gap: clamp(34px, 5vw, 100px);
    }

    .client-showcase__title-wrap,
    .client-showcase .carousel-subheading {
        min-width: 0;
    }

    .client-showcase .carousel-heading {
        width: 100%;
        max-width: 1000px;
        font-size: clamp(52px, 5.3vw, 96px);
        line-height: 0.98;
        letter-spacing: -0.055em;
        overflow: visible;
        word-break: normal;
        overflow-wrap: normal;
        text-wrap: balance;
    }

    .client-showcase .carousel-heading span {
        display: block;
    }

    .client-showcase .carousel-subheading {
        width: 100%;
        max-width: 520px;
        font-size: clamp(16px, 1.35vw, 21px);
        line-height: 1.62;
        text-wrap: pretty;
    }

    .client-showcase .carousel-container {
        width: min(100%, 1780px);
        max-width: 1780px;
        overflow: visible;
        margin: 0 auto;
        padding: 10px 0 4px;
    }

    .client-showcase .carousel {
        width: 100%;
        max-width: 100%;
        gap: clamp(12px, 1.25vw, 24px);
        overflow-x: auto;
        overflow-y: hidden;
        padding: 8px 4px 24px;
        scroll-padding-inline: 4px;
    }

    .client-showcase .cardv {
        width: clamp(225px, 17vw, 320px);
        height: auto;
        aspect-ratio: 9 / 16;
        flex: 0 0 auto;
        border-radius: clamp(12px, 1.2vw, 20px);
    }

    .client-showcase .cardv video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .client-showcase .brandingBox-bttn {
        margin-top: clamp(22px, 2.5vw, 38px);
        text-align: center;
    }

    .client-showcase .brandingBox-bttn a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: clamp(11px, 1vw, 15px) clamp(21px, 1.8vw, 30px);
        font-size: clamp(15px, 1.05vw, 19px);
        line-height: 1.2;
        white-space: nowrap;
    }
}

/* Smaller laptops */
@media (min-width: 769px) and (max-width: 1180px) {
    .client-showcase__header {
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }

    .client-showcase .carousel-heading {
        max-width: 850px;
        font-size: clamp(52px, 7vw, 78px);
    }

    .client-showcase .carousel-subheading {
        max-width: 680px;
    }

    .client-showcase .cardv {
        width: clamp(220px, 27vw, 290px);
    }
}

/* Large desktop and 4K screens */
@media (min-width: 1920px) {
    .client-showcase {
        padding:
            clamp(150px, 7vw, 230px)
            clamp(100px, 7vw, 260px)
            clamp(125px, 6vw, 200px);
    }

    .client-showcase__header {
        width: min(100%, 2200px);
        max-width: 2200px;
        grid-template-columns:
            minmax(0, 1.45fr)
            minmax(420px, 0.55fr);
        column-gap: clamp(90px, 6vw, 180px);
        margin-bottom: clamp(70px, 4vw, 125px);
    }

    .client-showcase__eyebrow {
        font-size: clamp(15px, 0.72vw, 22px);
        margin-bottom: clamp(22px, 1.2vw, 36px);
    }

    .client-showcase .carousel-heading {
        max-width: 1400px;
        font-size: clamp(96px, 5.4vw, 150px);
        line-height: 0.95;
    }

    .client-showcase .carousel-subheading {
        max-width: 680px;
        font-size: clamp(22px, 1.15vw, 32px);
        line-height: 1.58;
    }

    .client-showcase .carousel-container {
        width: min(100%, 2400px);
        max-width: 2400px;
    }

    .client-showcase .carousel {
        gap: clamp(22px, 1.2vw, 38px);
        padding-bottom: 38px;
    }

    .client-showcase .cardv {
        width: clamp(340px, 15vw, 460px);
        border-radius: clamp(20px, 1vw, 32px);
    }

    .client-showcase .brandingBox-bttn {
        margin-top: clamp(35px, 2vw, 60px);
    }

    .client-showcase .brandingBox-bttn a {
        padding: clamp(15px, 0.8vw, 23px) clamp(30px, 1.5vw, 48px);
        font-size: clamp(19px, 0.9vw, 27px);
    }
}

/* ======================================================================
   4K PROPORTIONAL DESKTOP SCALING
   Base design: 1920 x 1080
   Target: 3840 x 2160 = exact 2x visual scale
   Mobile and normal laptop styles remain unchanged.
   ====================================================================== */

@media (min-width: 3000px) {
    :root {
        --desktop-scale: 2;
    }

    html,
    body {
        width: 100%;
        max-width: none;
        margin: 0;
        overflow-x: hidden;
        background: #ffffff;
    }

    main,
    section,
    header,
    footer {
        width: 100%;
        max-width: none;
    }

    /* Fixed navbar also fills the complete 4K width. */
    #nav-bar {
        width: 100%;
        max-width: none;
        height: 20vmin;
        left: 0;
        right: 0;
        transform: none;
    }

    /* Pixel-based desktop components scale exactly 2x. */
    .carousel-section { padding: 40px 20px; }
    .carousel-heading { font-size: 56px; margin-top: 140px; margin-bottom: 20px; }
    .carousel-subheading { font-size: 36px; margin-bottom: 40px; }
    .carousel-container { padding: 20px; margin-top: 40px; }
    .carousel { gap: 20px; padding-bottom: 20px; }
    .cardv { width: 500px; height: 888px; border-radius: 20px; }

    .ai-showcase {
        padding: 240px 10%;
    }
    .ai-showcase__header {
        max-width: 1700px;
        margin-bottom: 140px;
    }
    .ai-showcase__eyebrow {
        margin-bottom: 36px;
        font-size: 26px;
    }
    .ai-showcase__header h2 {
        font-size: clamp(96px, 7vw, 192px);
        margin-bottom: 48px;
    }
    .ai-showcase__header p {
        max-width: 1440px;
        font-size: 36px;
    }
    .ai-showcase__grid {
        max-width: 2800px;
        gap: 48px;
    }
    .ai-card.featured { margin-top: 120px; }
    .ai-card video { border-radius: 56px; }
    .ai-card__info { padding: 36px 12px; }
    .ai-card__info h3 { font-size: 52px; }
    .ai-showcase__button {
        gap: 20px;
        margin-top: 60px;
        padding: 30px 48px;
        font-size: 32px;
    }
    .ai-showcase__button-arrow { font-size: 40px; }

    /* Client showcase uses the full screen instead of a centred 2560px canvas. */
    .client-showcase {
        width: 100%;
        max-width: none;
        padding: 220px 10% 180px;
    }
    .client-showcase__header {
        width: 100%;
        max-width: 2800px;
        grid-template-columns: minmax(0, 1.35fr) minmax(560px, .65fr);
        gap: 120px;
        margin-bottom: 92px;
    }
    .client-showcase__eyebrow {
        margin-bottom: 36px;
        font-size: 26px;
    }
    .client-showcase .carousel-heading {
        max-width: 1720px;
        font-size: clamp(100px, 6vw, 184px);
    }
    .client-showcase .carousel-subheading {
        max-width: 940px;
        font-size: clamp(32px, 1.4vw, 40px);
    }
    .client-showcase .carousel-container {
        width: 100%;
        max-width: 3000px;
        padding: 20px 0;
    }
    .client-showcase .carousel {
        gap: 20px;
        padding: 16px 8px 48px;
    }
    .client-showcase .cardv {
        width: clamp(450px, 17vw, 640px);
        height: auto;
        aspect-ratio: 9 / 16;
        border-radius: 40px;
    }
    .client-showcase .brandingBox-bttn { margin-top: 60px; }
    .client-showcase .brandingBox-bttn a {
        padding: 30px 48px;
        font-size: 32px;
    }
}