/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Color Palette */
    --color-bg: #111112;
    --color-bg-rgb: 17, 17, 18;
    --color-primary: #850006;
    --color-primary-rgb: 133, 0, 6;
    --color-secondary: #FFFFFF;
    --color-secondary-rgb: 255, 255, 255;
    --color-muted: #C2C2C2;
    --color-muted-rgb: 194, 194, 194;
    --color-card-bg: rgba(255, 255, 255, 0.02);
    --color-border: rgba(255, 255, 255, 0.08);
    --color-grid-line: rgba(255, 255, 255, 0.03);

    /* Typography */
    --font-heading: 'Michroma', Georgia, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing & Sizes */
    --container-width: 1240px;
    --header-height: 90px;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;

    color-scheme: dark;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Support for standard properties */
@supports (scrollbar-color: auto) {
    html {
        scrollbar-color: rgba(255, 255, 255, 0.1) var(--color-bg);
        scrollbar-width: thin;
    }
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GRID LINES
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

/* Backdrop animated Grid lines */
.grid-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.grid-line {
    position: absolute;
    background-color: var(--color-grid-line);
}

.line-v1 {
    left: 20%;
    width: 1px;
    height: 100%;
}

.line-v2 {
    left: 40%;
    width: 1px;
    height: 100%;
}

.line-v3 {
    left: 60%;
    width: 1px;
    height: 100%;
}

.line-v4 {
    left: 80%;
    width: 1px;
    height: 100%;
}

/* ==========================================================================
   BUTTONS & TYPOGRAPHY UTILITIES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 14px 28px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: 1px solid var(--color-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    transform: translateY(101%);
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-primary span,
.btn-primary svg {
    position: relative;
    z-index: 2;
}

.btn-primary:hover {
    color: var(--color-bg);
}

.btn-primary:hover::before {
    transform: translateY(0);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-secondary);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary);
    transform: translateY(101%);
    transition: var(--transition-smooth);
    z-index: 1;
}

.btn-outline span,
.btn-outline svg {
    position: relative;
    z-index: 2;
}

.btn-outline:hover {
    color: var(--color-bg);
    border-color: var(--color-secondary);
}

.btn-outline:hover::before {
    transform: translateY(0);
}

.section-divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    margin-bottom: 50px;
}

.section-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-muted);
}

.section-subtitle {
    color: var(--color-primary);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 40px;
}

.text-center {
    text-align: center;
}

/* ==========================================================================
   CUSTOM CURSOR FOLLOWER
   ========================================================================== */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

.cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.cursor-circle {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), height 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.cursor-text {
    position: absolute;
    transform: translate(-50%, -50%);
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--color-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Cursor interaction classes */
body.cursor-hovering .cursor-circle {
    width: 60px;
    height: 60px;
    border-color: var(--color-primary);
    background-color: rgba(203, 54, 15, 0.05);
}

body.cursor-play-mode .cursor-circle {
    width: 80px;
    height: 80px;
    border-color: var(--color-primary);
    background-color: rgba(203, 54, 15, 0.1);
}

body.cursor-play-mode .cursor-text {
    opacity: 1;
}

body.cursor-play-mode .cursor-dot {
    opacity: 0;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background-color: rgba(17, 17, 18, 0.75);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    height: 75px;
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    color: var(--color-primary);
    animation: rotateLogo 20s linear infinite;
}

.logo-img {
    height: 125px;
    width: auto;
    display: block;
    object-fit: contain;
}

@keyframes rotateLogo {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--color-muted);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--color-secondary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-fast);
}

/* Mobile Nav Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: var(--transition-smooth);
    opacity: 0;
}

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

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 25px 0;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-secondary);
    display: inline-block;
    transition: var(--transition-fast);
}

.mobile-link:hover {
    color: var(--color-primary);
    transform: translateY(-5px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.section-hero {
    padding-top: calc(var(--header-height) + 50px);
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
}

.hero-top-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.hero-tag {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.hero-year {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -0.01em;
    margin-bottom: 40px;
}

.hero-title .highlight {
    color: var(--color-primary);
    position: relative;
}

.hero-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 60px;
}

.hero-desc {
    max-width: 450px;
    font-size: 1.1rem;
    color: var(--color-muted);
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-rating {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hero-rating .stars {
    color: var(--color-primary);
}

.hero-rating p {
    font-size: 0.85rem;
    font-weight: 700;
}

.rating-label {
    font-weight: 400;
    color: var(--color-muted);
    margin-left: 5px;
}

/* Video Showcase Container */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--color-border);
    overflow: hidden;
    cursor: none;
}

.video-overlay-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    align-items: center;
    opacity: 1;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-video-wrapper:hover .video-overlay-images {
    opacity: 0;
}

.overlay-img {
    width: 220px;
    height: 320px;
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: var(--transition-smooth);
}

.img-left {
    transform: rotate(-6deg) translateY(20px);
}

.img-right {
    transform: rotate(6deg) translateY(-20px);
}

.hero-video-wrapper:hover .img-left {
    transform: scale(0.9) translate(-40px, -20px) rotate(-12deg);
}

.hero-video-wrapper:hover .img-right {
    transform: scale(0.9) translate(40px, 20px) rotate(12deg);
}

.video-container {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
    transform: scale(1.05);
    transition: var(--transition-smooth);
}

.hero-video-wrapper:hover .video-container {
    transform: scale(1);
}

.bg-loop-video {
    width: 100%;
    height: 100%;
    border: none;
    filter: brightness(0.7);
    pointer-events: none;
}

.play-button-central {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    pointer-events: none;
}

.circle-play-btn {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--color-primary);
    border: none;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(203, 54, 15, 0.4);
    transform: scale(0.9);
    transition: var(--transition-smooth);
    opacity: 0.9;
}

.hero-video-wrapper:hover .circle-play-btn {
    transform: scale(1);
    opacity: 1;
}

/* ==========================================================================
   CLIENT MARQUEE
   ========================================================================== */
.section-marquee {
    padding: 40px 0;
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
}

.marquee-wrapper {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    animation: marqueeAnimation 25s linear infinite;
    gap: 60px;
    padding-right: 60px;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: rgba(255, 255, 255, 0.15);
    text-transform: capitalize;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 30px;
}

.marquee-item::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: inline-block;
}

@keyframes marqueeAnimation {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.section-about {
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: flex-start;
}

/* New split layout: photo left, text right */
.about-grid-split {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    align-items: flex-start;
}

.about-photo-col {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.about-photo-col .profile-photo-wrapper {
    border-bottom: 1px solid var(--color-border);
}

.about-photo-col .profile-card-header {
    padding: 24px 32px;
    border-bottom: none;
    margin-bottom: 0;
}

.about-photo-col:hover .profile-photo {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.about-text-col {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 10px;
}

.about-text-col .section-title {
    font-size: 3rem;
    line-height: 1.05;
    margin-bottom: 0;
}

.about-text-col .about-texts {
    gap: 24px;
}

.about-profile-box {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 0;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

/* Profile Photo */
.profile-photo-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    filter: grayscale(20%);
}

.about-profile-box:hover .profile-photo {
    transform: scale(1.04);
    filter: grayscale(0%);
}

.profile-photo-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    border: 2px dashed var(--color-border);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
    text-align: center;
}

.about-profile-box .profile-card-header,
.about-profile-box .about-texts {
    padding: 30px 40px;
}

.about-profile-box .profile-card-header {
    padding-bottom: 20px;
    margin-bottom: 0;
}

.about-profile-box .about-texts {
    padding-top: 0;
}

.profile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.profile-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.profile-socials {
    display: flex;
    gap: 15px;
}

.profile-socials a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-muted);
}

.profile-socials a:hover {
    color: var(--color-secondary);
    border-color: var(--color-secondary);
    background-color: rgba(255, 255, 255, 0.05);
}

.about-texts {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-main-text {
    font-size: 1.35rem;
    line-height: 1.5;
    font-weight: 300;
}

.text-highlight {
    font-weight: 600;
    border-bottom: 1px solid var(--color-primary);
}

.accent-text {
    color: var(--color-primary);
    font-weight: 600;
}

.about-sub-text {
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* ==========================================================================
   CASE STUDIES / WORKS
   ========================================================================== */
.section-works {
    padding: 100px 0;
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.work-item {
    position: relative;
}

.work-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition-smooth);
    position: relative;
    cursor: pointer;
}

/* Corner brackets styles */
.corner {
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--color-primary);
    border-style: solid;
    transition: var(--transition-smooth);
    opacity: 0.4;
}

.c1 {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.c2 {
    top: -1px;
    right: -1px;
    border-width: 1px 1px 0 0;
}

.c3 {
    bottom: -1px;
    left: -1px;
    border-width: 0 0 1px 1px;
}

.c4 {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.work-card:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.2);
}

.work-card:hover .corner {
    opacity: 1;
    width: 18px;
    height: 18px;
}

.work-img-container {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

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

.work-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.work-video-portrait {
    aspect-ratio: 9 / 16;
}

.work-video-facade {
    cursor: pointer;
    position: relative;
}

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

.work-video-facade:hover img {
    transform: scale(1.08);
}

.facade-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    box-shadow: 0 8px 24px rgba(203, 54, 15, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.work-video-facade:hover .facade-play-btn {
    transform: translate(-50%, -50%) scale(1.12);
    box-shadow: 0 12px 32px rgba(203, 54, 15, 0.7);
}

.work-card:hover .work-img-container img {
    transform: scale(1.08);
}

.work-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.work-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

.work-project-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 400;
}

.works-action {
    display: flex;
    justify-content: center;
}

/* ==========================================================================
   SERVICES ACCORDION
   ========================================================================== */
.section-services {
    padding: 100px 0;
}

.services-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.item-header {
    display: flex;
    align-items: center;
    padding: 35px 0;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.step-num {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 700;
    width: 60px;
}

.item-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 400;
    flex-grow: 1;
    transition: var(--transition-smooth);
}

.item-plus {
    position: relative;
    width: 24px;
    height: 24px;
}

.item-plus::before,
.item-plus::after {
    content: '';
    position: absolute;
    background-color: var(--color-muted);
    transition: var(--transition-smooth);
}

.item-plus::before {
    top: 11px;
    left: 0;
    width: 100%;
    height: 2px;
}

.item-plus::after {
    top: 0;
    left: 11px;
    width: 2px;
    height: 100%;
}

/* Hover Header States */
.accordion-item:hover .item-title {
    color: var(--color-primary);
    padding-left: 20px;
}

/* Active Accordion Panel */
.accordion-item .item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .item-content {
    max-height: 800px;
}

.accordion-item.active .item-plus::after {
    transform: rotate(90deg);
    opacity: 0;
}

.accordion-item.active .item-plus::before {
    background-color: var(--color-primary);
}

.accordion-item.active .item-title {
    color: var(--color-primary);
}

.content-wrapper {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
    padding-bottom: 45px;
    padding-top: 10px;
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.services-tags a {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border: 1px solid var(--color-border);
    background-color: rgba(255, 255, 255, 0.01);
}

.services-tags a:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.service-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--color-muted);
}

.image-preview-area {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.portrait-video-preview-area,
.video-preview-area {
    display: flex;
    gap: 20px;
    align-items: center;
    overflow-x: auto;
    max-width: 100%;
    padding: 8px 4px 14px 4px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) transparent;
}

.portrait-video-preview-area::-webkit-scrollbar,
.video-preview-area::-webkit-scrollbar {
    height: 4px;
}

.portrait-video-preview-area::-webkit-scrollbar-track,
.video-preview-area::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.portrait-video-preview-area::-webkit-scrollbar-thumb,
.video-preview-area::-webkit-scrollbar-thumb {
    background: var(--color-primary);
    border-radius: 4px;
}

.portrait-video-card {
    position: relative;
    width: 155px;
    aspect-ratio: 9 / 16;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border);
    background-color: #0d0d0d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.portrait-video-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--color-primary);
    box-shadow: 0 16px 36px rgba(230, 0, 73, 0.3);
}

.portrait-thumb-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.portrait-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.portrait-video-card:hover .portrait-thumb-wrapper img {
    transform: scale(1.08);
}

.portrait-play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.portrait-video-card:hover .portrait-play-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

.play-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(230, 0, 73, 0.9);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(230, 0, 73, 0.5);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease;
}

.portrait-video-card:hover .play-icon-circle,
.video-preview-card:hover .play-icon-circle {
    transform: scale(1.18);
    background: #ff1a53;
}

.video-preview-card {
    position: relative;
    width: 240px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--color-border);
    background-color: #0d0d0d;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    scroll-snap-align: start;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.video-preview-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--color-primary);
    box-shadow: 0 16px 36px rgba(230, 0, 73, 0.3);
}

.video-thumb-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.video-preview-card:hover .video-thumb-wrapper img {
    transform: scale(1.08);
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.65) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.video-preview-card:hover .video-play-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.4) 100%);
}

.preview-img-box {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.preview-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.accordion-item.active .preview-img-box img {
    transform: scale(1.05);
}

/* ==========================================================================
   TESTIMONIALS SLIDER
   ========================================================================== */
.section-testimonials {
    padding: 100px 0;
}

.testimonials-header-grid {
    margin-bottom: 40px;
}

.slider-outer-container {
    position: relative;
    margin-top: 40px;
}

.slider-window {
    overflow: hidden;
    width: 100%;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 30px;
}

.slide {
    flex-shrink: 0;
    width: calc(33.333% - 20px);
}

.testimonial-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    backdrop-filter: blur(8px);
}

.avatar-holder {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--color-primary);
}

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

.rating-circles {
    display: flex;
    gap: 6px;
    margin-bottom: 20px;
}

.circle-star {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: inline-block;
}

.testimonial-quote {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--color-muted);
    line-height: 1.5;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-style: normal;
    margin-top: auto;
}

.author-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
}

.author-position {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-primary);
}

.slider-arrows {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 45px;
}

.slider-arrow {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: none;
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-arrow:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background-color: rgba(203, 54, 15, 0.05);
}

/* ==========================================================================
   ROLLING BACKDROP TICKER
   ========================================================================== */
.section-rolling-ticker {
    padding: 80px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.01);
}

.ticker-track {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-content {
    display: inline-flex;
    animation: tickerAnimation 30s linear infinite;
    padding-right: 50px;
}

.ticker-content span {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 400;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    text-transform: uppercase;
}

@keyframes tickerAnimation {
    0% {
        transform: translate3d(0, 0, 0);
    }

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

/* ==========================================================================
   AWARDS SECTION
   ========================================================================== */
.section-awards {
    padding: 100px 0;
}

.awards-grid {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 60px;
}

.awards-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.award-timeline-card {
    display: flex;
    gap: 40px;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 30px 40px;
    position: relative;
    align-items: center;
}

.award-year-tag {
    font-family: var(--font-heading);
    font-size: 4rem;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-primary);
    font-weight: 700;
    min-width: 110px;
}

.award-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 5px;
}

.award-desc {
    font-size: 0.95rem;
    color: var(--color-muted);
}

/* ==========================================================================
   PRICING PLANS
   ========================================================================== */
.section-pricing {
    padding: 100px 0;
}

.billing-switcher-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    margin-bottom: 60px;
}

.billing-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.billing-toggle-btn {
    width: 50px;
    height: 26px;
    border-radius: 13px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--color-border);
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.toggle-indicator {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    transition: var(--transition-smooth);
}

.billing-toggle-btn.active {
    background-color: var(--color-primary);
}

.billing-toggle-btn.active .toggle-indicator {
    left: 27px;
    background-color: var(--color-bg);
}

.discount-badge {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 10px;
    margin-left: 5px;
    vertical-align: middle;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-8px);
}

.pricing-card.featured {
    border-color: var(--color-primary);
    background-color: rgba(203, 54, 15, 0.02);
}

.pricing-card.featured:hover {
    background-color: rgba(203, 54, 15, 0.04);
}

.badge-featured {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 6px 14px;
}

.plan-name {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
    margin-bottom: 25px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.plan-price .currency {
    font-size: 2rem;
    font-weight: 400;
    font-family: var(--font-heading);
}

.plan-price .price-val {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
}

.plan-price .period {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-left: 5px;
}

.plan-tagline {
    font-size: 0.95rem;
    color: var(--color-muted);
    margin-bottom: 35px;
    min-height: 48px;
}

.plan-cta-btn {
    width: 100%;
}

.pricing-divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-border);
    margin: 40px 0;
}

.features-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.features-list li {
    font-size: 0.9rem;
    color: var(--color-muted);
    position: relative;
    padding-left: 20px;
}

.features-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--color-primary);
}

/* ==========================================================================
   QUOTE / CONTACT FORM
   ========================================================================== */
.section-contact {
    padding: 100px 0;
}

.contact-box {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-card-bg);
    border: 1px solid var(--color-border);
    padding: 60px;
    backdrop-filter: blur(12px);
}

.contact-header {
    margin-bottom: 45px;
}

.contact-desc {
    font-size: 1.05rem;
    color: var(--color-muted);
    margin-top: 10px;
}

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

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

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

.col-6 {
    width: 50%;
}

.col-12 {
    width: 100%;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 16px 20px;
    color: var(--color-secondary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    outline: none;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.04);
}

/* User interactive validation styles */
.form-group input:user-invalid,
.form-group select:user-invalid {
    border-color: var(--color-primary);
    background-color: rgba(203, 54, 15, 0.02);
}

.form-group select {
    appearance: none;
    cursor: pointer;
}

.error-msg {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 0.7rem;
    color: var(--color-primary);
    display: none;
}

.form-group input:user-invalid~.error-msg,
.form-group select:user-invalid~.error-msg {
    display: block;
}

.form-submit-row {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.form-submit-btn {
    padding: 18px 45px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    border-top: 1px solid var(--color-border);
    background-color: rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.footer-top {
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 60px;
    padding-top: 100px;
    padding-bottom: 100px;
    align-items: center;
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-cta-title span:nth-child(even) {
    color: var(--color-primary);
}

.footer-cta-desc {
    font-size: 1.15rem;
    color: var(--color-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

.footer-graphics {
    border: 1px solid var(--color-border);
    padding: 15px;
    background-color: var(--color-card-bg);
}

.footer-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-muted);
}

.bottom-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.color-primary {
    color: var(--color-primary);
}

.footer-social-row {
    display: flex;
    gap: 24px;
}

.footer-social-row a:hover {
    color: var(--color-primary);
}

/* ==========================================================================
   SCROLL TO TOP & VIDEO DIALOG
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
    z-index: 98;
    opacity: 0;
    pointer-events: none;
    transform: translateY(15px);
    transition: var(--transition-smooth);
}

.scroll-top-btn.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background-color: var(--color-secondary);
    color: var(--color-bg);
}

/* Video Dialog Modal overlay */
.video-dialog {
    background: none;
    border: none;
    padding: 0;
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.video-dialog::backdrop {
    background-color: rgba(10, 10, 10, 0.65);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.video-dialog[open] {
    display: flex;
}

.dialog-content {
    width: 90%;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    border-radius: 20px;
    background: rgba(18, 18, 18, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: max-width 0.3s ease;
}

.dialog-content.portrait-modal {
    max-width: 420px;
}

.close-dialog {
    align-self: flex-end;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-secondary);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 20px;
    transition: var(--transition-fast);
}

.close-dialog:hover {
    color: #ffffff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.dialog-video-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
}

.dialog-content.portrait-modal .dialog-video-wrapper {
    aspect-ratio: 9 / 16;
    height: 75vh;
    max-height: 700px;
}

.dialog-video-wrapper video,
.dialog-video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
    border: none;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE LAYOUTS & MEDIA BREAKPOINTS
   ========================================================================== */

/* Laptop Grid Scaling */
@media screen and (max-width: 1200px) {
    :root {
        --header-height: 80px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 3rem;
    }
}

/* Tablet Layout collapsing */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    /* Toggle active state hamburger icons */
    .menu-toggle.active .bar-1 {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active .bar-2 {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-bottom-info {
        flex-direction: column;
        gap: 30px;
        align-items: stretch;
    }

    .hero-cta-group {
        justify-content: space-between;
    }

    .about-grid,
    .awards-grid,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slide {
        width: calc(50% - 15px);
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card.featured {
        transform: none !important;
    }
}

/* Mobile Screen overrides */
@media screen and (max-width: 767px) {
    .container {
        padding: 0 20px;
    }

    .header-btn {
        display: none;
    }

    .hero-title {
        font-size: 2rem;
        word-wrap: break-word;
    }

    .overlay-img {
        width: 120px;
        height: 180px;
    }

    .item-title {
        font-size: 1.8rem;
    }

    .slide {
        width: 100%;
    }

    .ticker-content span {
        font-size: 3.5rem;
    }

    .award-timeline-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .award-year-tag {
        font-size: 3rem;
    }

    .contact-box {
        padding: 40px 20px;
    }

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

    .col-6 {
        width: 100%;
    }

    .footer-cta-title {
        font-size: 3.2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .portrait-video-preview-area,
    .video-preview-area {
        padding-bottom: 16px;
        gap: 16px;
    }

    .portrait-video-card {
        width: 140px;
    }

    .video-preview-card {
        width: 210px;
    }
}