
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #000000;
    --bg-card: #0a0a0a;
    --bg-card-hover: #141414;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.55);
    --text-muted: rgba(255, 255, 255, 0.30);
    --accent: #a8253a;
    --accent-light: #c43050;
    --accent-glow: rgba(168, 37, 58, 0.35);
    --accent-dark: #3e1120;
    --cyan: #a8253a;
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(255, 255, 255, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --container: 1280px;
    --gutter: clamp(20px, 5vw, 80px);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font: inherit;
    color: inherit;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section {
    padding: 120px 0;
    position: relative;
}


#preloader {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s var(--ease-out-expo), visibility 0.8s;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin: -40px 0 0 -40px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: preloaderSpin 1s linear infinite;
}

@keyframes preloaderSpin {
    to {
        transform: rotate(360deg);
    }
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 11px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.preloader-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preloader-logo-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.preloader-logo {
    width: 36px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.7;
    }

    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.1s linear;
}


#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

#main-header.scrolled {
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 42px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 6px;
    transition: all 0.3s;
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
    color: var(--accent);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 10px 24px;
    background: var(--accent);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: 8px;
    transition: all 0.3s var(--ease-out-expo);
}

.nav-cta:hover {
    background: var(--accent-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 25px var(--accent-glow);
}


.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--text-primary);
    transition: all 0.3s;
}


.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.97);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s, visibility 0.5s;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    list-style: none;
    text-align: center;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    display: block;
    padding: 14px 0;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.mobile-nav-link:hover {
    color: var(--accent);
}


.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-image {
    position: absolute;
    inset: -40px;
    background: url('assets/hero-bg.png') center/cover no-repeat;
    filter: brightness(0.35) saturate(0.8);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.4) 0%,
            rgba(0, 0, 0, 0.7) 60%,
            var(--bg) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--gutter);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--accent);
    padding: 8px 20px;
    border: 1px solid var(--accent-glow);
    border-radius: 50px;
    background: rgba(168, 37, 58, 0.06);
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

.hero-title-line {
    display: block;
}

.title-outline {
    color: rgba(255, 255, 255, 0.15);
    display: block;
    line-height: 1.2;
    letter-spacing: 0.06em;
}

.text-accent {
    color: var(--accent);
}

.hero-subtitle {
    font-size: clamp(15px, 1.6vw, 18px);
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.4s var(--ease-out-expo);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px var(--accent-glow);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    border: 1px solid var(--border-hover);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
    border-radius: 10px;
    transition: all 0.3s;
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(255, 255, 255, 0.03);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    transition: gap 0.3s;
}

.btn-text:hover {
    gap: 14px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollAnim 2s ease-in-out infinite;
}

@keyframes scrollAnim {
    0% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.3;
        transform: scaleY(0.5);
    }

    100% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.hero-scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-muted);
}


.marquee-section {
    padding: 40px 0;
    overflow: hidden;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-text {
    font-family: var(--font-heading);
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    letter-spacing: 0.04em;
    flex-shrink: 0;
    user-select: none;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


.section-header {
    text-align: center;
    margin-bottom: 72px;
}

.section-label {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 16px;
    padding: 6px 16px;
    border: none;
    border-radius: 4px;
    background: rgba(168, 37, 58, 0.08);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.section-subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.7;
}


.about-section {
    padding-top: 100px;
    padding-bottom: 100px;
    background: var(--bg-card);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr; 
    gap: 80px;
    align-items: center;
}

.about-content .section-label {
    margin-bottom: 12px;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 16px;
}

.about-image-slider {
    width: 100%;
    aspect-ratio: 16/9; 
    overflow: hidden;
    position: relative;
    border-radius: 16px;
    background: transparent; 
}

.about-slider-track {
    display: flex;
    width: 1600%; 
    height: 100%;
    animation: aboutSliderAuto 45s linear infinite; 
}

.about-slider-track img {
    width: calc(100% / 16);
    height: 100%; 
    object-fit: cover; 
    flex-shrink: 0;
    border-radius: 0;
}

@keyframes aboutSliderAuto {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.about-image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
}

.about-badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--accent);
}

.about-badge-text {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}


.services-section {
    padding-bottom: 40px;
}

.service-block {
    padding: 80px 0;
    border-bottom: 1px solid var(--border);
}

.service-block:last-child {
    border-bottom: none;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-block--reverse .service-row {
    direction: rtl;
}

.service-block--reverse .service-row>* {
    direction: ltr;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 14px;
}

.service-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 18px;
}

.service-divider {
    width: 50px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 22px;
    border-radius: 2px;
}

.service-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.service-desc-light {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--accent);
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}

.service-link:hover {
    background: rgba(168, 37, 58, 0.15);
    transform: translateX(4px);
}

.service-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.8s var(--ease-out-expo);
}

.service-block:hover .service-image img {
    transform: scale(1.04);
}


.portfolio-section {
    background: var(--bg-card);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.portfolio-card {
    display: block;
    background: var(--bg);
    border-radius: 14px;
    overflow: hidden;
    border: none;
    transition: all 0.5s var(--ease-out-expo);
    cursor: pointer;
}

.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.portfolio-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.portfolio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.portfolio-card:hover .portfolio-card-img img {
    transform: scale(1.08);
}

.portfolio-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.portfolio-card:hover .portfolio-card-overlay {
    opacity: 1;
}

.portfolio-view-btn {
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-light);
    padding: 10px 22px;
    border: 1px solid var(--accent);
    border-radius: 8px;
    background: rgba(168, 37, 58, 0.12);
    backdrop-filter: blur(8px);
}

.portfolio-card-info {
    padding: 22px;
}

.portfolio-card-cat {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 8px;
}

.portfolio-card-info h3 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.portfolio-card-info p {
    font-size: 13px;
    color: var(--text-muted);
}


.stats-section {
    background: var(--bg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 48px 20px;
    border: none;
    border-radius: 14px;
    background: var(--bg-card);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.stat-value {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    color: var(--text-primary);
    display: inline;
    transition: color 0.4s;
}

.stat-card:hover .stat-value {
    color: var(--accent);
}

.stat-plus {
    font-family: var(--font-heading);
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: 700;
    color: var(--accent);
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: clamp(18px, 2vw, 26px);
    font-weight: 600;
    color: var(--accent);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 10px;
}


.footer-section {
    padding-top: 100px;
    padding-bottom: 0;
    background: #000;
    border-top: 1px solid var(--border);
}

.footer-globe-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--border);
}

.footer-cta-text h2 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.footer-cta-text>p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 420px;
}

.footer-contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-contact-item:hover {
    color: var(--text-primary);
}

.footer-contact-icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}




.globe-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    max-width: 500px;
    margin-left: auto;
}

.globe-glow {
    position: absolute;
    inset: -20%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 37, 58, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.globe-canvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

.globe-canvas:active {
    cursor: grabbing;
}


.footer-bottom {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding: 60px 0;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo-img {
    width: 42px;
    height: auto;
}

.footer-bottom-left p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.footer-col a,
.footer-col span {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--accent);
}


.dev-credit {
    text-align: center;
    padding: 24px 0 20px;
    border-top: 1px solid var(--border);
    margin-top: 40px;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dev-credit strong {
    color: var(--text-secondary);
}

.dev-credit a {
    color: var(--text-secondary);
    transition: color 0.3s;
    font-size: 11px;
    font-weight: 600;
}

.dev-credit a:hover {
    color: var(--accent);
}


[data-reveal="slide-up"] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

[data-reveal="slide-up"].revealed {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal="fade-scale"] {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

[data-reveal="fade-scale"].revealed {
    opacity: 1;
    transform: scale(1) translateY(0);
}


@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-content .section-title {
        text-align: center;
    }

    .about-content {
        text-align: center;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .service-block--reverse .service-row {
        direction: ltr;
    }

    .service-image {
        order: -1;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-globe-row {
        grid-template-columns: 1fr;
    }

    .globe-container {
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-bottom {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: clamp(32px, 9vw, 48px);
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-badge {
        font-size: 10px;
        padding: 6px 14px;
    }

    .marquee-text {
        font-size: 36px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .stat-card {
        padding: 32px 16px;
    }

    .stat-value {
        font-size: 32px;
    }

    .footer-bottom {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .service-image img {
        height: 260px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        justify-content: center;
    }

    
    [data-reveal="clip-up"] {
        clip-path: none !important;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
    }

    [data-reveal="clip-up"].revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: 6px 12px;
        font-size: 10px;
        white-space: nowrap;
        letter-spacing: 0.05em;
    }

    .footer-contact-details {
        gap: 16px;
    }

    .footer-contact-item {
        font-size: 12px;
    }

    .globe-container {
        max-width: 100%;
        height: 300px;
    }
}





.img-tilt-wrapper {
    perspective: 800px;
    overflow: hidden;
    border-radius: 16px;
}

.img-tilt-wrapper img {
    transition: transform 0.5s var(--ease-out-expo);
    will-change: transform;
}


@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes floatSlow {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(1deg);
    }

    66% {
        transform: translateY(4px) rotate(-0.5deg);
    }
}


@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.text-shimmer {
    background: linear-gradient(90deg,
            var(--text-primary) 0%,
            var(--accent) 25%,
            var(--text-primary) 50%,
            var(--accent) 75%,
            var(--text-primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 4s linear infinite;
}


[data-reveal="stagger"]>* {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

[data-reveal="stagger"].revealed>*:nth-child(1) {
    transition-delay: 0.05s;
}

[data-reveal="stagger"].revealed>*:nth-child(2) {
    transition-delay: 0.1s;
}

[data-reveal="stagger"].revealed>*:nth-child(3) {
    transition-delay: 0.15s;
}

[data-reveal="stagger"].revealed>*:nth-child(4) {
    transition-delay: 0.2s;
}

[data-reveal="stagger"].revealed>*:nth-child(5) {
    transition-delay: 0.25s;
}

[data-reveal="stagger"].revealed>*:nth-child(6) {
    transition-delay: 0.3s;
}

[data-reveal="stagger"].revealed>* {
    opacity: 1;
    transform: translateY(0);
}


.parallax-img {
    transition: transform 0.15s linear;
    will-change: transform;
}


[data-reveal="slide-left"] {
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

[data-reveal="slide-left"].revealed {
    opacity: 1;
    transform: translateX(0);
}


[data-reveal="slide-right"] {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

[data-reveal="slide-right"].revealed {
    opacity: 1;
    transform: translateX(0);
}


[data-reveal="zoom"] {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.8s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}

[data-reveal="zoom"].revealed {
    opacity: 1;
    transform: scale(1);
}


[data-reveal="clip-up"] {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 1.2s var(--ease-out-expo);
}

[data-reveal="clip-up"].revealed {
    clip-path: inset(0 0 0 0);
}


.service-image {
    transition: transform 0.5s var(--ease-out-expo);
}

.service-block:hover .service-image {
    transform: translateY(-8px);
}


.portfolio-card {
    transition: all 0.5s var(--ease-out-expo), box-shadow 0.5s;
}

.portfolio-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}


.stat-card:hover {
    box-shadow: 0 0 40px rgba(168, 37, 58, 0.08);
}


.btn-magnetic {
    transition: transform 0.3s var(--ease-out-expo);
}


.hero-title-line {
    overflow: hidden;
}


.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease-out-expo), left 0.3s var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
    left: 20%;
}




.detail-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    padding: 80px 0 60px;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.5) 0%,
            rgba(0, 0, 0, 0.85) 70%,
            var(--bg) 100%);
}

.detail-hero-content {
    position: relative;
    z-index: 2;
}

.detail-back {
    display: inline-block;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    transition: color 0.3s;
}

.detail-back:hover {
    color: var(--accent);
}

.detail-hero-content .section-label {
    margin-bottom: 12px;
}

.detail-hero-content h1 {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 12px;
}

.detail-hero-content>p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
}

.detail-content {
    padding-top: 60px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
    align-items: start;
}

.detail-main h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
}

.detail-main h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
}

.detail-main p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 12px;
}

.detail-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 16px;
}

.detail-feature {
    display: flex;
    gap: 14px;
    padding: 20px;
    border: none;
    border-radius: 12px;
    background: var(--bg-card);
    transition: background 0.3s;
}

.detail-feature:hover {
    background: var(--bg-card-hover);
}

.detail-feature-icon {
    font-size: 24px;
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}

.detail-feature strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.detail-feature p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.detail-stats-row {
    display: flex;
    gap: 20px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.detail-stat {
    flex: 1;
    min-width: 120px;
    text-align: center;
    padding: 24px 16px;
    border: none;
    border-radius: 12px;
    background: var(--bg-card);
}

.detail-stat span {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 800;
    color: var(--accent);
}

.detail-stat small {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    display: block;
}


.detail-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-sidebar-card {
    padding: 28px;
    border: none;
    border-radius: 14px;
    background: var(--bg-card);
}

.detail-sidebar-card h4 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.detail-sidebar-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}

.detail-sidebar-card .btn-primary {
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 12px 20px;
}

.detail-sidebar-link {
    display: block;
    font-size: 14px;
    color: var(--text-secondary);
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.3s, padding-left 0.3s;
}

.detail-sidebar-link:last-child {
    border-bottom: none;
}

.detail-sidebar-link:hover {
    color: var(--accent);
    padding-left: 8px;
}

@media (max-width: 1024px) {
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .detail-features {
        grid-template-columns: 1fr;
    }
}
/* ==================== PROJECT DETAIL LIST ==================== */
.project-detail-list {
    margin-bottom: 30px;
    margin-left: 20px;
    list-style-type: disc;
    line-height: 1.8;
    color: var(--text-secondary);
}
