@font-face {
    font-family: "Bodoni";
    src: url("/fonts/BodoniModa-VariableFont_opsz\,wght.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --container-max-width: 1200px;
    --padding-mobile: 16px;
    --padding-tablet: 16px;
    --padding-desktop: 64px;
    --font-size-base: 16px;
    --font-size-h1: 2rem;
    --font-size-h1-large: 8rem;
    --project-footer-height: 100px;

    /* Material Design Typography Scale */
    --display-large: 96px;
    --display-medium: 45px;
    --display-small: 36px;

    --headline-large: 32px;
    --headline-medium: 28px;
    --headline-small: 24px;

    --title-large: 22px;
    --title-medium: 20px;
    --title-small: 18px;

    --body-large: 16px;
    --body-medium: 14px;
    --body-small: 12px;

    --label-large: 14px;
    --label-medium: 12px;
    --label-small: 11px;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-loose: 1.8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Bodoni", serif;
    cursor: none;
}

.cursor {
    position: fixed;
    width: 32px;
    height: 32px;
    background-color: #000000;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: 0.3s;
    mix-blend-mode: difference;
    backdrop-filter: invert(1);
    will-change: transform;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: white;
    transition: box-shadow 0.3s ease;
}

.navbar-left,
.navbar-right {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin: 0rem 5rem;
}

.nav-link {
    font-family: "Bodoni", serif;
    color: #533527;
    text-decoration: none;
    padding: 0 0.5rem;
    font-size: var(--title-small);
    font-weight: 600;
    letter-spacing: 0.6px;
    transition: color 0.3s ease, transform 0.2s ease;
    position: relative;
    line-height: var(--line-height-normal);
}

.navbar-right .nav-link.resume-btn {
    font-family: "Bodoni", serif;
    color: #533527;
    text-decoration: none;
    font-size: var(--title-small);
    font-weight: 600;
    letter-spacing: 0.6px;
    padding: 8px 16px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

body {
    font-family: "Bodoni", serif;
    max-width: 100vw;
    margin: 0 auto;
    background-size: cover;
    overflow-x: hidden;
    position: relative;
    cursor: none;
    max-width: 100%;
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

.hero-title {
    font-size: var(--headline-large);
    font-weight: 400;
    line-height: var(--line-height-tight);
    max-width: 100%;
    color: #533527;
    align-items: left;
    text-align: left;
}

.content {
    display: flex;
    flex-direction: column;
    height: fit-content;
    gap: 0.8rem;
    position: relative;
    right: 0;
    top: 0;
    width: 50%;
    align-items: left;
}

.content-title {
    font-size: var(--headline-medium);
    font-weight: 500;
}

.content-description {
    font-size: var(--body-large);
    color: #533527;
    line-height: var(--line-height-normal);
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #533527;
    color: #ffffff;
    padding: 16px 24px;
    text-decoration: none;
    font-size: var(--body-large);
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s ease, transform 0.3s;
    width: fit-content;
}

.cta-button:hover {
    background-color: #ffffff;
    border: 1px solid #533527;
    color: #533527;
    transform: translateY(-3px);
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    height: auto;
    width: 100%;
    height: auto;
    position: relative;
    padding: 8rem 0 4rem 0;
    gap: 2rem;
    background-image: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 1)),
        url('/images/Itembg.png');
    border-bottom: 1px solid #f2f2f2;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

:root {
    --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
    --ease-out-quad: cubic-bezier(0.5, 1, 0.89, 1);
}

.reveal-box.enter.animate {
    width: 30%;
}

.reveal-box__inner {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    align-content: center;
}

.reveal-box__inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    opacity: 0.3;
}

.reveal-box__image {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.enter .reveal-box__inner {
    animation: 0.9s var(--ease-in-out-quart) 0s both paused slide-in-right;
}

.enter .reveal-box__inner::after {
    animation: 0.9s var(--ease-in-out-quart) 0.6s both paused slide-out-right;
}

.enter .reveal-box__image {
    animation: 1.5s var(--ease-in-out-quart) 0.3s both paused scale-in-down;
}

.animate .reveal-box__inner {
    animation-play-state: running;
}

.animate .reveal-box__inner::after {
    animation-play-state: running;
}

.animate .reveal-box__image {
    animation-play-state: running;
}

.social-links {
    display: flex;
    direction: column;
    gap: 1rem;
    width: max-content;
}

.social-links .linkedin,
.social-links .twitter,
.social-links .dribbble {
    border: 1px solid #533527;
    text-decoration: none;
    padding: 8px 16px;
    color: #533527;
    text-decoration: none;
}

.grid-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    width: 80%;
    margin-top: 4rem;
    max-width: var(--container-max-width);
}

.section {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex: 1;
    width: 100%;
    border-bottom: 1px solid #f2f2f2;
    padding: 1.5rem;
}

.section-content {
    display: flex;
    flex-direction: column;
    width: 75%;
}

.section-title {
    font-size: var(--title-large);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.025em;
}

.skill-tag {
    display: inline-block;
    background-color: #9333ea;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: var(--body-small);
    margin-bottom: 1rem;
}

.category-title {
    font-size: var(--body-medium);
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    width: 75%;
    font-size: var(--body-large);
    line-height: var(--line-height-normal);
    color: #1f2937;
    word-wrap: break-word;
}

.company-name {
    display: flex;
    flex-direction: row;
    gap: 3rem;
}

.experience-item {
    margin-bottom: 1.5rem;
    width: 75%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-wrap: nowrap;
}

.experience-year {
    color: #6b7280;
    font-size: var(--title-large);
    margin-bottom: 0.5rem;
    width: 30%
}

.Designation {
    font-size: var(--body-large);
    line-height: var(--line-height-tight);
}

.experience-title {
    font-size: var(--title-large);
    margin-bottom: 1rem;
    width: 100%;
}

.experience-description {
    font-size: var(--body-large);
    color: #4b5563;
    line-height: var(--line-height-normal);
    margin-top: 1rem;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem;
    max-width: 75%;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border: 1px solid #f2f2f2;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #f5f5f5;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

.tag1 {
    position: absolute;
    background-color: #efefef;
    padding: 0.5rem 1rem;
    top: 0;
    font-size: var(--body-large);
    color: #533527;
    z-index: 1;
}

.gallery-item video,
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#premium img {
    object-fit: contain;
    background-color: #ffffff;
}

#travelerbag img {
    object-fit: contain;
    background-color: #ffffff;
}

#variable video {
    object-fit: contain;
    background-color: #ffffff;
}

@keyframes slide-in-right {
    0% {
        transform: translate3D(-100%, 0, 0);
    }

    100% {
        transform: translate3D(0, 0, 0);
    }
}

@keyframes slide-out-right {
    0% {
        transform: translate3D(0, 0, 0);
    }

    100% {
        transform: translate3D(100%, 0, 0);
    }
}

@keyframes slide-in-left {
    0% {
        transform: translate3D(100%, 0, 0);
    }

    100% {
        transform: translate3D(0, 0, 0);
    }
}

@keyframes slide-out-left {
    0% {
        transform: translate3D(0, 0, 0);
    }

    100% {
        transform: translate3D(-100%, 0, 0);
    }
}

@keyframes scale-in-down {
    0% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Media queries for responsive design */
@media screen and (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .navbar-left,
    .navbar-right {
        gap: 2rem;
        margin: 0 1rem;
    }

    .nav-link {
        font-size: var(--body-large);
    }

    .container {
        flex-direction: column;
        padding: 6rem 1rem 2rem 1rem;
        align-items: center;
    }

    .reveal-box.enter.animate {
        width: 80%;
    }

    .content {
        width: 100%;
        padding: 2rem 1rem;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: var(--headline-small);
        text-align: center;
    }

    .content-description {
        font-size: var(--body-medium);
        text-align: center;
    }

    .social-links {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }

    .grid-container {
        width: 90%;
        margin-top: 2rem;
    }

    .section {
        flex-direction: column;
        padding: 1rem;
    }

    .section-content,
    .skills-list,
    .experience-item {
        width: 100%;
    }

    .company-name {
        flex-direction: column;
        gap: 1rem;
    }

    .experience-year {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
        max-width: 90%;
        gap: 0.5rem;
    }

    .gallery-item {
        aspect-ratio: 1;
    }

    .section-title {
        font-size: var(--title-small);
        margin-bottom: 1rem;
    }

    .experience-title {
        font-size: var(--title-small);
    }

    .experience-description {
        font-size: var(--body-medium);
    }

    .skills-list {
        font-size: var(--body-medium);
    }

    .category-title {
        margin-top: 1rem;
    }

    .tag1 {
        font-size: var(--body-medium);
        padding: 0.25rem 0.75rem;
    }

    .navbar h1#name.bigger {
        font-size: 5.5rem;
        top: 25vh;
    }
}

@media (max-width: 767px) {
    .menu-toggle {
        display: block;
        opacity: 1;
        background: none;
        border: none;
        padding: 0.5rem;
        position: fixed;
        right: 1rem;
        top: 1.5rem;
        z-index: 1001;
    }

    .menu-toggle span {
        display: block;
        width: 25px;
        height: 2px;
        background-color: #533527;
        margin: 5px 0;
        transition: 0.3s;
    }

    .navbar {
        padding: 2rem;
    }

    .navbar-left,
    .navbar-right {
        display: flex;
        position: fixed;
        width: 100%;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        margin: 0;
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar-left {
        width: 100%;
        top: 25vh;
    }

    .navbar-right {
        top: 45vh;
    }

    .navbar.nav-active .navbar-left,
    .navbar.nav-active .navbar-right {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar.nav-active .navbar-left {
        top: 25vh;
        height: auto;
    }

    .navbar.nav-active .navbar-right {
        top: 45vh;
        height: auto;
    }

    .navbar::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: white;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .navbar.nav-active::before {
        opacity: 0.98;
        visibility: visible;
    }

    .navbar.nav-active .menu-toggle span:first-child {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .navbar.nav-active .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    .navbar.nav-active .menu-toggle span:last-child {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    body.menu-open {
        overflow: hidden;
    }

    .nav-link {
        text-align: center;
        font-size: var(--title-medium);
        padding: 1rem;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-links a {
        width: 100%;
        text-align: center;
    }

    .cursor {
        display: none !important;
    }

    body,
    a,
    button {
        cursor: auto;
    }
}

@media (max-width: 375px) {

    .navbar-left,
    .navbar-right {
        gap: 1rem;
    }

    .hero-title {
        font-size: var(--headline-small);
    }

    .social-links {
        flex-direction: column;
        align-items: center;
    }

    .social-links a {
        width: 100%;
        text-align: center;
    }
}