/* =============================================================================
   CSS Custom Properties - Organized by Category
   ============================================================================= */
:root {
    /* Colors */
    --clr-primary: #6e3f21;
    --clr-background: #aeaeae;
    --clr-background-alt: #6e3f21;
    --clr-background-footer: #333;
    --clr-text: #763d22;
    --clr-text-alt: #E8E8E8;
    --clr-text-alt-unfocused-light: #adadad;
    --clr-text-alt-unfocused: #555555;
    --clr-accent: #9c9c9c;
    --clr-btn-highlight: rgba(120, 120, 120, 0.279);
    
    /* Spacing System */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Layout */
    --header-height: 15vh;
    --footer-height: 20vh;
    --container-width: 1200px;
    --page-padding-sm: 1.5rem;
    --page-padding: 2.5rem;
    --page-padding-lg: 5rem;
    
    /* Typography - Simplified Scale */
    --font-base: 1.0rem;
    --font-scale: 1.2;
    
    --text-xs: calc(var(--font-base) / 1.5);
    --text-sm: calc(var(--font-base) / 1.2);
    --text-base: var(--font-base);
    --text-lg: calc(var(--font-base) * var(--font-scale));
    --text-xl: calc(var(--font-base) * var(--font-scale) * var(--font-scale));
    --text-2xl: calc(var(--font-base) * 2.5);
    --text-3xl: calc(var(--font-base) * 3.5);
    --text-4xl: calc(var(--font-base) * 5);
}

/* =============================================================================
   CSS Reset - Modern and Minimal
   ============================================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    box-sizing: border-box;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    max-width: 100vw;   
}

body {
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    color: var(--clr-text);
    background-color: var(--clr-background);
    font-family: "Questrial", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* =============================================================================
   Typography - Responsive & Scalable
   ============================================================================= */

h1 {
    font-size: clamp(var(--text-2xl), 5vw + 1rem, var(--text-4xl));
    line-height: 1.1;
    font-weight: 700;
}

h2 {
    font-size: clamp(var(--text-xl), 4vw + 0.5rem, var(--text-3xl));
    line-height: 1.2;
    font-weight: 600;
}

h3 {
    font-size: clamp(var(--text-lg), 2.5vw + 0.3rem, var(--text-2xl));
    line-height: 1.3;
    font-weight: 600;
}

h4 {
    font-size: clamp(var(--text-base), 1.6vw + 0.2rem, var(--text-xl));
    line-height: 1.3;
    font-weight: 500;
}

p, li {
    font-size: clamp(var(--text-base), 1vw + 0.2rem, var(--text-lg));
    line-height: 1.6;
}


/* =============================================================================
   Utility Class - Layout & Spacing
   ============================================================================= */

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column ; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-end { justify-content: flex-end; }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, 1fr); display: grid; gap: 3rem;}
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); display: grid; gap: 3rem;}
.grid-cols-3 { grid-template-columns: auto auto auto; display: grid; gap: 2rem; justify-content: space-between;}
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); display: grid; gap: 1.5rem;}

/* Text utilities */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Width utilities */
.w-full { width: 100%; }
.w-half { width: 50%; }

/* Shine animation */
@keyframes shine {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Metallic font */
.metallic-text {
    background: linear-gradient(
        135deg,
        #b0b0b0 0%,
        #ffffff 20%,
        #a0a0a0 40%,
        #e0e0e0 60%,
        #b0b0b0 80%,
        #f5f5f5 100%
    );
    background-size: 200% 200%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    display: inline-block;
    animation: shine 3s linear infinite;
    text-shadow: 0 1px 1px rgba(255,255,255,0.2), 0 -1px 1px rgba(0,0,0,0.2);
    transform: scaleX(1.2);
    transform-origin: left;
    display: inline-block; 
}

.metallic-text-bg {
    color: #666666;
    user-select: none;
    display: inline-block;
}

.metallic-text-once {
    background: linear-gradient(
        125deg,
        rgb(255, 255, 255) 0%,
        rgb(96, 96, 96) 30%,
        rgb(139, 139, 139) 50%,
        rgb(97, 97, 97) 70%,
        rgb(255, 255, 255)100%
    );
    background-size: 200% 100%;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 1px 1px rgba(255,255,255,0.2), 0 -1px 1px rgba(0,0,0,0.2);
    display: inline-block;
    animation: simpleSweep 1.8s ease-out forwards 1.5s;
}

@keyframes simpleSweep {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.custom-frame {
    width: 100%;
    height: auto;
}

.custom-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(
        0 0,          /* top-left corner */
        20% 0,        /* middle top start of cut */
        50% 22%,      /* cut going outward */
        80% 0%,      /* cut going outward */
        100% 0,       /* top-right corner */
        100% 47%,     /* right middle start of cut */
        90% 50%,      /* cut inward */
        100% 53%,     /* cut inward */
        100% 100%,    /* bottom-right corner */
        80% 100%,     /* middle bottom start of cut */
        50% 78%,      /* cut going outward */
        20% 100%,      /* cut going outward */
        0 100%,       /* bottom-left corner */
        0 53%,        /* left middle start of cut */
        10% 50%,      /* cut inward */
        0 47%         /* cut inward */
    );
}

.hover-flash {
    overflow: hidden;
}

.hover-flash::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease-in-out;
    pointer-events: none;
}

/* Hover → move flash to the right */
.hover-flash:hover::before {
    transform: translateX(100%);
}

/* Button animation */
.btn-minimal {
    display: inline-block;
    padding: 0.75rem;
    font-weight: 400;
    border: 1px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    color: white;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    z-index: 1;
}

.btn-minimal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #843e1e62;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.btn-minimal:hover {
    color: white;
    border-color: white;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-minimal:hover::before {
    width: 100%;
}

.btn-minimal:active {
    transform: scale(0.98);
    transition: transform 0.1s;
}

.btn-minimal:visited {
    color: white;
}


/* =============================================================================
   Customized Style - For Complex/Unique Components
   ============================================================================= */

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

.splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: linear-gradient(135deg, #2d2927 0%, #53575a 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.splash-logo-container {
    position: relative;
    margin-bottom: 2rem;
}

.splash-logo {
    letter-spacing: 0.05em;
    color: #ffffff;
    opacity: 0;
    transform: translateY(30px) scaleX(1.2) scaleY(0.9);
    animation: fadeInUpLogo 1s ease-out 0.5s forwards;
}

.splash-logo .metal {
    background: linear-gradient(45deg, #c0c0c0, #ffffff, #c0c0c0);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 2s ease-in-out infinite;
}

.splash-logo .master {
    color: #666;
    font-weight: 100;
}

.splash-tagline {
    font-size: 1.1rem;
    color: #888;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.loading-bar {
    width: 300px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 2rem auto 0;
    position: relative;
    overflow: hidden;
    border-radius: 1px;
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, #c0c0c0, #ffffff);
    width: 0%;
    animation: loadingFill 3s ease forwards;
}

.geometric-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    z-index: 1;
}

.fade-out {
    animation: fadeOut 0.5s ease-in-out 2.8s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUpLogo {
    from {
        opacity: 0;
        transform: translateY(30px) scaleX(1.2) scaleY(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scaleX(1.2) scaleY(0.9);
    }
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes loadingFill {
    to {
        width: 100%;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
    }
    66% {
        transform: translateY(10px) rotate(240deg);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.logo {
    font-size: 3em;
    color: #ccc;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: shine 3s infinite linear;
}

.tagline {
    color: #999;
    font-size: 1.2em;
    margin-top: 10px;
    opacity: 0.8;
}

@keyframes shine {
    0% {
    text-shadow: 0 0 10px #aaa;
    }
    50% {
    text-shadow: 0 0 20px #fff;
    }
    100% {
    text-shadow: 0 0 10px #aaa;
    }
}

.section-container {
    max-width: var(--container-width); 
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-container-full {
    padding: 0 1.5rem;
}

/* Header Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10000;
    background: linear-gradient(
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0.05) 100%
    );
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
      transform: translateY(0);
  opacity: 1;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}


.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    will-change: transform, opacity;
}

/* Hidden state */
.header-container.hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none; /* Prevent clicks on hidden content */
}

.logo img {
    width: auto;
    max-height: 40px;
}

.desktop-nav {
    justify-content: center;
    align-items: baseline;
    font-size: var(--text-2xl);
    font-weight: 700;
    color: white;
}

.mobile-menu {
    display: none;
    padding: 0 1rem 1rem;
}

.mobile-menu a {
    display: block;
    padding: 0.5rem 0;
    color: #374151;
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-menu a:hover {
    color: #ffffff;
}

/* Hamburger  */
.hamburger {
    display: block;
    width: 30px;
    cursor: pointer;
    position: relative;
}

.hamburger:before,
.hamburger:after,
.hamburger div {
    background: #fff;
    content: "";
    display: block;
    height: 3px;
    border-radius: 2px;
    margin: 6px 0;
    transition: 0.5s;
}

.hamburger.active:before {
    transform: translateY(9px) rotate(135deg);
}

.hamburger.active:after {
    transform: translateY(-9px) rotate(-135deg);
}

.hamburger.active div {
    transform: scale(0);
}

.overlay-menu {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.80); 
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    cursor: pointer;
    text-align: center;
}

.overlay-menu.active{
    display: block;
}

.overlay-menu-nav {
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: var(--text-xl);
    transform: translate(-50%,-50%);
    width: 60%;
}

.overlay-menu-nav .overlay-nav-item:not(:last-child){
    border-bottom: rgba(255, 255, 255, 0.4) 0.2px solid;
}

.overlay-nav-item{  
    padding: 25px 0;
    opacity: 0; 
    transform: translateY(20px);
    animation: pop-up 0.3s ease forwards;
    transition: 
        color 0.2s ease, 
        transform 0.2s ease, 
        letter-spacing 0.2s ease, 
        filter 0.1s ease;
}

.overlay-nav-item:hover {
    color: #e0e0e0;
    transform: translateY(18px);
    letter-spacing: 0.5px;
}

.overlay-nav-item:active {
    transform: translateY(20px) scale(0.98);
    filter: brightness(0.9);
}

.overlay-nav-item:nth-child(1) {
    animation-delay: 0.2s;
}

.overlay-nav-item:nth-child(2) {
    animation-delay: 0.4s;
}

.overlay-nav-item:nth-child(3) {
    animation-delay: 0.6s;
}

.overlay-nav-item:nth-child(4) {
    animation-delay: 0.8s;
}

.nav-list {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0; 
}

.nav-list > a,
.nav-list > li{
    transition: all 0.3s ease;
}

.nav-list > a:hover,
.nav-list > li:hover { 
    color: black;
    transform: scale(1.05); 
}

.nav-link {
    color: var(--clr-text-alt);
    font-size: var(--text-xl);
    transform: scaleX(1.2) scaleY(0.9);
    text-decoration: none;
    padding: 0.5rem;
    mix-blend-mode: difference;
}

@keyframes pop-up {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden; 
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  min-width: 100%;
  transform: translate(-50%, -50%) scale(1.1);
  object-fit: cover;
  filter: brightness(30%);
  z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    height: 100%;
    width: 100%;
    text-align: left;
    mix-blend-mode: difference;
}

.hero-text h1 {
    margin-bottom: 1rem;
}

.hero-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: white;
}

.hero-button {
    background: transparent;
    border: 1px solid white;
    padding: 0.75rem 0.75rem;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.hero-button:hover {
    background: rgba(59, 130, 246, 0.1);
}

/* Introduction Section */
.intro-section {
    background-color: var(--clr-background);
    background: linear-gradient(135deg, #b2b2b2, #f5f5f5, #a8a8a8);
    color: var(--clr-text);
    padding: 5rem 0;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.intro-grid {
    display: grid;
    grid-template-columns: 11fr 9fr;
    align-items: center;
}

.intro-text-cont {
    display: flex;
    flex-direction: column; 
    justify-content: space-around;
    height: 100%;
}

.intro-text h1 {
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: var(--clr-text-alt-unfocused);
    margin-bottom: 1.5rem;
}

.intro-text p strong{
    color: var(--clr-text);
    font-weight: 900;
}



.intro-image-container > img {
    z-index: 10;
    max-height: 70%;
    width: 100%;
}

.stat h2 {
  margin-bottom: 0.2rem;
  background: linear-gradient(90deg, #8b5e3c, #a48c6e, #8b5e3c);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200%;
  animation: shine 3s infinite linear;
  max-width: 300px;
}

/* Shiny sweep effect */
@keyframes shine {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}


/* Services Section */
.services-section {
    padding: 5rem 0;
    background-color: var(--clr-background-alt);
}

.services-header {
    text-align: center;
    margin: 0 auto 4rem 0;
    padding: 0 1.5rem;
}

.services-header h1 {
    font-weight: 700;
    color: #cbcbcb;
    margin-bottom: 1.25rem;
    transform: scaleX(1.2);
}

.services-header p {
    color: #b6b6b6;
    margin-bottom: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

/* Service Cards with 3D Tilt Effect */
.service-card {
    background: rgba(255, 255, 255, 0.042);
    border: 2px solid #8D6E63;
    border-radius: 12px;
    height: 500px;
    padding: 2rem;
    box-shadow: 0 10px 15px -3px rgba(245, 245, 245, 0.1);
    display: grid;
    text-align: center;
    grid-template-rows: 200px 80px 150px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(212, 175, 55, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    box-shadow: 0 25px 50px -12px rgba(245, 245, 245, 0.25);
    border-color: var(--clr-accent);
}

/* Add flash effect */
.service-card::after {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(25deg);
    opacity: 0;
    transition: none;
    pointer-events: none;
}

.service-card:hover::after {
    animation: flash-sweep 0.8s ease forwards;
}

@keyframes flash-sweep {
    0% {
        top: -100%;
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    100% {
        top: 100%;
        left: 100%;
        opacity: 0;
    }
}

.service-card img {
    width: 100%; 
    height: auto;
    max-height: 200px;
    margin: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.service-card:hover img {
    transform: scale(1.1) rotateZ(5deg);
}


.service-card h3 {
    text-align: center;
    margin: 0;
    align-self: center;
    color: var(--clr-text-alt);
}

.service-card p {
    color:#f8f8f8be;
    margin: 0;
    align-self: start; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

/* Carousel Container */
.projects-section {
    background: linear-gradient(135deg, #b2b2b2, #f5f5f5, #a8a8a8);
    color: var(--clr-text);
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
}

.projects-header {
    text-align: center;
    margin-bottom: 4rem;
}

.projects-header h1 {
    font-weight: 700;
    color:var(--clr-text);
    margin-bottom: 1.25rem;
    transform: scaleX(1.2);
}

.projects-header p {
    color:var(--clr-text);
    margin-bottom: 1rem;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #c0c0c0;
    font-weight: 300;
    letter-spacing: 1px;
}

/* Carousel Container */
.carousel-container {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: visible;
    margin: 0 auto;
}

.carousel-track {
    display: flex;
    align-items: start;
    justify-content: center;
    margin: 0 auto;
    max-width: 750px;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

/* Project Slides */
.project-slide {
    position: absolute;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 10;
    border-radius: 12px;
    overflow: hidden;
    will-change: transform, opacity;
    transform: translateZ(0);
    transition: transform 0.8s ease, opacity 0.8s ease;
    box-shadow: 0 10px 20px rgba(190, 190, 190, 0.15); /* Lighter shadow */
}

.artisan-banner {
    position: absolute;
    top: 50px;
    right: -80px;
    background: rgba(254, 254, 254, 0.4);
    color: var(--clr-text);
    padding: 10px 100px;
    font-size: var(--text-lg);
    font-weight: bold;
    transform: rotate(40deg);
    box-shadow: 
        0 4px 20px rgba(0,0,0,0.15),
        0 1px 3px rgba(0,0,0,0.1);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    z-index: 10;
    letter-spacing: 0.5px;
    min-width: 120px;
    text-align: center;
}

/* Slide States */
.project-slide.active { transform: translateX(0) scale(1); opacity: 1; z-index: 5; }
.project-slide.prev   { transform: translateX(-100%) scale(0.6); opacity: 0.6; z-index: 3; }
.project-slide.next   { transform: translateX(100%) scale(0.6); opacity: 0.6; z-index: 3; }
.project-slide.hidden { transform: translateX(0) scale(0.4); opacity: 0; z-index: 1; }

/* Exit animations for smooth transition */
.project-slide.exit-left  { transform: translateX(-200%) scale(0.5); opacity: 0; }
.project-slide.exit-right { transform: translateX(200%) scale(0.5); opacity: 0; }

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.project-slide:hover .project-image {
    transform: scale(1.05);
}


/* Project Info */
.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
    padding: 1.5rem;
    color: white;
    z-index: 2;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-description {
    color: #c0c0c0;
}

/* Navigation Controls */
.carousel-controls {
    position: absolute;
    bottom: 1rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    margin: 0 auto;
    max-width: 750px;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid white;
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 2px;
}

.nav-btn:hover {
    background: #843e1e62;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
    transform: translateX(-3px);
}

.nav-btn.next:hover {
    transform: translateX(3px);
}

/* Project Indicator */
.project-indicator {
    padding: 0.8rem 1.5rem;
    backdrop-filter: blur(10px);
    font-size: 0.9rem;
    color: var(--clr-primary);
    font-weight: 500;
    letter-spacing: 1px;
}

/* PArtnership Section */
.partner-header {
    padding: 0 1.5rem;
    text-align: center;
    margin-bottom: 4rem;
}

.projects-header h2 {
    font-weight: 700;
    color:var(--clr-text);
    margin-bottom: 1.25rem;
    transform: scaleX(1.2);
}

.projects-header p {
    color:var(--clr-text);
    margin-bottom: 1rem;
}

.slider-container {
    position: relative; 
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 0 0 5rem 0;
}

.logo-slider-container {
    position: relative;
    overflow: hidden;
}

.logo-slider-container:before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 0;
    width: 15vw;
    pointer-events: none;
    background: linear-gradient(to right, rgb(255, 255, 255), rgba(255 255 255 / 0));
    z-index: 10;
}

.logo-slider-container::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    right: 0;
    width: 15vw;
    pointer-events: none;
    background: linear-gradient(to left, rgb(255, 255, 255), rgba(255 255 255 / 0));
    z-index: 10;
}


.logo-slider {
    width: 100%;
    position: relative;
    overflow: visible;
    padding: 0 0 0.5rem 0;
}

.logo-slider-alt {
    width: 100%;
    position: relative;
    overflow: visible;
    padding: 0 0 0.5rem 0;
}

.marquee {
    position: relative;
    display: flex;
    align-items: center;
}

.marquee-track {
    display: flex;
    gap: 0.5rem;
    animation: marqueeScroll 30s linear infinite;
    will-change: transform;
}

.marquee-track-reverse {
    display: flex;
    gap: 0.5rem;
    animation: marqueeScrollReverse 30s linear infinite;
    will-change: transform;
}

.marquee-track img, .marquee-track-reverse img {
    height: 160px;
    width: 300px;
    flex-shrink: 0;
    filter: grayscale(100%) opacity(0.7);
    transition: filter 0.5s ease, transform 0.5s ease;
    object-fit:  scale-down;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.5rem 2rem;
}

.logo-slider-alt .marquee-track-reverse img {
    filter: grayscale(100%) opacity(0.5);
}

.marquee-track img:hover, .marquee-track-reverse img:hover {
    filter: grayscale(0%) opacity(1);

    transition-duration: 0.8s;
}

/* Hover pause */
.marquee:hover .marquee-track,
.marquee:hover .marquee-track-reverse {
    /* animation-play-state: paused; */
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Add some glassmorphism effect */
.logo-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.logo-slider-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 0%, 
        rgba(255, 255, 255, 0.02) 50%, 
        rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}


/* Testimonials Section */
.testimonials-section {
    background: linear-gradient(135deg, #545454 0%, #5a3420 100%);
    max-height: 100vh;
    color: white;
    position: relative;
    overflow: hidden;    
    padding: 5rem 0;
}


.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 113, 108, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials-header h1 {
    background: linear-gradient(45deg, #ffffff, #d1d5db);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
}

.testimonials-header h4 {
    color: #bfbfbf;
    font-weight: 300;
}

.testimonials-slider {
    position: relative;
    min-height: 250px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    padding: 0 2rem;
}

.testimonial-card.active {
    opacity: 1;
    transform: translateY(0);
}

.quote-mark {
    font-size: 3rem;
    color: #703920;
    font-family: Georgia, serif;
    line-height: 1;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    line-height: 1.8;
    color: #e2e8f0;
    font-weight: 300;
    margin-bottom: 3rem;
    font-style: italic;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #703920, #8b4513);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    box-shadow: 0 8px 32px rgba(112, 57, 32, 0.3);
}

.author-info {
    text-align: left;
}

.author-info h4 {
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: white;
}

.author-info p {
    color: #94a3b8;
    font-weight: 300;
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #703920;
    transform: scale(1.2);
}

.dot:hover {
    background: #64748b;
}


/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #545454 0%, #5a3420 100%);
    min-height: 100vh;
    overflow: hidden;
    color: white;
    position: relative;
    overflow: hidden;    
    padding: 5rem 0;
}


.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 113, 108, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}


.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h1 {
    font-weight: 700;
    color:var(--clr-text-alt);
    margin-bottom: 1.25rem;
    transform: scaleX(1.2);
}

.contact-header p {
    color:var(--clr-text-alt);
    margin-bottom: 1rem;
}

.contact-content {
    width: 100%;
    display: grid;
    margin: 0 auto;
    grid-template-columns: 60% 40%;
    gap: 3rem;
}

.contact-form {
    padding: 2rem 3rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition:  box-shadow 0.3s ease;
    overflow: hidden;
}

/* Hover effect - move up slightly */
.contact-form:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(255, 255, 255, 0.2);
}

/* Flash effect using ::before */
.contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease-in-out;
    pointer-events: none;
}

/* Hover → move flash to the right */
.contact-form:hover::before {
    transform: translateX(100%);
}

/* Not hovering → move flash back left smoothly */
.contact-form:not(:hover)::before {
    transform: translateX(-100%);
}
/* Keyframes */
@keyframes flashRight {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes flashLeft {
    0% { left: 100%; }
    100% { left: -100%; }
}

.contact-form h3 {
    margin-bottom: 1rem;
}

form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

input, select, textarea {
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    margin-bottom: 1rem;
    background-color: transparent; 
    color: var(--clr-text-alt);
    transition: all 0.3s ease;
}

input::placeholder, textarea::placeholder, select {
    color: rgba(255, 255, 255, 0.7);
    font-size: clamp(var(--text-sm), 1vw + 0.2rem, var(--text-base));
}

input:focus, select:focus, textarea:focus {
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.66); /* Outer glow */
    outline: none;
}


.btn-submit {
    background: #c9c9c940;
    color: white;
    border: none;
    padding: 0.9rem 0.9rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: var(--clr-background-alt);
}

.contact-info {
    display: flex;
    flex-direction: column; 
    justify-content: space-around;
}

.contact-info p,
.contact-info ul li {
    display: flex;
    align-items: center;
    margin: 1rem 0;
    color: var(--clr-text-alt-unfocused-light);
}

.contact-info i {
    margin-right: 0.6rem;
    color: var(--clr-text-alt);
    min-width: 20px;
}

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 0.8rem 0 0;
}

.contact-info ul li {
    margin-bottom: 0.5rem;
}

/* Custom dropdown */
.custom-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.dropdown-selected {
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 0.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.7);
    user-select: none;
}

.dropdown-selected:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.dropdown-selected.active {
    border: 2px solid #fff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.66); /* Outer glow */
    outline: none;
}

.dropdown-selected.placeholder {
    color: #999;
}

.dropdown-arrow {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #666;
    transition: transform 0.3s ease;
}

.dropdown-selected.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(49, 49, 49, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: none;
    border-radius: 0 0 12px 12px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.dropdown-options.show {
    max-height: 300px;
    border-color: #667eea;
    border: 1px solid #e1e5e9;
}

.dropdown-option {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.dropdown-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.dropdown-option:hover {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateX(5px);
}

.dropdown-option:hover::before {
    left: 100%;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.selected-value {
    margin-top: 20px;
    padding: 16px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.selected-value.show {
    opacity: 1;
    transform: translateY(0);
}

@keyframes dropIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-option {
    animation: dropIn 0.3s ease forwards;
}

.dropdown-option:nth-child(2) { animation-delay: 0.1s; }
.dropdown-option:nth-child(3) { animation-delay: 0.2s; }
.dropdown-option:nth-child(4) { animation-delay: 0.3s; }
.dropdown-option:nth-child(5) { animation-delay: 0.4s; }



/* Portfolio Page Section */
.portfolio-section {
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: var(--header-height, 10vh);
}

.portfolio-container {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - var(--header-height, 10vh));
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
}

/* Left Navigation */
.portfolio-nav {
    width: 150px;
    background: linear-gradient(150deg, #b4b3b3 5%, #d6d6d6 20%, #969696 52%, #909090 60%, #a9a9a9 75%, #dadada 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0  ;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-item {
    width: 100%;
    height: 20%;
    background-color: var(--clr-background-alt);
    border-top: 1px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--clr-text-alt);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
    background: transparent;
    color: var(--clr-text-alt);
    border-color: var(--clr-text-alt);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid var(--clr-text-alt);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
}

/* Content Area */
.portfolio-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: linear-gradient(150deg, #d6d6d6 20%, #969696 52%, #909090 60%, #a9a9a9 75%, #dadada 100%);
}

.content-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 3rem;
}

.content-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.content-text {
    flex: 1;
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 2rem;
    
} 

.text-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 100%;
}

.content-title {
    font-weight: 700;
    color: var(--clr-primary);
    text-transform: uppercase;
    transform-origin: left; 
    transform: scaleX(1.2) scaleY(0.9);
    display: inline-block; 
    max-width: 100%;
    white-space: normal;
}

.content-subtitle {
    color: var(--clr-primary);
    transform-origin: left; 
    transform: scaleX(1.2) scaleY(0.9);
    display: inline-block; 
}

.heading-line {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 2rem;
}

.heading-line h4 {
    margin: 0;
    white-space: nowrap;
}

.heading-line .line.dotted {
    flex-grow: 1;
    border-bottom: 1px dashed #b22b2b;
    height: 0; 
}
.content-description {
    color: var(--clr-text);
    max-width: 80%;
    mix-blend-mode: difference;
}

.content-details-header {
    padding-bottom: 10px;
}

.content-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-primary);
    margin-bottom: 0.2rem;
}

.detail-value {
    font-size: 1rem;
    color: var(--clr-text);
}

.content-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.content-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Header */
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height, 10vh);
    background:  var(--clr-background-alt);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.fixed-header .brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text-alt);
    letter-spacing: 1px;
}

.fixed-header .nav-links {
    display: flex;
    gap: 2rem;
}

.fixed-header .nav-links a {
    color: var(--clr-text-alt);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.fixed-header .nav-links a:hover {
    color: #fff;
}

.portfolio-header {
    position: static;
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
}

.brand-logo {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--clr-primary);
    letter-spacing: 1px;
}

.portfolio-title {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--clr-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}


/* ABOUT US Section*/
.about-section {
    padding: 10rem 0 6rem 0;
    background-color: var(--clr-background-alt);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.about-grid {
    display: grid;
    grid-template-columns: 9fr 11fr;
    grid-auto-rows: auto;
    gap: 3rem;
    align-items: start;
}

.about-text {
    color: var(--clr-text-alt);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.about-text strong {
    letter-spacing: 0.1rem;
}

.about-text br {
  margin-bottom: 10px;
}

.about-text img {
    width: 60%;
    padding-bottom: 1rem;
}

.bottom-text {
    padding-top: 1rem;
    margin-top: 1rem;
    color: var(--clr-text-alt-unfocused-light);
    border-top: 1px solid var(--clr-text-alt-unfocused-light);
}

.aboutUs-preview-section {
    position: relative;
    height: 50vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

#aboutUsVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(20%);
}

.aboutUs-preview-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 1rem;
    max-width: 90%;
}

.brand-message {
    margin-bottom: 1.5rem;
    color: var(--clr-text-alt);
    mix-blend-mode: difference;
}

/* Value Proposition */
.valuepro-section {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.valuepro-section.playing {
    height: 80vh;
    cursor: default;
}

/* Value Proposition */
.valuepro-section {
    position: relative;
    height: 60vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
}

.valuepro-section.playing {
    height: 80vh;
}

#valuepro-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: auto;
    height: 100%;
    min-width: 100%;
    transform: translate(-50%, -50%) scale(1.1);
    object-fit: cover;
    filter: brightness(40%);
    z-index: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.valuepro-section.playing #valuepro-video {
    filter: brightness(100%);
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
    height: auto;
    min-height: 100%;
    object-fit: contain;
}

/* Play Button Styles */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.play-button.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid rgba(255, 255, 255, 0.9);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.play-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    opacity: 1;
    visibility: visible;
    pointer-events: none;
}

.play-hint::before {
    content: '';
    width: 0;
    height: 0;
    border-left: 16px solid rgba(255, 255, 255, 0.4);
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    margin-left: 3px;
}

.valuepro-section.playing .play-hint {
    opacity: 0;
    visibility: hidden;
}

/* Pause button style */
.play-button.pause-state::before {
    content: '';
    width: 4px;
    height: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 8px 0 0 rgba(255, 255, 255, 0.9);
    border: none;
    margin-left: 0;
}

/* Video controls overlay */
.video-controls {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(0, 0, 0, 0.7);
    padding: 12px 20px;
    border-radius: 25px;
    z-index: 20;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    width: 90vw;
    max-width: calc(100% - 40px);
}

.valuepro-section.playing .video-controls {
    opacity: 1;
    visibility: visible;
}

.control-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 35px;
}

.control-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    order: 1;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.time-display {
    color: white;
    font-size: 12px;
    min-width: 80px;
}

/* Control button positioning */
.mute-btn {
    order: 1;
}

.pause-play-btn {
    order: 2;
}

.fullscreen-btn {
    order: 3;
}

/* Fullscreen styles */
.valuepro-section:fullscreen {
    height: 100vh;
    background: #000;
}

.valuepro-section:-webkit-full-screen {
    height: 100vh;
    background: #000;
}

.valuepro-section:-moz-full-screen {
    height: 100vh;
    background: #000;
}

.valuepro-section:-ms-fullscreen {
    height: 100vh;
    background: #000;
}

.valuepro-section:fullscreen #valuepro-video,
.valuepro-section:-webkit-full-screen #valuepro-video,
.valuepro-section:-moz-full-screen #valuepro-video,
.valuepro-section:-ms-fullscreen #valuepro-video {
    filter: brightness(100%);
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.valuepro-section:fullscreen .video-controls,
.valuepro-section:-webkit-full-screen .video-controls,
.valuepro-section:-moz-full-screen .video-controls,
.valuepro-section:-ms-fullscreen .video-controls {
    opacity: 1;
    visibility: visible;
}

.valuepro-section:fullscreen .play-button,
.valuepro-section:-webkit-full-screen .play-button,
.valuepro-section:-moz-full-screen .play-button,
.valuepro-section:-ms-fullscreen .play-button {
    width: 100px;
    height: 100px;
}

.valuepro-section:fullscreen .play-button::before,
.valuepro-section:-webkit-full-screen .play-button::before,
.valuepro-section:-moz-full-screen .play-button::before,
.valuepro-section:-ms-fullscreen .play-button::before {
    border-left: 25px solid rgba(255, 255, 255, 0.9);
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 5px;
}

.valuepro-section:fullscreen .play-button.pause-state::before,
.valuepro-section:-webkit-full-screen .play-button.pause-state::before,
.valuepro-section:-moz-full-screen .play-button.pause-state::before,
.valuepro-section:-ms-fullscreen .play-button.pause-state::before {
    width: 6px;
    height: 25px;
    box-shadow: 10px 0 0 rgba(255, 255, 255, 0.9);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #b2b2b2, #f5f5f5, #a8a8a8);
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
}

.process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(110, 63, 33, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.process-header {
    text-align: center;
    padding-bottom: 60px;
}

.section-title {
    font-size: 3.8rem;
    font-weight: 300;
    background: linear-gradient(135deg, #c0c0c0, #f5f5f5, #a8a8a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c0c0c0, transparent);
}

.process-item {
    height: 50vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(192, 192, 192, 0.1);
}

.process-item:nth-child(even) {
    flex-direction: row-reverse;
}

.process-item:nth-child(even) .process-content .process-content-alt{
    padding-left: 2rem;
    padding-right: 0;
}

.process-container {
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
    justify-content: space-between;
}

.process-content {
    flex: 0 0 35%;
    position: relative;
    z-index: 2;
    text-align: right;
}

.process-content-alt {
    flex: 0 0 35%;
    position: relative;
    text-align: left;   
    z-index: 2;
}

.process-quote {
    color: var(--clr-primary);
    font-style: italic;
    position: relative;
    padding: 2rem 0;
}

.process-visual {
    flex: 0 0 60%;
    min-width: 60%;
    height: 80%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.process-visual-alt{
    flex: 0 0 60%;
    min-width: 60%;
    height: 80%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.process-visual .overlay {
    position: absolute;
    inset: 0;
    background:  linear-gradient(to right, 
            rgba(192, 192, 192, 0.1), 
            rgba(110, 63, 33, 0.1) 35%, 
            rgba(60, 30, 10, 0.3) 100%);
    pointer-events: none;
}

.process-visual-alt .overlay {
    position: absolute;
    inset: 0;
    background:  linear-gradient(to left, 
            rgba(192, 192, 192, 0.1), 
            rgba(110, 63, 33, 0.1) 35%, 
            rgba(60, 30, 10, 0.3) 100%);
    pointer-events: none;
}

.process-visual::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23c0c0c0' fill-opacity='0.03'%3E%3Cpath d='M20 20c0 4.4-3.6 8-8 8s-8-3.6-8-8 3.6-8 8-8 8 3.6 8 8zm0-20v2c5.5.0 10 4.5 10 10s-4.5 10-10 10v2c6.6 0 12-5.4 12-12s-5.4-12-12-12z'/%3E%3C/g%3E%3C/svg%3E");
}

/* Typography Enhancement */
.process-text::first-letter {
    font-size: 1.3em;
    color: #d4af37;
    font-weight: 400;
}

.visual-placeholder {
    color: rgba(192, 192, 192, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Values Section */
.values-section {
    padding: 5rem 0 0 0;
    background: var(--clr-background-alt);
    min-height: 100vh;
    position: relative;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(110, 63, 33, 0.03) 0%, transparent 50%);
}

.values-header {
    text-align: center;
    margin-bottom: 60px;
}

.values-container {
    height: 100vh;
    display: flex;
    width: 100%;
    position: relative;
}

.value-panel {
    flex: 1;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    filter: grayscale(90%) brightness(0.4);
    border-right: 1px solid rgba(192, 192, 192, 0.555);
}

.value-panel:last-child {
    border-right: none;
}

/* Dark overlay for better text readability */
.value-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.4) 50%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    transition: all 0.8s ease;
    z-index: 1;
}

.value-panel:hover {
    flex: 1.1;
    filter: grayscale(80%) brightness(1);
    z-index: 10;
    transform: scaleX(1.1);
}

.value-panel:hover::before {
    background: linear-gradient(
        180deg, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.7) 50%, 
        rgba(0, 0, 0, 0.5) 100%
    );
}

.value-panel:hover .value-content {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
    filter: grayscale(0%) brightness(1);
}

.value-panel:hover .value-description {
    opacity: 1;
    transform: translateY(0);
}

/* Content positioning */
.value-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    opacity: 0.8;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 90%;
}

.value-number {
    display: none;
}

.value-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: #ffffff;
    line-height: 1.3;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
}

.value-title .line-break {
    display: block;
}

.value-description {
    font-size: 0.95rem;
    color: #e0e0e0;
    line-height: 1.6;
    font-family: 'Georgia', serif;
    font-style: italic;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease 0.2s;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* Individual panel backgrounds with real images */
.value-panel:nth-child(1) {
    background-image: url('/resource/images/value_panel/value_artistic_designer.avif');
    background-size: cover;
    background-position: center;
}

.value-panel:nth-child(2) {
    background-image: url('/resource/images/value_panel/value_problem_solver.avif');
    background-size: cover;
    background-position: center;
}

.value-panel:nth-child(3) {
    background-image: url('/resource/images/value_panel/value_meticulous_craftsmen.avif');
    background-size: cover;
    background-position: center;
}

.value-panel:nth-child(4) {
    background-image: url('/resource/images/value_panel/value_team_player.avif');
    background-size: cover;
    background-position: center;
}

.value-panel:nth-child(5) {
    background-image: url('/resource/images/value_panel/value_ground_breaker.avif');
    background-size: cover;
    background-position: center;
}

/* Accent lines */
.value-panel::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6e3f21, transparent);
    transform: scaleX(0);
    transition: transform 0.6s ease;
    z-index: 3;
}

.value-panel:hover::after {
    transform: scaleX(1);
}

/* Animations */
.value-panel {
    opacity: 0;
    animation: slideInVertical 1.2s ease forwards;
}

.value-panel:nth-child(1) { animation-delay: 0.1s; }
.value-panel:nth-child(2) { animation-delay: 0.2s; }
.value-panel:nth-child(3) { animation-delay: 0.3s; }
.value-panel:nth-child(4) { animation-delay: 0.4s; }
.value-panel:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInVertical {
    from {
        opacity: 0;
        transform: translateY(100px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Subtle particle effect overlay */
.value-panel:hover .value-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(192, 192, 192, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: float 20s linear infinite;
    pointer-events: none;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

/* Popup Overlay Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 100000;
    display: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.popup-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.popup-content {
  background: linear-gradient(135deg, #d9d9d9, #f1f1f1, #d9d9d9);
    border-radius: 15px;
    width: 90vw;
    max-width: 1200px;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    transform: scale(0);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform-origin: center center;
    padding: 2rem 4rem;
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 1001;
    transition: background 0.3s ease;
}

.popup-close:hover {
    background: rgba(0,0,0,0.9);
}


/* Gallery Section */
.gallery-container {
    padding: 60px 40px 80px;
    min-width: 0;
}

.gallery-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 300;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 1rem;
    row-gap: 2rem;
}

.gallery-grid > * {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item {
    position: relative;
    height: 220px;
    border-radius: 2px;
}

.gallery-item.double-width {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item:hover img {
    filter: brightness(0.8);
    transition: filter 0.5s ease;
}


.gallery-item-info {
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--clr-text-alt-unfocused);
    pointer-events: none;
    z-index: 100000000;
}

.gallery-item-title {
    font-weight: 500;
}

.gallery-item-date {
    font-weight: 300;
}


/* Temp gallery*/
.gallery-viewport {
    width: 100%;
    min-height: 200px;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.gallery-image {
    width: 50%;
    aspect-ratio: 3/2;     /* Width to height ratio (3:2 in this example) */
    object-fit: cover;
    flex-shrink: 0;
    padding: 0.5rem;
    box-sizing: border-box;
}

/* Navigation */
.gallery-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
}

.gallery-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.gallery-nav-btn {
    position: absolute;
    top: 45%;
    width: 50px;
    height: 50px;
    background: transparent;
    border: 1px solid rgb(146, 146, 146);
    font-size: 1.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.gallery-nav-btn:active {
    transform: scale(0.95);
}

.gallery-nav-btn:hover {
    background: #843e1e62;
    color: var(--clr-primary);
    border-color: var(--clr-primary);
    transform: translateX(-3px);
}

.gallery-nav-btn.next:hover {
    transform: translateX(3px);
}

.gallery-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}


.gallery-counter {
    padding: 8px 8px;
    border-radius: 2px;
    font-weight: 500;
    color: var(--clr-text-alt-unfocused);
}

.gallery-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0.5rem;
}

.gallery-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #707070;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-indicator.active {
    background: var(--clr-primary);
    transform: scale(1.4);
}

.gallery-indicator:hover {
    background: #666;
}

/* Footer */
footer {
    position: relative;
    width: 100%;
    max-width: 100vw;
    background-color: var(--clr-background-alt);
    color: white;
    padding: 4rem 0;
    
    /* Ensure footer doesn't cause horizontal scroll */
    box-sizing: border-box;
    overflow-x: hidden;
}


.footer-container {
    max-width: 90%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
}

.footer-section img {
    max-width: 220px;
    width: 100%;
}

.footer-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-section h4 {
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #bebebe;
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-links a {
    color: #e5e5e5;
    transition: color 0.3s;
    display: flex;
    font-size: 1.1rem;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid rgba(161, 161, 161, 0.2);
    border-radius: 20px;
    color: #bebebe;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(147, 147, 147, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-links a:hover::before {
    left: 100%;
}

.social-links a:hover {
    background: rgba(115, 115, 115, 0.5);
    border-color: #bebebe;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #bebebe;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    color: #bebebe;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-contact i {
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #9b9b9b;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: start;
    color: #9ca3af;
}

 
/* =============================================================================
   Responsive Design - Tablet/Mobile View
   ============================================================================= */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --page-padding: 2rem;  /* Smaller padding on mobile */
        --header-height: 12vh;
        --base-size: 0.8rem;
        --type-scale: 1.20;
    }

    header {
        color: var(--clr-text);
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1000;
    }

    .logo img {
        max-height: 35px;
    }

    /* Intro section*/
    .intro-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        align-items: center;
    }

    .stat h2 {
        font-size: var(--text-2xl);
    }

    /* Service section */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-card {
        height: 450px;
    }

    /* Preview about us*/
    .aboutUs-preview-section {
        height: 40vh;
    }

    /* Featured Project */
    .project-slide {
        width: 100%;
        aspect-ratio: none;
        height: 400px;
    }

    .carousel-controls {
        left: 0;
        right: 0;
    }

    /* Gallery-Project */
    .popup-content {
        padding: 2rem 1rem;
    }

    .gallery-container {
        padding: 40px 20px 80px;
        min-width: 0;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        row-gap: 2rem;
    }

    .gallery-viewport {
        min-height: 300px;
        height: auto;
    }

    .gallery-image {
        width: 100%;
        padding: 0;
    }

    .gallery-counter {
        display: none;
    }

    .gallery-nav-btn {
        top: 90%;
    }

    /* Partnership Section*/
    .marquee-track img, .marquee-track-reverse img {
        height: 100px;
        width: 140px;
    }

    /* Testimonial section */
    .testimonial-card {
        padding: 0;
    }

    .testimonials-slider {
        min-height: 300px;
    }

    .quote-mark {
        font-size: 2rem;
        color: #703920;
        font-family: Georgia, serif;
        line-height: 0.8;
        margin-bottom: 1rem;
    }

    /* Contact Section */
    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1rem 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    /* About us seection*/
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-text {
        gap: var(--spacing-md);
    }

    .valuepro-section {
        position: relative;
        width: 100%;
        height: 70vh;
        overflow: hidden; 
        background-color: #6e3f21;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button::before {
        border-left: 15px solid rgba(255, 255, 255, 0.9);
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        margin-left: 3px;
    }

    .video-controls {
        padding: 8px 15px;
        gap: 10px;
        width: 95vw;
    }

    .time-display {
        font-size: 10px;
        min-width: 60px;
    }

    /* Process section */
    .process-content,
    .process-content-alt {
        color: var(--clr-text-alt);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, 50%);
        z-index: 10;
        width: 90%;
        max-width: 400px;
        text-align: center;
    }

    .process-quote {
        color: var(--clr-text-alt);
        font-size: var(--text-lg);
        padding: 1rem 1rem;
    }

    .process-visual {
        flex: 0 0 100%;
        min-width: 100%;
        height: 80%;
        position: relative;
        display: absolute;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .process-visual-alt {
        flex: 0 0 100%;
        min-width: 100%;
        height: 80%;
        position: relative;
        display: absolute;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .process-visual .overlay,
    .process-visual-alt .overlay {
        position: absolute;
        inset: 0;
        background:  linear-gradient(to bottom, 
                rgba(170, 170, 170, 0.7), 
                rgba(110, 63, 33, 0.7) 35%, 
                rgba(60, 30, 10, 0.95) 100%);
        pointer-events: none;
    }

    /* Value section */
    .values-container {
        height: auto;
        flex-direction: column;
        min-height: 100vh;
    }
    
    .value-panel {
        flex: none;
        height: 20vh;
        min-height: 200px;
        border-right: none;
        border-bottom: 1px solid rgba(192, 192, 192, 0.1);
    }
    
    .value-panel:hover {
        flex: 1.1;
        transform: scaleX(1.1);
    }
    
    .value-title {
        font-size: 1.2rem;
    }
    
    .value-description {
        font-size: 0.9rem;
    }

    .portfolio-nav {
        width: 50px;
        background: linear-gradient(150deg, #b4b3b3 5%, #d6d6d6 20%, #969696 52%, #909090 60%, #a9a9a9 75%, #dadada 100%);
        display: flex;
        flex-direction: column;
    }

    /* Portfolio page */
    .content-slide {
        flex-direction: column;
        padding: 1.5rem;
        justify-content: flex-start;
    }

    .content-text {
        padding-right: 0;
        display: contents;
    }
    .text-block {
        order: 1;
    }

    .content-image {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -25%);
        width: 90%;
        max-width: 500px;
        max-height: min-content;
        z-index: -1;
        order: 2;
    }

    .content-image img{
        width: 100%;
        height: auto;
        max-height: 50vh;
        object-fit: contain;
        opacity: 0.95;
    }

    .content-details-section {
        order: 3;
        margin-top: auto;
        margin-bottom: 0;
    }

    .detail-label {
        font-size: 0.8rem;
        font-weight: 600;
        color: var(--clr-primary);
        margin-bottom: 0.2rem;
    }

    .detail-value {
        font-size: 0.8rem;
        color: var(--clr-text);
    }
    
    /* Footer */
    footer {
        padding: 3rem 0;
    }

    .footer-container {
        padding: 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 500px) {
    .gallery-nav-btn {
        top: 80%;
    }

    .footer-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 2.5rem;
    }

    .process-quote {
        padding: 0 0;
    }
}