/* ========================================
   FONT FACE DECLARATIONS
   ======================================== */
@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-Hairline.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-Thin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

/* Italic variants */
@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-HairlineItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-ThinItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
}

@font-face {
    font-family: 'UnivaNova';
    src: url('assets/Font/UnivaNova-HeavyItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
}



/* ========================================
   GLOBAL STYLES & RESET
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'UnivaNova', Arial, sans-serif;
    font-weight: 400;
    background-color: #000000;
    overflow-x: hidden;
    color: #F0F0F0;
    max-width: 1920px;
    margin: 0 auto;
}

/* ========================================
   NAVIGATION BAR
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1920px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6rem;
    z-index: 1000;
}

/* Logo */
.nav-logo {
    cursor: pointer;
}

.nav-logo h3 {
    font-size: 1.1rem;
    font-weight: 300;
    color: #f0f0f0;
    letter-spacing: 0.01em;
}

.logoitalic {
    font-style: italic;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.5);
}


/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    gap: 10rem;
}

.nav-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.1em;
}

.nav-link:hover {
    color: #f0f0f0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #687cff;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Available Button */
.available-btn {
    background: transparent;
    font-family: 'UnivaNova', sans-serif;
    color: #687cff;
    border: 1px solid #687cff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
    animation: wiggle 2s ease-in-out infinite;
    letter-spacing: 0.01em;
}

.available-btn:hover {
    background-color: #687cff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(104, 124, 255, 0.4);
}

.available-btn:hover .blink-dot {
    background-color: white;
}

.available-btn:active {
    transform: translateY(0);
}

.blink-dot {
    width: 8px;
    height: 8px;
    background-color: #687cff;
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

/* ========================================
   MOBILE NAVIGATION
   ======================================== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 1.6px;
    background-color:  rgba(255, 255, 255, 0.64);
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-nav-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    padding: 2rem 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 999;
    opacity: 0;
}

.mobile-nav-menu.active {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-menu .nav-link {
    display: block;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.8rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.mobile-nav-menu .nav-link:hover {
    color: #f0f0f0;
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav-menu .nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-group {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row-reverse;
}

/* ========================================
   ANIMATIONS & KEYFRAMES
   ======================================== */
@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(1deg);
    }
    75% {
        transform: rotate(-1deg);
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.3;
    }
}

@keyframes ribbonSlideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes rocketBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    width: 90%;
    z-index: 1;
    margin: 0 auto;
    margin-top: 5rem;
    padding: 5rem 6rem 4rem 6rem;
    background-color: #0f0f0f;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-text h2{
    font-size: 3.9rem;
    font-weight: 200;
    line-height: 1.5;
    font-style: italic;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(30px);
    z-index: 10;
}

.hero-text h2:first-child {
    color: #687cff;
    z-index: 10;
    margin-bottom: 0.4em;
}

.hero-text h2:first-child::after {
    content: "👋";
    font-size: 0.8em;
    vertical-align: middle;
    z-index: 10;
}

.hero-text h1{
    font-size: 5.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(30px);
    z-index: 10;
}

.hero-video{
    position: absolute;
    top: 18rem;
    right: 4rem;
    width: 70vw;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0f0f0f;
    z-index: -1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    mix-blend-mode: lighten; 
    opacity: 0.8;
    z-index: -1;
}

.hero-bottom-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: row;
}

.hero-desc {
    position: relative;
    max-width: 400px;
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(20px);
    font-weight: 200;
    letter-spacing: 0.05em;
}

.hero-desc a {
    color: #3498db;
    text-decoration: none;
}

.hero-desc a:hover {
    text-decoration: underline;
}

.download-portfolio {
    text-decoration: none;
    margin-top: 0.2rem;
}

.hero-desc .portfolio-link {
    color: #687cff !important;
    font-size: 0.76rem;
    text-decoration: underline !important;
    text-underline-offset: 3px;
    text-decoration-color: #687cff !important;
    font-weight: 400;
    font-style: italic;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.hero-desc .portfolio-link:hover {
    color: #a0aaec !important;
    text-decoration-color: #8a9aff !important;
}

.arrow-circle {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #687cff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.5);
    flex-shrink: 0;
}

.arrow-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(104, 124, 255, 0.4);
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
    height: 400vh;
    min-height: 3000px;
    width: 90vw;
    margin: 20rem 6rem;
    position: relative;
}

.about-flex-container {
    position: sticky;
    top: 12rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 10rem;
}

.about-text-container {
    font-family: 'UnivaNova', sans-serif;
    font-size: 4rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    position: relative;
    max-width: 1400px;
}

.about-text {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
    text-align: left;
    margin: 0;
    padding: 0;
}

.about-text span {
    display: block;
}

.about-text-shadow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.4);
    text-align: left;
    margin: 0;
    padding: 0;
    pointer-events: none;
    z-index: -1;
}

.about-text-shadow span {
    display: block;
}

.abt-highlight {
    color: #687cff;
    font-style: italic;
    font-weight: 200;
}

.abt-shadow-highlight {
    font-style: italic;
    font-weight: 200;
}

/* ========================================
   STATS SECTION (BASE STYLES)
   ======================================== */
.stats-grid {
    font-family: 'UnivaNova', sans-serif;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
}

.stat-item {
    text-align: center;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-content {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 20px;
}

.stat-right-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
}

.stat-emoji {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
    display: inline-block;
    transform: perspective(1000px) rotateY(0deg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-item:hover .stat-emoji {
    transform: perspective(1000px) rotateY(10deg) scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.stat-number {
    font-size: 2.6rem;
    font-weight: 100;
    font-style: italic;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-number {
    transform: scale(1.05);
    color: #ffffff;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 200;
    font-style: italic;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.64);
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    text-align: left;
}

.stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Resume download styling */
.resume-download {
    cursor: pointer;
    transition: all 0.3s ease;
}

.resume-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.resume-download .stat-label {
    text-decoration: underline;
    text-underline-offset: 4px;
    color: #687cff;
    font-weight: 300;
    transition: color 0.3s ease;
}

.resume-download:hover .stat-label {
    color: #a0aaec !important;
    text-decoration-color: #8a9aff !important;
}

/* ========================================
   FLOATING IMAGES GRID (BASE STYLES)
   ======================================== */
.image-grid-section {
    position: relative;
    height: 400vh;
    min-height: 3000px;
    width: 100vw;
    overflow: hidden;
    background: transparent;
}

   .image-grid {
    display: flex;
    flex-direction: column;
    gap: 10rem;
    justify-content: center;
    align-items: center;
    max-width: 85vw;
    z-index: 1000;
}

.image1 img{
    height: 220px;
    width: 220px;
    margin-left: 70vw;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image2 img{
    height: 160px;
    width: 280px;
    margin-left: 80vw;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image3 img{
    height: 320px;
    width: 200px;
    margin-left: 75vw;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image4 img{
    height: 160px;
    width: 280px;
    margin-left: 80vw;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image5 img{
    height: 180px;
    width: 240px;
    margin-left: 70vw;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image6 img{
    height: 160px;
    width: 280px;
    margin-left: 80vw;
    margin-bottom: 80vh;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-section {
    min-height: 1080px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.projects-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

/* Latest Works Heading */
.latest-works-heading {
    padding: 4rem 0 2rem 0;
    position: relative;
    overflow: hidden;
    margin-top: 10rem;
}

.works-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.works-arrow-circle {
    position: relative;
    width: 60px;
    height: 60px;
    background-color: #687cff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.works-arrow-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(104, 124, 255, 0.4);
}

.works-arrow-circle svg {
    color: #0f0f0f;
    transition: transform 0.3s ease;
}

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-10px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.works-title {
    font-size: 4rem;
    font-weight: 700;
    font-family: 'UnivaNova', sans-serif;
    text-align: center;
    margin: 0;
    position: relative;
    opacity: 1;
    text-transform: uppercase;
    font-style: italic;
    animation: slideInFromLeft 0.8s ease-out;
}

/* Work Container */
.workcontainer {
    --cards: 4;
    --cardHeight: 70vh;
    --cardTopPadding: 15px;
    --cardMargin: 4vh;
    width: 90vw;
    font-family: 'UnivaNova', sans-serif;
    margin: 0 auto;
    margin-top: 10rem;
    will-change: scroll-position;
    transform: translateZ(0);
}

#cards {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(var(--cards), var(--cardHeight));
    gap: var(--cardMargin);
    padding-bottom: calc(var(--cards) * var(--cardTopPadding));
    margin-bottom: var(--cardMargin);
    will-change: scroll-position;
    transform: translateZ(0);
}

#card1 {
    --index: 0;
}
#card2 {
    --index: 1;
}
#card3 {
    --index: 2;
}
#card4 {
    --index: 3;
}

.card {
    position: sticky;
    top: 80px;
    padding-top: calc(var(--index) * 61px +  var(--cardTopPadding));
    opacity: 1;
    transition: opacity 0.3s ease;
    will-change: transform;
    transform: translateZ(0);
}

.card-body {
    box-sizing: border-box;
    padding: 20px 40px;
    height: var(--cardHeight);
    min-height: 350px;
    display: flex;
    flex-direction: column;
    width: 70vw;
    justify-content: start;
    align-items: flex-start;
    transition: all 0.3s ease;
    background-color: #0f0f0f;
    border-radius: 20px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    will-change: transform;
    transform: translateZ(0);
}

.card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

.card-title {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.card-title p {
    font-size: 0.9rem;
    font-family: 'UnivaNova', sans-serif;
    margin: 0;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

.card-title h2 {
    font-size: 1.2rem;
    font-family: 'UnivaNova', sans-serif;
    margin: 0;
    font-weight: 200;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 7px;
}

.card-images {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}

.card-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.card-images:hover img {
    transform: scale(1.05);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.card-images:hover .image-container {
    backdrop-filter: blur(2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Info Overlay for Large Screens */
.info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.64), transparent);
    padding: 3rem 1.5rem 3rem 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
    min-height: 180px;
}

.card-images:hover .info-overlay {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.project-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
    margin-top: 2rem;
}

.project-subtitle {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.project-number {
    font-family: 'UnivaNova', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
}

.project-desc {
    font-family: 'UnivaNova', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: #f0f0f0;
    letter-spacing: 0.05em;
    max-width: 500px;
    line-height: 1.4;
}

.desktop-case-study-btn {
    background: #687cff;
    color: #0f0f0f;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-family: 'UnivaNova', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.desktop-case-study-btn:hover {
    background: linear-gradient(135deg, #7a8bff, #8a9bff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(104, 124, 255, 0.3);
}

.arrow-right {
    transition: transform 0.3s ease;
}

.desktop-case-study-btn:hover .arrow-right {
    transform: translateX(3px);
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.tag {
    background: rgba(255, 255, 227, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-family: 'UnivaNova', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 227, 0.1);
    display: inline-block;
    line-height: 1;
    margin: 2px;
    height: 20px;
    box-sizing: border-box;
}

.case-study-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: auto;
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    transition: all 0.3s ease;
    display: none !important;
}

/* Circular overlay is now hidden on all screen sizes */
/* .card-images:hover .case-study-overlay {
    opacity: 1;
    pointer-events: auto;
} */

.case-study-btn {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    background: transparent;
    transition: all 0.3s ease;
}

.case-study-btn:hover {
    transform: scale(1.05);
}

.arrow-icon {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.arrow-icon span {
    position: absolute;
    left: 50%;
    top: 0;
    transform-origin: 0 60px;
    transform: translateX(-50%);
}

.case-study-btn:hover .arrow-icon {
    color: rgba(255, 255, 255, 0.9);
}

.center-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #0f0f0f;
    background-color: #687cff;
    border-radius: 50%;
    padding: 8px;
    width: 32px;
    height: 32px;
    z-index: 2;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.case-study-btn:hover .center-arrow {
    background-color: #7a8bff;
}

/* Mobile Case Study Button - Now used on all screen sizes */
.mobile-case-study-btn {
    display: inline-block !important;
    background: linear-gradient(135deg, #687cff, #7a8bff) !important;
    color: #0f0f0f !important;
    text-decoration: none !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-family: 'UnivaNova', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    margin-top: 1rem !important;
    align-self: flex-start !important;
    border: none !important;
    cursor: pointer !important;
    letter-spacing: 0.05em !important;
    margin-top: 0.5rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.mobile-case-study-btn:hover {
    background: linear-gradient(135deg, #7a8bff, #8a9bff);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(104, 124, 255, 0.3);
}

.mobile-case-study-btn:hover .arrow-right {
    transform: translateX(3px);
}

/* Mobile Project Description */
.mobile-project-desc {
    display: none;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.mobile-project-desc p {
    font-family: 'UnivaNova', sans-serif;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 0;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    height: 100vh;
    min-height: 600px;
    width: 100%;
    position: relative;
    padding: 8rem 0 4rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 32rem;
}

.contact-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.contact-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    mix-blend-mode: lighten;
}

.contact-container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    text-align: center;
}

.contact-hero {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 6rem;
}

.contact-title {
    font-size: 7rem;
    font-weight: 600;
    color: #f0f0f0;
    font-family: 'UnivaNova', sans-serif;
    line-height: 1.1;
    margin: 0 0 2rem 0;
    letter-spacing: -0.03em;
    text-align: left;
    font-style: italic;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    font-family: 'UnivaNova', sans-serif;
    font-weight: 200;
    line-height: 1.6;
    max-width: 480px;
    text-align: left;
    letter-spacing: 0.05em;
}

.contact-content {
    display: flex;
    gap: 6rem;
    width: 100%;
}

.contact-left {
    max-width: 600px;
}

.contact-right {
    flex: 1;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: flex-end;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    text-align: left;
}


.contact-item:hover {
    border-bottom-color: rgba(255, 255, 255, 0.3);
    transform: translateY(0);
}

.contact-icon {
    font-size: 2.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    opacity: 1;
    transform: scale(1.1);
}

.contact-details h3 {
    font-size: 0.8rem;
    font-weight: 200;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.4rem 0;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-family: 'UnivaNova', sans-serif;
    transition: color 0.3s ease;
}

.contact-details a,
.contact-details p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 1);
    margin: 0;
    text-decoration: none;
    font-family: 'UnivaNova', sans-serif;
    transition: color 0.3s ease;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.contact-details a:hover {
    color: #f0f0f0;
}

.contact-item:hover .contact-details h3 {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-self: flex-end;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    color: #687cff;
    transform: translateY(-2px);
}

.social-link svg,
.social-link i {
    width: 24px;
    height: 24px;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links .arrow-circle {
    width: 60px;
    height: 60px;
    min-width: 40px;
}

.social-links .arrow-circle svg {
    width: 24px;
    height: 24px;
    color: #0f0f0f;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: transparent;
    padding: 1.5rem 0;
    text-align: center;
}

.footer p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.8rem;
    font-weight: 300;
    margin: 0;
    font-family: 'UnivaNova', sans-serif;
}

/* ========================================
   CIRCULAR TEXT ELEMENTS
   ======================================== */
.circular-text {
    position: absolute;
    top: 70%;
    right: 10%;
    transform: translateY(-50%);
    width: 180px;
    height: 180px;
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
    transform-origin: center;
}

.circular-text .text {
    position: relative;
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.circular-text .text span {
    position: absolute;
    left: 50%;
    top: 0;
    transform-origin: 0 90px;
    transform: translateX(-50%);
}

.center-text {
    position: absolute;
    top: 70%;
    right: 10%;
    transform: translate(50%, -50%);
    font-size: 32px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    z-index: 2;
    opacity: 0;
    transform: translate(50%, -50%) scale(0.8);
    margin-right: 90px;
}

.center-text .profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: block;
}

.center-text .profile-image:hover {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

   @media (max-width: 1280px) {
    .nav-menu {
        gap: 3rem;
    }
    .hero-text h1 {
        font-size: 4.5rem;
    }
    .hero-video {
        top: 24rem;
    }
    .circular-text {
        top: 70%;
        right: 10%;
        width: 180px;
        height: 180px;
    }
    .center-text {
        top: 70%;
        right: 10%;
        font-size: 32px;
        margin-right: 90px;
    }
    
    .center-text .profile-image {
        width: 80px;
        height: 80px;
    }
    
    /* About section responsive */
    
    .about-section {
        height: 3500px;
    }
    
    .about-text {
        font-size: 4rem;
    }
    .about-text-shadow {
        font-size: 4rem;
    }  

    .contact-title {
        font-size: 5rem;
    }

    .contact-subtitle {
        font-size: 1.2rem;
    }

    .contact-subtitle {
        font-size: 1rem;
    }

    .card-images img {
        min-height: 600px;
        object-fit: cover;
    }
 
   }

   @media (max-width: 1070px) {
    .hero-text h1 {
        font-size: 4rem;
    }
   }

   @media (max-width: 968px) {
    .hero-text h1 {
        font-size: 4.6rem;
    }
   }


/* Tablet and Mobile Styles */
@media (max-width: 768px) {
    /* Disable all animations for about section on screens up to 768px */
    .about-section *,
    .about-text *,
    .about-text-shadow *,
    .about-flex-container * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        clip-path: none !important;
        opacity: 1 !important;
        font-size: 3.2rem;
    }

    .circular-text {
        top: 60%;
        right: 10%;
        width: 130px;
        height: 130px;
        transform: translateY(-50%);
    }
    
    .circular-text .text {
        font-size: 10px;
        letter-spacing: 1px;
    }
    
    .circular-text .text span {
        transform-origin: 0 65px;
    }
    
    .center-text {
        top: 60%;
        right: 10%;
        font-size: 32px;
        margin-right: 65px;
        transform: translate(50%, -50%);
    }
    
    .center-text .profile-image {
        width: 50px;
        height: 50px;
    }

    .about-section {
        height: 1000px;
    }
    
    .about-text span {
        clip-path: none !important;
        opacity: 1 !important;
    }
    
    .about-text-shadow span {
        opacity: 0.2 !important;
    }
    
    /* Navbar Mobile Styles */
    .navbar {
        padding: 0 1.5rem;
        height: 70px;
        justify-content: space-between;
    }
    
    .nav-logo h3 {
        font-size: 1rem;
        font-weight: 500;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        order: 2;
        margin-left: 1rem;
    }
    
    .mobile-menu-btn span {
        width: 22px;
        height: 1.6px;
    }
    
    .available-btn {
        display: flex;
        order: 1;
        font-size: 0.7rem;
        padding: 8px 16px;
    }
    
    .mobile-nav-menu {
        top: 70px;
    }
    
    /* Hero Section Mobile Styles */
    .hero-section {
        width: 95%;
        padding: 6rem 2rem;
        margin-top: 3rem;
        background-color: #0f0f0f;
        border-radius: 15px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
        overflow: hidden;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
        line-height: 1.3;
    }
    
    .hero-text h1 {
        font-size: 4rem;
        line-height: 1;
    }
    
    .hero-video {
        position: absolute;
        width: 600px;
        height: 400px;
        margin: 0 auto;
        top: 14rem;
        right: -10rem;
    }

    .hero-video img {
        width: 1000px;
    }

    .hero-bottom-content {
        gap: 1rem;
    }

    .hero-desc {
        max-width: 500px;
        font-size: 1.2rem;
    }

    .arrow-circle {
        width: 40px;
        height: 40px;
    }
    
    
    .about-section {
        margin: 10rem auto;
    }
    
    /* Image Grid Mobile Styles - Same as 480px */
    .image-grid-section {
        height: 3000px;
    }

    .image-grid {
        max-width: 100vw;
        padding: 2rem 1rem;
        gap: 1.5rem;
        padding-top: 10rem;
        align-items: center;
    }

    .image1 img,
    .image2 img,
    .image3 img,
    .image4 img,
    .image5 img,
    .image6 img {
        max-width: 50vw;
        max-height: 150px;
        height: auto;
        margin-left: 0;
        margin-right: 0;
        width: auto;
        object-fit: cover;
        border-radius: 4px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    }

    .image-grid {
        gap: 6rem;
        padding: 1.5rem 0.5rem;
    }

    .image1 img{
        margin-left: 40vw;
        max-width: 40vw;
    }

    .image2 img{
        margin-left: -20vw;
        max-width: 60vw;
    }

    .image3 img{
        margin-left: 40vw;
        max-height: 45vw;
    }

    .image4 img{
        margin-left: -30vw;
        max-width: 50vw;
    }

    .image5 img{
        margin-left: 40vw;
        max-width: 40vw;
    }

    .image6 img{
        margin-left: -30vw;
        max-width: 50vw;
    }
    
    /* Latest Works Mobile Styles */
    .latest-works-heading {
        padding: 2rem 1rem;
        margin-top: 5rem;
        margin-left: 1rem;
    }
    
    .works-header {
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .works-title {
        font-size: 2.5rem;
        margin-left: 1rem;
    }
    
    .works-title i {
        margin-right: 0.5rem;
        font-size: 2rem;
    }
    
    .works-arrow-circle {
        width: 45px;
        height: 45px;
    }

    .about-flex-container {
        gap: 8rem;
    }
    
    /* About text mobile */

    .card-body {
        height: 560px;
    }

    .card-images {
        margin-top: 1rem;
        width: 100%;
        height: 100%;
    }

    .card-images img {
        height: 320px;
        width: 100%;
        min-height: unset;
    }


    .about-text {
        font-size: 1.8rem;
        text-align: center;
        padding: 0 20px;
    }
    
    .about-text-shadow {
        font-size: 1.8rem;
        text-align: center;
        padding: 0 20px;
    }
    
    /* Stats mobile */
    .stats-grid {
        gap: 1.5rem;
        margin: 0 0rem;
        width: 90vw;
        justify-content: center;
    }
    
    .stat-item {
        padding: 1rem 0.5rem;
        border-right: 1px solid rgba(255, 255, 227, 0.1);
        gap: 10px;
        text-align: left;
        align-items: flex-start;
    }
    
    .stat-content {
        gap: 10px;
        justify-content: flex-start;
    }
    
    .stat-right-content {
        align-items: flex-start;
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.8rem;
        text-align: left;
    }
    
    .stat-emoji {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
        text-align: left;
    }
    

    /* Contact Section Mobile */
    .contact-section {
        padding: 3rem 0 2rem 0;
        margin-top: 16rem;
    }
    
    .contact-container {
        width: 95%;
        padding: 0 1rem;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .contact-left {
        max-width: 70%;
        text-align: center;
    }
    
    .contact-right {
        max-width: 100%;
        align-items: center;
        margin-top: -40px;
        margin-bottom: 40px;
    }
    
    .contact-title {
        font-size: clamp(2.5rem, 8vw, 4rem);
        text-align: center;
    }
    
    .contact-subtitle {
        text-align: center;
        margin: 0 auto;
    }
    
    .contact-info {
        align-items: flex-start;
        gap: 1.5rem;
    }
    
    .contact-item {
        padding: 1rem 0;
        gap: 1rem;
    }
    
    .contact-icon {
        font-size: 2.2rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 1.5rem;
    }
    
    .social-link {
        padding: 0.8rem;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .nav-logo h3 {
        font-size: 0.9rem;
    }
    
    .available-btn {
        font-size: 0.65rem;
        padding: 6px 12px;
    }
    
    .mobile-menu-btn span {
        width: 20px;
        height: 1.6px;
    }
    
    /* Disable all animations for about section on screens less than 480px */
    .about-section *,
    .about-text *,
    .about-text-shadow *,
    .about-flex-container * {
        animation: none !important;
        transition: none !important;
        transform: none !important;
        clip-path: none !important;
        opacity: 1 !important;
        font-size: 2rem;
    }
    
    .about-text span {
        clip-path: none !important;
        opacity: 1 !important;
    }
    
    .about-text-shadow span {
        opacity: 0.2 !important;
    }
    
   
    /* About text extra small */
    .about-flex-container {
        gap: 4rem;
        top: 6rem;
    }
    
    .about-text {
        font-size: 1.8rem;
        text-align: center;
        padding: 0 15px;
    }
    
    .about-text-shadow {
        font-size: 1.8rem;
        text-align: center;
        padding: 0 15px;
    }
    
    /* Stats extra small */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 0 auto;
        justify-content: center;
        width: 85vw;
        max-width: 300px;
    }
    
    .stat-item {
        padding: 0.8rem 2rem;
        border-width: 0;
        border-bottom: 1px solid rgba(255, 255, 227, 0.1);
        border-right: none !important;
        text-align: center;
        align-items: center;
    }
    
    .stat-content {
        justify-content: center;
    }
    
    .stat-right-content {
        align-items: center;
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.8rem;
        text-align: center;
    }
    
    .stat-emoji {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.6rem;
        text-align: center;
    }

    .contact-icon {
        font-size: 1.8rem;
        flex-shrink: 0;
    }
    
    .contact-details h3 {
        font-size: 0.6rem;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 0.9rem;
    }
    
    /* Very small screen stats */
    @media (max-width: 360px) {
        .stats-grid {
            width: 90vw;
            max-width: 280px;
            gap: 0.8rem;
            justify-content: center;
            margin: 0 auto;
        }
        
        .stat-item {
            padding: 0.8rem 1.5rem;
            text-align: center;
            align-items: center;
        }
        
        .stat-content {
            justify-content: center;
        }
        
        .stat-right-content {
            align-items: center;
            text-align: center;
        }
        
        .stat-number {
            font-size: 1.6rem;
            text-align: center;
        }
        
        .stat-emoji {
            font-size: 1.4rem;
        }
        
        .stat-label {
            font-size: 0.55rem;
            text-align: center;
        }
        
        /* Contact Section Very Small Screen Fixes */
        .contact-section {
            height: auto;
            min-height: auto;
            padding: 2rem 0 2rem 0;
            margin-top: 12rem;
            overflow: visible;
        }
        
        .contact-container {
            width: 98%;
            padding: 0 0.5rem;
        }
        
        .contact-hero {
            margin-bottom: 3rem;
            gap: 1.5rem;
        }
        
        .contact-title {
            font-size: 2.5rem;
            line-height: 1.2;
            margin: 0 0 1rem 0;
        }
        
        .contact-subtitle {
            font-size: 0.9rem;
            max-width: 100%;
        }
        
        .contact-content {
            gap: 2rem;
        }
        
        .contact-left {
            max-width: 100%;
        }
        
        .contact-right {
            max-width: 100%;
            gap: 2rem;
        }
        
        .contact-info {
            gap: 1rem;
            width: 100%;
        }
        
        .contact-item {
            padding: 0.6rem 0;
            gap: 0.8rem;
            width: 100%;
        }
        
      
        .social-links {
            gap: 1rem;
            justify-content: center;
            width: 100%;
        }
        
        .social-link {
            width: 50px;
            height: 50px;
            padding: 0.5rem;
        }
        
        .social-link svg,
        .social-link i {
            width: 18px;
            height: 18px;
            font-size: 18px;
        }
    }

    .hero-section {
        padding: 3rem 1.5rem;
        background-color: #0f0f0f;
        border-radius: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        overflow: hidden;
    }
    
    .hero-text h2 {
        font-size: 2.5rem;
        line-height: 1.6;
    }
    
    .hero-text h1 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .hero-video {
        position: absolute;
        width: 600px;
        height: 400px;
        margin: 0 auto;
        top: 20rem;
        right: -10rem;
    }

    .hero-video img {
        width: 1000px;
    }

    .hero-bottom-content {
        gap: 1rem;
    }

    .hero-desc {
        max-width: 300px;
        font-size: 1rem;
    }

    .arrow-circle {
        width: 40px;
        height: 40px;
    }
    

   
    .about-section {
        height: 600px;
    }

    .image-grid-section {
        height: 600px;
    }

    /* Extra small screen image grid styles */
    .image-grid {
        max-width: 100vw;
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .image1 img,
    .image2 img,
    .image3 img,
    .image4 img,
    .image5 img,
    .image6 img {
        max-width: 90vw;
        height: auto;
        margin-left: 0;
        margin-right: 0;
        width: auto;
        max-height: 200px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .image-grid{
        padding-top: 10rem;
        max-width: 100vw;
        align-items: center;
    }

    /* Image grid responsive styles for smaller screens */
    .image1 img,
    .image2 img,
    .image3 img,
    .image4 img,
    .image5 img,
    .image6 img {
        max-width: 80vw;
        height: auto;
        margin-left: 0;
        margin-right: 0;
        width: auto;
        max-height: 250px;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    /* Extra small screen image grid styles */
    @media (max-width: 480px) {
        .image1 img,
        .image2 img,
        .image3 img,
        .image4 img,
        .image5 img,
        .image6 img {
            max-width: 50vw;
            max-height: 150px;
            border-radius: 4px;
            box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
        }
        
        .image-grid {
            gap: 14rem;
            padding: 1.5rem 0.5rem;
        }

        .image1 img{
            margin-left: 40vw;
            max-width: 40vw;
        }

        .image2 img{
            margin-left: -20vw;
            max-width: 60vw;
        }

        .image3 img{
            margin-left: 40vw;
            max-height: 45vw;
        }

        .image4 img{
            margin-left: -30vw;
            max-width: 50vw;
        }

        .image5 img{
            margin-left: 40vw;
            max-width: 40vw;
        }

        .image6 img{
            margin-left: -30vw;
            max-width: 50vw;
        }
    }

    .mobile-project-desc p {
        font-size: 1rem !important;
    }
    
    /* Very small screen image grid styles */
    @media (max-width: 360px) {
        .image1 img,
        .image2 img,
        .image3 img,
        .image4 img,
        .image5 img,
        .image6 img {
            max-width: 50vw;
            max-height: 120px;
            border-radius: 4px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        }
        
        .image-grid {
            gap: 14rem;
            padding: 1.2rem 0.3rem;
        }

        .hero-desc {
            font-size: 0.9rem;
        }
    }

    /* Contact Section Extra Small */
    .contact-section {
        height: auto;
        min-height: auto;
        padding: 2rem 0 2rem 0;
        margin-top: 12rem;
        overflow: visible;
    }
    
    .contact-container {
        width: 98%;
        padding: 0 0.5rem;
    }


    .contact-hero {
        margin-bottom: 3rem;
        gap: 1.5rem;
    }
    
    .contact-title {
        font-size: 2.5rem;
        line-height: 1.2;
        margin: 0 0 1rem 0;
    }
    
    .contact-subtitle {
        font-size: 0.9rem;
        max-width: 70%;
    }
    
    .contact-content {
        gap: 4rem;
    }
    
    .contact-left {
        max-width: 100%;
    }
    
    .contact-right {
        max-width: 100%;
        gap: 2rem;
    }
    
    .contact-info {
        gap: 1rem;
        width: 100%;
    }
    
    .contact-item {
        padding: 0.6rem 0;
        gap: 0.8rem;
        width: 100%;
    }
    
    .contact-icon {
        font-size: 1.8rem;
        flex-shrink: 0;
    }
    
    .contact-details h3 {
        font-size: 0.6rem;
    }
    
    .contact-details a,
    .contact-details p {
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 1rem;
        justify-content: center;
        width: 100%;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        padding: 0.5rem;
    }
    
    .social-link svg,
    .social-link i {
        width: 18px;
        height: 18px;
        font-size: 18px;
    }
    
    /* Latest Works Extra Small Screen Styles */
    .latest-works-heading {
        padding: 1.5rem 0.5rem;
        margin-top: 2rem;
        margin-left: 1rem;
    }
    
    .works-header {
        gap: 0.8rem;
        padding: 0 0.5rem;
    }
    
    .works-title {
        font-size: 3rem;
        margin-left: 1rem;
    }
    
    .works-title i {
        margin-right: 0.4rem;
        font-size: 1.6rem;
    }
    
    .works-arrow-circle {
        width: 40px;
        height: 40px;
    }
    
    /* Projects Section Mobile Styles */
    .workcontainer {
        width: 95vw;
        margin-top: 5rem;
    }
    
    #cards {
        grid-template-rows: none;
        gap: 6rem;
        padding-bottom: 0;
        margin-bottom: 2rem;
    }
    
    .card {
        position: relative;
        top: auto;
        padding-top: 0;
    }
    
    .card-body {
        width: 90%;
        height: 450px;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .card-title {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1rem;
        align-items: center;
        text-align: center;
    }
    
    .card-title p {
        font-size: 0.8rem;
    }
    
    .card-title h2 {
        font-size: 1.4rem;
    }
    
    .card-images {
        margin-top: 1rem;
        width: 100%;
    }

    .card-images img {
        height: 200px;
        width: 100%;
        object-fit: cover;
        transition: transform 0.5s ease, filter 0.5s ease;
    }
    
    .card-images:hover img {
        transform: scale(1.1);
    }
    
    .card-images:hover .image-container {
        backdrop-filter: blur(10px);
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }
    
    .case-study-btn {
        width: 80px;
        height: 80px;
    }
    
    .arrow-icon {
        font-size: 8px;
        letter-spacing: 1px;
    }
    
    .arrow-icon span {
        transform-origin: 0 40px;
    }
    
    .center-arrow {
        width: 24px;
        height: 24px;
        padding: 6px;
    }
    
    /* Hide circular button and show mobile button on smaller screens */
    .case-study-overlay {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .mobile-case-study-btn {
        display: inline-block !important;
    }
    
    /* Mobile button styling for extra small screens */
    .mobile-case-study-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        margin-top: 0.8rem;
    }
    
    /* Ensure circular button is hidden on extra small screens */
    .case-study-overlay {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .mobile-case-study-btn {
        display: inline-block !important;
    }
}

/* Ensure mobile menu is hidden on large screens */
@media (min-width: 769px) {
    .mobile-nav-menu,
    .mobile-nav-menu.active {
        display: none !important;
        transform: translateY(-100%) !important;
        opacity: 0 !important;
    }
    
    .mobile-menu-btn.active {
        display: none !important;
    }
    
    /* Hide mobile case study button on large screens */
    .mobile-case-study-btn {
        display: none !important;
    }
    
    /* Disable about text animation on large screens */
    .about-text span {
        clip-path: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .about-text-shadow span {
        opacity: 0.2 !important;
        transform: none !important;
    }
    
    /* Force stats left alignment on large screens */
    .stats-grid {
        justify-content: start !important;
    }
}

/* FORCE MOBILE BEHAVIOR - HIGH PRIORITY */
@media (max-width: 768px) {
    .case-study-overlay {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
    
    .info-overlay {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
    
    .mobile-project-desc {
        display: block !important;
        margin-top: 1.5rem !important;
    }
    
    .mobile-case-study-btn {
        display: inline-block !important;
        visibility: visible !important;
        background: #687cff !important;
        align-self: center !important;
        margin: 1rem auto !important;
    }
}

@media (max-width: 480px) {
    .case-study-overlay {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
    
    .info-overlay {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
        visibility: hidden !important;
    }
    
    .mobile-project-desc {
        display: block !important;
        margin-top: 1.5rem !important;
    }
    
    .mobile-case-study-btn {
        display: inline-block !important;
        visibility: visible !important;
        background: #687cff !important;
        align-self: center !important;
        margin: 0.8rem auto !important;
        padding: 10px 20px !important;
        font-size: 0.8rem !important;
    }
}
