:root {
    --bg-color: #F1EFE7;
    --text-dark: #0F0F0F;
    --text-light: #FFFFFF;
    --brand-orange: #E64624;
    --font-main: 'artox', sans-serif;
}

*, *::before, *::after, html, body, input, button, select, textarea, optgroup, a, p, span, div, h1, h2, h3, h4, h5, h6, li, ul, ol, label, form, section, main, header, footer, article, nav {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'artox', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

* {
    cursor: none;
}

@media (hover: none) and (pointer: coarse) {
    * {
        cursor: auto !important;
    }
}

.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--brand-orange);
    pointer-events: none;
    z-index: 2147483647 !important;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.custom-cursor.active {
    width: 60px;
    height: 60px;
    background-color: rgba(230, 70, 36, 0.1);
    border: 1px solid var(--brand-orange);
    backdrop-filter: blur(2px);
}

@media (hover: none) and (pointer: coarse) {
    .custom-cursor {
        display: none !important;
    }
}

/* Page Transition */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--text-dark);
    z-index: 10000;
    transform: translateY(0%);
    pointer-events: none;
}

/* Hide default scrollbar for Lenis */
::-webkit-scrollbar {
    display: none;
}

html {
    scrollbar-width: none;
}

body {
    font-family: 'artox', sans-serif;
    background-color: #000;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
    padding: 5vh 0;
}

.background-blur {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background-image: url('../images/HWW-Execute.JPG');
    background-size: cover;
    background-position: center;
    filter: blur(25px) brightness(0.4);
    z-index: 0;
    pointer-events: none;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    backface-visibility: hidden;
    contain: strict;
}

.app-container {
    position: relative;
    z-index: 1;
    width: 90vw;
    min-height: 90vh;
    height: auto;
    max-width: 1600px;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4vw;
    height: 12vh;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 3vw;
}

.header a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.header a:hover {
    opacity: 0.6;
}

.header a.active {
    opacity: 0.5;
}


.btn-contact {
    background-color: var(--brand-orange);
    color: var(--text-light) !important;
    padding: 12px 28px;
    border-radius: 100px;
    font-size: 12px !important;
    font-weight: 500;
    transition: opacity 0.3s ease, background-color 0.3s ease;
}

.logo {
    display: flex;
    justify-content: center;
    align-items: center;

}

.site-logo {
    max-height: 40px;
    width: auto;
    object-fit: contain;

}

.hero {
    height: 78vh;
    padding: 0 4vw 4vw 4vw;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-image-container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.65);
}

.hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero-text-overlay h1 {
    font-family: 'artox', sans-serif;
    font-size: clamp(3rem, 5vw, 6.5rem);
    font-weight: 400;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: 0.02em;
}

.second-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.outlined-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 45px;
    border: 1px solid #FFFFFF;
    color: var(--brand-orange);
    border-radius: 100px;
}

.hero-subtitle {
    margin-top: 3vh;
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.85);
    max-width: 750px;
    line-height: 1.6;
    font-weight: 300;
}

/* Spaces We Create Section (Premium Redesign) */
.spaces-we-create-section {
    padding: 12vh 4vw;
    background-color: var(--bg-color);
}

.spaces-header {
    text-align: center;
    margin-bottom: 12vh;
}

.spaces-header h2 {
    font-family: 'artox', sans-serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.spaces-header p {
    font-size: 1.2rem;
    color: #666;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.spaces-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15vh;
}

.premium-space-row {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.premium-space-row.reverse {
    flex-direction: row-reverse;
}

.premium-space-image {
    width: 65%;
    position: relative;
    z-index: 1;
}

.premium-space-image .image-inner {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.premium-space-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-space-row:hover .premium-space-image img {
    transform: scale(1.05);
}

.premium-space-content {
    width: 45%;
    position: absolute;
    z-index: 2;
    right: 0;
}

.premium-space-row.reverse .premium-space-content {
    right: auto;
    left: 0;
}

.content-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.premium-space-row.reveal.active .content-box {
    transform: translateY(0);
    opacity: 1;
}

.premium-space-row:hover .content-box {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.content-box h3 {
    font-family: 'artox', sans-serif;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.content-box h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 2px;
    background-color: var(--text-dark);
    transition: width 0.4s ease;
}

.premium-space-row:hover .content-box h3::after {
    width: 100%;
}

.content-box p {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 35px;
}

.elegant-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 20px;
}

.elegant-list span {
    font-size: 1.05rem;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.elegant-list span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-dark);
}

@media screen and (max-width: 900px) {

    .premium-space-row,
    .premium-space-row.reverse {
        flex-direction: column;
    }

    .premium-space-image {
        width: 100%;
    }

    .premium-space-content {
        width: 90%;
        position: relative;
        margin-top: -60px;
        right: auto;
        left: auto;
    }

    .premium-space-row.reverse .premium-space-content {
        left: auto;
    }

    .content-box {
        padding: 40px 30px;
    }

    .elegant-list {
        grid-template-columns: 1fr;
    }
}

/* Timeline Section */
.timeline-section {
    position: relative;
    /* Removed padding and overflow:hidden so GSAP can pin correctly */
}

.timeline-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    /* Full viewport height for pinning */
    z-index: 0;
}

.timeline-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    /* JS will fade it in */
}

.timeline-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(241, 239, 231, 0.6);
    /* Semi-transparent var(--bg-color) */
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1;
}

.timeline-content-wrapper {
    position: relative;
    z-index: 2;
    padding: 8vw 4vw;
}

.timeline-header,
.timeline {
    position: relative;
    z-index: 2;
}

.timeline-header {
    text-align: center;
    margin-bottom: 5vw;
}

.timeline-header h2 {
    font-family: 'artox', sans-serif;
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.timeline-header p {
    color: #555;
    font-size: 1.1rem;
}

.timeline {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background: linear-gradient(to bottom, transparent 0%, var(--brand-orange) 15%, var(--brand-orange) 85%, transparent 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 15px 50px;
    position: relative;
    width: 50%;
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.left {
    left: 0;
    transform: translate(-100px, 80px) scale(0.92);
}

.timeline-item.right {
    left: 50%;
    transform: translate(100px, 80px) scale(0.92);
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 0;
    top: 35px;
    transform: translate(50%, 0);
    background-color: var(--brand-orange);
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 0 4px rgba(230, 70, 36, 0.15);
    border-radius: 50%;
    z-index: 2;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s ease, box-shadow 0.4s ease;
    animation: pulseDot 3s infinite ease-in-out;
}

.timeline-item.right::after {
    left: 0;
    right: auto;
    transform: translate(-50%, 0);
}

.timeline-item.left:hover::after {
    transform: translate(50%, 0) scale(1.4);
    background-color: var(--brand-orange);
    box-shadow: 0 0 0 6px rgba(230, 70, 36, 0.25);
}

.timeline-item.right:hover::after {
    transform: translate(-50%, 0) scale(1.4);
    background-color: var(--brand-orange);
    box-shadow: 0 0 0 6px rgba(230, 70, 36, 0.25);
}

.timeline-content {
    padding: 35px;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.timeline-content:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
}

.timeline-content h3 {
    font-family: 'artox', sans-serif;
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.timeline-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.timeline-content img {
    width: 100%;
    border-radius: 10px;
    height: 280px;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-content:hover img {
    transform: scale(1.06);
}

/* Why Altin Section */
.why-altin-section {
    padding: 10vh 4vw;
    background-color: var(--bg-color);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.why-altin-header {
    text-align: center;
    margin-bottom: 6vh;
}

.why-altin-header h2 {
    font-family: 'artox', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
}

.why-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5vw;
    margin-bottom: 8vh;
}

.feature-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.5);
    padding: 14px 16px;
    border-radius: 50px;
    border: 1px solid var(--brand-orange);
    width: 100%;
}

.feature-item svg {
    color: var(--brand-orange);
    flex-shrink: 0;
}

.feature-item p {
    font-weight: 500;
    color: var(--text-dark);
    font-size: clamp(0.8rem, 0.95vw, 0.95rem);
    white-space: nowrap;
}

.why-stats {
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    flex-wrap: wrap;
    gap: 2vw;
}

.stat-item h3 {
    font-family: 'artox', sans-serif;
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #666;
}

/* --- COLLECTION PAGE --- */
.collection-page {
    padding: 10vh 4vw 5vh 4vw;
    min-height: 80vh;
}

.collection-header {
    text-align: center;
    margin-bottom: 8vh;
    opacity: 0;
}

.collection-header h1 {
    font-family: 'artox', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.collection-header p {
    font-size: 1.2rem;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 4vw;
    align-items: start;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 1 !important;
    width: 100%;
}

.portfolio-item:nth-child(even) {
    margin-top: 120px;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .portfolio-item:nth-child(even) {
        margin-top: 0;
    }
}

.portfolio-img-wrapper {
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 4/5;
}

.portfolio-item.landscape .portfolio-img-wrapper {
    aspect-ratio: 16 / 10 !important;
}

.portfolio-item.portrait .portfolio-img-wrapper {
    aspect-ratio: 3 / 4 !important;
}

.portfolio-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-img-wrapper:hover img {
    transform: scale(1.08);
}

.portfolio-info h3 {
    font-family: 'artox', sans-serif;
    font-size: 1.8rem;
}

.portfolio-info p {
    color: #666;
    font-size: 1rem;
}

/* --- ABOUT PAGE --- */
.about-page {
    padding: 15vh 4vw;
}

.about-header {
    text-align: center;
    margin-bottom: 6vh;
}

.about-header h2 {
    font-family: 'artox', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-dark);
}

.about-header-wrapper {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5vh auto;
}

.about-header-wrapper h1 {
    font-family: 'artox', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.about-tagline {
    font-family: 'artox', sans-serif;
    font-size: clamp(1.4rem, 2.2vw, 2.2rem);
    font-weight: 400;
    color: #333;
    line-height: 1.4;
}

.about-hero-image-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 6vh auto;
    height: 60vh;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

.about-hero-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text-container {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.about-text-container p {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 25px;
    line-height: 1.8;
}

.about-quote {
    margin-top: 40px !important;
    font-family: 'artox', sans-serif;
    font-size: clamp(1.3rem, 2vw, 1.8rem) !important;
    font-style: italic;
    color: var(--text-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-text {
    opacity: 0;
}

.about-text h2 {
    font-family: 'artox', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 25px;
}

.about-text p {
    font-size: 1.1rem;
    color: #444;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-image-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 70vh;
    opacity: 0;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-section {
    margin-top: 15vh;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 10vh;
}

.process-header {
    text-align: center;
    margin-bottom: 8vh;
    opacity: 0;
}

.process-header h2 {
    font-family: 'artox', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.process-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3vw;
    max-width: 1400px;
    margin: 0 auto;
}

.process-step {
    opacity: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.step-number {
    font-family: 'artox', sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    font-style: italic;
    opacity: 0.5;
    margin-bottom: 10px;
}

.step-image {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-image:hover img {
    transform: scale(1.08);
}

.process-step h3 {
    font-family: 'artox', sans-serif;
    font-size: 1.5rem;
    margin-top: 10px;
}

.process-step p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

@media screen and (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5vw;
    }
}

@media screen and (max-width: 600px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 8vh;
    }
}

/* --- CONTACT PAGE --- */
.contact-page {
    padding: 20vh 4vw;
    display: flex;
    justify-content: center;
}

.contact-container {
    max-width: 800px;
    width: 100%;
    text-align: center;
}

.contact-container h1 {
    font-family: 'artox', sans-serif;
    font-size: clamp(4rem, 8vw, 6rem);
    color: var(--text-dark);
    margin-bottom: 6vh;
    opacity: 0;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    text-align: left;
    gap: 4vw;
    margin-top: 8vh;
    opacity: 0;
}

.contact-block h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 15px;
}

.contact-block p,
.contact-block a {
    font-size: 1.2rem;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.6;
    word-break: break-word;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-page ~ .global-footer {
    display: none !important;
}

@media screen and (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        transform: translateY(50px);
    }

    .timeline-item.left::after,
    .timeline-item.right::after {
        left: 15px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-content h3 {
        font-size: 1.4rem;
    }

    .timeline-content img {
        height: 200px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-item:nth-child(even) {
        margin-top: 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-wrapper {
        height: 40vh;
        order: -1;
    }

    .contact-info {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
}

/* --- SERVICES PAGE --- */
.services-page {
    padding: 10vh 4vw;
}

.services-header {
    text-align: center;
    margin-bottom: 8vh;
    opacity: 0;
}

.services-header h1 {
    font-family: 'artox', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.services-header p {
    font-size: 1.2rem;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
}

.service-text h2 {
    font-family: 'artox', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.service-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
}

/* Explore Button & Expandable List */
.btn-explore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    font-family: 'artox', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--brand-orange);
    cursor: pointer;
    padding: 5px 0;
    border-bottom: 1px solid var(--brand-orange);
    margin-bottom: 15px;
    transition: opacity 0.3s ease;
}

.btn-explore:hover {
    opacity: 0.7;
}

.btn-explore svg {
    transition: transform 0.4s ease;
}

.service-text.expanded .btn-explore svg {
    transform: rotate(180deg);
}

.expandable-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.service-text.expanded .expandable-content {
    max-height: 800px;
    opacity: 1;
}

.space-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
}

.space-list li {
    font-size: 1.05rem;
    color: #444;
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.space-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--text-dark);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 10vh;
    max-width: 1400px;
    margin: 0 auto;
}

.service-row {
    display: flex;
    align-items: center;
    gap: 6vw;
    opacity: 0;
    /* for GSAP */
}

.service-row.reverse {
    flex-direction: row-reverse;
}

.service-text {
    flex: 1;
}

.service-text span {
    font-size: 1.5rem;
    font-weight: 300;
    color: #aaa;
    display: block;
    margin-bottom: 10px;
}

.service-text h2 {
    font-family: 'artox', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.service-img-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-img-wrapper:hover img {
    transform: scale(1.05);
}

/* --- BLOG PAGE --- */
.blog-page {
    padding: 10vh 4vw;
}

.blog-header {
    text-align: center;
    margin-bottom: 8vh;
    opacity: 0;
}

.blog-header h1 {
    font-family: 'artox', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--text-dark);
    margin-bottom: 20px;
}

.blog-header p {
    font-size: 1.2rem;
    color: #444;
    max-width: 600px;
    margin: 0 auto;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4vw;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-card {
    opacity: 0;
    /* for GSAP */
    display: flex;
    flex-direction: column;
}

.blog-card a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.blog-img-wrapper {
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/10;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.blog-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.blog-date {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    font-weight: 500;
}

.blog-info h3 {
    font-family: 'artox', sans-serif;
    font-size: 1.8rem;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.blog-card:hover .blog-info h3 {
    color: #555;
}

.blog-info p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* --- BLOG DETAIL PAGE --- */
.article-page {
    padding-top: 10vh;
}

.article-hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 5vh 4vw;
}

.article-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.article-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    font-size: 0.85rem;
}

.article-category {
    background: rgba(230, 70, 36, 0.1);
    color: var(--brand-orange);
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.meta-divider {
    color: rgba(0, 0, 0, 0.2);
}

.article-views {
    font-weight: 600;
    color: var(--brand-orange);
    white-space: nowrap;
}

.article-date-row {
    font-size: 0.8rem;
    color: #777;
    text-align: center;
    line-height: 1.5;
    white-space: normal;
}

.article-hero h1 {
    font-family: 'artox', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--text-dark);
    margin-bottom: 5vh;
    line-height: 1.2;
}

.article-cover-wrapper {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 21/9;
    opacity: 1;
}

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

.article-content {
    max-width: 760px;
    margin: 5vh auto 10vh;
    padding: 0 4vw;
}

.article-content p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
    opacity: 1;
}

.article-intro {
    font-size: 1.35rem !important;
    line-height: 1.7 !important;
    color: #333 !important;
    margin-bottom: 50px !important;
}

.article-content h2 {
    font-family: 'artox', sans-serif;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin: 60px 0 25px;
    opacity: 1;
}

.article-content ul {
    margin-bottom: 30px;
    padding-left: 20px;
    opacity: 1;
}

.article-content li {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.article-content blockquote {
    font-family: 'artox', sans-serif;
    font-size: 1.8rem;
    font-style: italic;
    color: var(--text-dark);
    border-left: 4px solid var(--text-dark);
    padding-left: 30px;
    margin: 50px 0;
    line-height: 1.5;
    opacity: 1;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 35px 0;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 60px auto 40px;
    padding-top: 35px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    max-width: 760px;
    padding-left: 4vw;
    padding-right: 4vw;
    opacity: 1;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.author-info span {
    font-size: 0.9rem;
    color: #888;
}

.read-more-section {
    background-color: #fff;
    padding: 10vh 4vw;
}

.read-more-header {
    text-align: center;
    margin-bottom: 6vh;
    opacity: 1;
}

.read-more-header h2 {
    font-family: 'artox', sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
}

@media screen and (max-width: 900px) {

    .service-row,
    .service-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 6vh;
    }

    .article-cover-wrapper {
        aspect-ratio: 16/10;
    }

    .article-content blockquote {
        font-size: 1.5rem;
        padding-left: 20px;
    }
}

/* --- CONTACT FORM --- */
.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form-wrapper {
    margin-top: 60px;
    opacity: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    gap: 30px;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
}

.form-group input,
.form-group textarea {
    padding: 15px 20px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    font-family: 'artox', sans-serif;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--text-dark);
    background: rgba(255, 255, 255, 0.5);
}

.btn-submit {
    align-self: center;
    padding: 15px 40px;
    background: var(--brand-orange);
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: none;
    /* Let custom cursor handle it */
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #cb3a1d;
}

/* --- GLOBAL FOOTER --- */
.global-footer {
    padding: 80px 4vw 40px;
    background-color: transparent;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin-top: 10vh;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-left h3,
.footer-right h3 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 20px;
}

.footer-left {
    max-width: 500px;
}

.footer-left .brand-text {
    font-family: 'artox', sans-serif;
    font-size: 2.5rem;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 10px;
}

.footer-left .brand-subtext {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 30px;
}

.contact-details p {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 5px;
}

.contact-details .phone,
.contact-details .email {
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: var(--brand-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--brand-orange);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--brand-orange);
    color: #fff;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 60px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #aaa;
}

@media screen and (max-width: 900px) {
    .form-row {
        flex-direction: column;
        gap: 30px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-right .social-icons {
        justify-content: center;
    }
}

/* --- MOBILE NAVIGATION & RESPONSIVENESS --- */
.mobile-nav {
    display: none;
    /* hidden on desktop */
}

@media screen and (max-width: 768px) {

    body {
        padding: 0 !important;
        background-color: var(--bg-color) !important;
        overflow-x: hidden !important;
    }

    .app-container {
        width: 100vw !important;
        min-height: 100vh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow-x: hidden !important;
    }

    /* Hide Top Nav Links, Keep Logo */
    .nav-left,
    .nav-right {
        display: none !important;
    }

    .header {
        justify-content: center !important;
        padding: 15px 20px !important;
        height: auto !important;
        background-color: var(--bg-color);
    }

    .site-logo {
        max-height: 32px !important;
        width: auto;
    }

    /* Bottom Mobile Navbar */
    .mobile-nav {
        display: flex !important;
        justify-content: space-around;
        align-items: center;
        position: fixed;
        bottom: max(15px, env(safe-area-inset-bottom));
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 32px);
        max-width: 400px;
        height: 62px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 40px;
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
        z-index: 1000;
        border: 1px solid rgba(255, 255, 255, 0.9);
        padding: 0 6px;
    }

    .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--text-dark);
        text-decoration: none;
        font-size: 0.65rem;
        font-weight: 500;
        opacity: 0.55;
        gap: 3px;
        transition: all 0.3s ease;
        flex: 1;
        height: 100%;
        padding: 6px 0;
    }

    .mobile-nav a.active {
        opacity: 1;
        color: var(--brand-orange) !important;
        transform: translateY(-2px);
    }

    .mobile-nav a svg {
        width: 20px;
        height: 20px;
        stroke: var(--text-dark);
        stroke-width: 1.8;
        transition: stroke 0.3s ease;
    }

    .mobile-nav a.active svg {
        stroke: var(--brand-orange) !important;
        stroke-width: 2.2;
    }

    /* Fix Hero on Mobile - Tall Vertical Banner */
    .hero {
        height: 78vh !important;
        min-height: 520px !important;
        padding: 0 4vw 3vw 4vw !important;
        position: relative !important;
    }

    .hero-image-container {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        overflow: hidden !important;
        border-radius: 12px !important;
    }

    .hero-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    .hero-text-overlay {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 90% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 10px !important;
    }

    .hero-text-overlay h1 {
        font-size: clamp(1.3rem, 6vw, 2.2rem) !important;
        line-height: 1.25 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .second-line {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
    }

    .outlined-text {
        display: inline-block !important;
        padding: 5px 18px !important;
        font-size: clamp(1.1rem, 5vw, 1.7rem) !important;
        border-width: 1px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: normal !important;
        margin-top: 4px !important;
    }

    .hero-subtitle {
        font-size: 0.85rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
        margin-top: 10px !important;
        padding: 0 5px !important;
    }

    /* Our Approach Section Mobile */
    .about-page {
        padding: 6vh 4vw !important;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .about-text h2 {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 15px !important;
    }

    .about-text p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 15px !important;
    }

    .about-image-wrapper {
        width: 100% !important;
        aspect-ratio: 4/3 !important;
        border-radius: 12px !important;
    }

    /* Portfolio Grid Mobile */
    .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }

    .portfolio-item:nth-child(even) {
        margin-top: 0 !important;
    }

    /* Blog List Grid Mobile */
    .blog-grid {
        grid-template-columns: 1fr !important;
        gap: 35px !important;
    }

    /* Blog Detail & Article Mobile */
    .article-hero {
        padding: 4vh 4vw 2vh !important;
    }

    .article-hero h1 {
        font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
    }

    .article-cover-wrapper {
        aspect-ratio: 16/10 !important;
        margin-top: 20px !important;
    }

    .article-content {
        padding: 0 4vw !important;
        margin: 3vh auto 6vh !important;
    }

    .article-content p, .article-content li {
        font-size: 1rem !important;
        line-height: 1.7 !important;
    }

    .article-content h2 {
        font-size: 1.5rem !important;
        margin: 35px 0 15px !important;
    }

    .article-content blockquote {
        font-size: 1.2rem !important;
        padding-left: 15px !important;
        margin: 25px 0 !important;
    }

    .article-author {
        margin: 40px auto 20px !important;
        padding-top: 25px !important;
    }

    /* Spaces We Create Mobile */
    .spaces-we-create-section {
        padding: 6vh 4vw !important;
    }

    .spaces-header h2 {
        font-size: 1.8rem !important;
    }

    .spaces-header p {
        font-size: 0.9rem !important;
    }

    .spaces-container {
        gap: 40px !important;
    }

    .premium-space-row,
    .premium-space-row.reverse {
        flex-direction: column !important;
        width: 100% !important;
    }

    .premium-space-image {
        width: 100% !important;
    }

    .premium-space-image .image-inner {
        aspect-ratio: 16/10 !important;
        border-radius: 12px !important;
    }

    .premium-space-content {
        width: 100% !important;
        position: relative !important;
        margin-top: 15px !important;
        right: auto !important;
        left: auto !important;
    }

    .content-box {
        padding: 24px 20px !important;
        border-radius: 16px !important;
        transform: none !important;
        opacity: 1 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
    }

    .content-box h3 {
        font-size: 1.6rem !important;
        margin-bottom: 15px !important;
    }

    .content-box p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 20px !important;
    }

    .elegant-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .elegant-list span {
        font-size: 0.88rem !important;
    }

    /* How We Work Timeline Mobile */
    .timeline-section {
        padding: 6vh 4vw !important;
    }

    .timeline-header h2 {
        font-size: 1.8rem !important;
    }

    .timeline-header p {
        font-size: 0.9rem !important;
    }

    .timeline::after {
        left: 15px !important;
    }

    .timeline-item {
        width: 100% !important;
        padding-left: 45px !important;
        padding-right: 0 !important;
        margin-bottom: 35px !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0 !important;
        transform: none !important;
    }

    .timeline-item::after {
        left: 7px !important;
        right: auto !important;
        top: 8px !important;
    }

    .timeline-content {
        padding: 20px !important;
        border-radius: 14px !important;
    }

    .timeline-content h3 {
        font-size: 1.25rem !important;
        margin-bottom: 8px !important;
    }

    .timeline-content p {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    .timeline-content img {
        border-radius: 8px !important;
        margin-top: 12px !important;
    }

    /* Why Altin Mobile */
    .why-altin-section {
        padding: 6vh 4vw !important;
    }

    .why-altin-header h2 {
        font-size: 1.8rem !important;
    }

    .why-features {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .feature-item {
        padding: 16px 20px !important;
        border-radius: 12px !important;
    }

    .feature-item p {
        font-size: 0.9rem !important;
    }

    .why-stats {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px 10px !important;
        margin-top: 30px !important;
    }

    .stat-item {
        width: 100% !important;
        text-align: center !important;
    }

    .stat-item h3 {
        font-size: 1.8rem !important;
    }

    .stat-item p {
        font-size: 0.85rem !important;
    }

    /* Global Footer Mobile */
    .global-footer {
        padding-bottom: 120px !important;
        padding-top: 40px !important;
    }

    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 25px !important;
    }

    .footer-left {
        max-width: 100% !important;
    }

    .social-icons {
        justify-content: center !important;
    }

    .contact-details p {
        font-size: 0.9rem !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.97);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulseDot {
    0% {
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.15);
    }

    100% {
        box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    }
}

/* Floating Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: max(calc(5vw + 30px), calc(50vw - 800px + 30px));
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--brand-orange);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease, background-color 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 6px 20px rgba(230, 70, 36, 0.3);
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #cb3a1d;
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* --- PAGINATION STYLING --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 50px auto 30px;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 10px 18px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: transparent;
    color: var(--text-dark);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background-color: var(--brand-orange);
    color: #ffffff;
    border-color: var(--brand-orange);
}

.pagination-btn.active {
    background-color: var(--brand-orange);
    color: #ffffff;
    border-color: var(--brand-orange);
    font-weight: 600;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.admin-pagination-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: #FFFFFF;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-pagination-btn:hover:not(:disabled) {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
}

.admin-pagination-btn.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    font-weight: 600;
}

.admin-pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* --- BLOG FILTER & SEARCH STYLING --- */
.blog-filter-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-bottom: 50px;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.blog-search-box {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.blog-search-box input {
    width: 100%;
    padding: 14px 48px 14px 22px;
    border-radius: 40px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #ffffff;
    font-size: 0.95rem;
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.blog-search-box input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 6px 25px rgba(230, 70, 36, 0.15);
}

.blog-search-box .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
    pointer-events: none;
    font-size: 1.1rem;
}

.category-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.pill-btn {
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background-color: transparent;
    color: #555555;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pill-btn:hover {
    border-color: var(--brand-orange);
    color: var(--brand-orange);
}

.pill-btn.active {
    background-color: var(--brand-orange);
    color: #ffffff;
    border-color: var(--brand-orange);
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(230, 70, 36, 0.3);
}

/* --- PORTFOLIO LIGHTBOX GALLERY STYLING --- */
.portfolio-lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #050505;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.portfolio-lightbox-overlay.active {
    display: flex !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Hide Custom Cursor when Lightbox Gallery is Open */
body.lightbox-open .custom-cursor {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

body.lightbox-open,
body.lightbox-open * {
    cursor: auto;
}

body.lightbox-open button,
body.lightbox-open a,
body.lightbox-open .lightbox-thumb,
body.lightbox-open .lightbox-close,
body.lightbox-open .lightbox-nav {
    cursor: pointer !important;
}

.lightbox-container {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    position: relative;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s ease;
    z-index: 30;
}

.lightbox-close:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: scale(1.1);
}

.lightbox-main-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}

.lightbox-main-view img {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.3s ease;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 25;
}

.lightbox-nav:hover {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    transform: translateY(-50%) scale(1.15);
}

.lightbox-nav.prev-btn {
    left: 25px;
}

.lightbox-nav.next-btn {
    right: 25px;
}

.lightbox-bottom-bar {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 20;
    max-width: 90vw;
}

.lightbox-counter {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.lightbox-thumbnails {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
    padding: 2px 4px;
}

.lightbox-thumb {
    width: 60px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.45;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}
    border: 2px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.lightbox-thumb:hover,
.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--brand-orange);
    transform: translateY(-2px);
}

/* --- PORTFOLIO IMAGE HOVER OVERLAY --- */
.portfolio-item,
.portfolio-img-wrapper {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
}

.portfolio-img-wrapper img,
.parallax-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease !important;
}

.gallery-count-tag {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    background: rgba(15, 15, 15, 0.88) !important;
    color: #FFFFFF !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    z-index: 10 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
}

.portfolio-hover-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(10, 10, 10, 0.75) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
    z-index: 500 !important;
    pointer-events: none !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.hover-gallery-badge {
    background: var(--brand-orange) !important;
    color: #FFFFFF !important;
    padding: 12px 24px !important;
    border-radius: 30px !important;
    font-size: 0.88rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    transform: translateY(15px) scale(0.95) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-align: center !important;
    max-width: 90% !important;
    line-height: 1.35 !important;
    display: inline-block !important;
    z-index: 501 !important;
}

.portfolio-item:hover .portfolio-hover-overlay,
.portfolio-img-wrapper:hover .portfolio-hover-overlay,
.portfolio-item:hover .portfolio-img-wrapper .portfolio-hover-overlay {
    opacity: 1 !important;
    visibility: visible !important;
}

.portfolio-item:hover .hover-gallery-badge,
.portfolio-img-wrapper:hover .hover-gallery-badge,
.portfolio-item:hover .portfolio-img-wrapper .hover-gallery-badge {
    transform: translateY(0) scale(1) !important;
}

.portfolio-item:hover .gallery-count-tag,
.portfolio-img-wrapper:hover .gallery-count-tag {
    opacity: 0 !important;
}

.portfolio-item:hover img,
.portfolio-img-wrapper:hover img {
    transform: scale(1.05) !important;
    filter: brightness(0.85) !important;
}

@media (max-width: 900px) {
    .back-to-top {
        bottom: 100px !important;
        right: 18px !important;
        width: 44px !important;
        height: 44px !important;
        z-index: 1001 !important;
        box-shadow: 0 4px 15px rgba(230, 70, 36, 0.4) !important;
    }
}