/* ===========================================
   VIDEOHUT / STORYSTREAM STUDIOS - STYLE.CSS
   Exact Replica
   =========================================== */

:root {
    --color-bg: #030303;
    --color-text: #ffffff;
    --color-text-muted: #a0a0a0;
    --color-primary: #ff5722;
    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;
    --nav-height: 90px;
}

/* ---- Reset & Base ---- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    overflow-x: hidden;
    cursor: default;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* ===================================
   HERO SECTION
   =================================== */
.hero-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Background */
.background-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at center, #1a0505 0%, #030303 60%);
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, #030303 98%);
}

/* Header Elements */
.header-left,
.header-right {
    position: absolute;
    top: 40px;
    z-index: 100;
    opacity: 0;
}

.header-left {
    left: 40px;
}

.header-right {
    right: 40px;
    text-align: right;
}

/* Menu Button */
.menu-btn {
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
}

.menu-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

/* Pixel Title */
.pixel-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    line-height: 0.85;
    background: linear-gradient(135deg, #e0e0e0, #808080);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    letter-spacing: -3px;
}

.pixel-subtitle {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 12px;
    letter-spacing: 1px;
}

/* ===================================
   SIDE MENU
   =================================== */
.side-menu {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    display: flex;
}

.side-menu-inner {
    position: relative;
    left: -100%;
    width: 450px;
    height: 100vh;
    background: #050505;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 100px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.close-menu-btn {
    position: absolute;
    top: 40px;
    right: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s;
}

.close-menu-btn:hover {
    transform: rotate(90deg);
}

.side-nav-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-nav-item {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    line-height: 1.1;
}

.side-nav-item:hover {
    color: white;
    transform: translateX(15px);
}

/* ===================================
   FLOWING CARDS (HERO)
   =================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.flowing-cards-perspective {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    perspective: 1200px;
    width: 100%;
}

.flowing-cards-rotation {
    transform: rotateX(0deg) rotateY(39deg);
    transform-style: preserve-3d;
}

.flowing-cards-track {
    display: flex;
    gap: 50px;
    animation: scroll-track 20s linear infinite;
}

.card-group {
    display: flex;
    gap: 50px;
    flex-shrink: 0;
}

.flowing-card {
    width: 25vw;
    aspect-ratio: 9 / 16;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
    transition: all 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.flowing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.7);
}

.flowing-card video,
.flowing-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

@keyframes scroll-track {
    from {
        transform: translateX(0);
    }

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

/* ===================================
   SHOWREEL SECTION
   =================================== */
.showreel-section {
    position: relative;
    width: 100%;
    height: 100vh;
    background: var(--color-bg);
    z-index: 20;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showreel-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showreel-text {
    font-family: var(--font-heading);
    font-size: 12vw;
    font-weight: 800;
    letter-spacing: -1vw;
    color: #e0e0e0;
    text-align: center;
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.video-wrapper {
    position: absolute;
    top: 20vh;
    left: 25%;
    width: 50vw;
    height: 35vh;
    border-radius: 20px;
    overflow: hidden;
    z-index: 1;
}

.video-inner {
    width: 100%;
    height: 100%;
}

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

/* ===================================
   BRANDS MARQUEE
   =================================== */
.brands-section {
    position: relative;
    width: 100%;
    background: var(--color-bg);
    z-index: 20;
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brands-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.brands-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 60px;
    color: var(--color-text-muted);
    letter-spacing: -0.5px;
}

.brands-marquee-wrapper {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.brands-marquee-track {
    display: flex;
    align-items: center;
    gap: 80px;
    animation: brands-scroll 25s linear infinite;
    width: max-content;
}

.brand-logo {
    flex-shrink: 0;
}

.brand-logo img {
    height: 50px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.brand-logo img:hover {
    opacity: 0.8;
}

@keyframes brands-scroll {
    from {
        transform: translateX(0);
    }

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

/* ===================================
   PORTFOLIO SECTION (HORIZONTAL)
   =================================== */
.portfolio-section {
    position: relative;
    width: 100%;
    background: var(--color-bg);
    z-index: 20;
    padding: 100px 0;
}

.portfolio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    margin-bottom: 60px;
}

.portfolio-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    max-width: 600px;
    line-height: 1.1;
    letter-spacing: -1px;
}

.portfolio-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: white;
    padding: 14px 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
}

.portfolio-btn:hover {
    background: white;
    color: var(--color-bg);
}

.portfolio-horizontal-wrapper {
    overflow: hidden;
}

.portfolio-track {
    display: flex;
    gap: 40px;
    padding-left: 50vw;
}

.portfolio-item {
    position: relative;
    width: 450px;
    height: 550px;
    border-radius: 30px;
    overflow: hidden;
    cursor: none;
    flex-shrink: 0;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.portfolio-info {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 2;
}

.portfolio-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.portfolio-sub {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ===================================
   CUSTOM CURSOR
   =================================== */
.custom-cursor,
.blog-cursor {
    position: fixed;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    z-index: 9999;
    transform: scale(0);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
}

.custom-cursor.active,
.blog-cursor.active {
    transform: scale(1);
    opacity: 1;
}

.cursor-text,
.blog-cursor-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-align: center;
    letter-spacing: 2px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    position: relative;
    width: 100%;
    background: var(--color-bg);
    z-index: 20;
    padding: 120px 0;
    overflow: hidden;
}

/* Grid Lines Background */
.grid-lines {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 60px;
    pointer-events: none;
}

.grid-lines .line {
    width: 1px;
    height: 100%;
    background: rgba(255, 255, 255, 0.04);
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.services-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -1px;
    position: sticky;
    top: 120px;
}

.services-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-card {
    position: relative;
    padding: 50px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.4s ease;
}

.service-card:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card:hover {
    padding-left: 20px;
}

.service-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    transition: color 0.3s;
}

.service-card:hover .service-name {
    color: var(--color-primary);
}

.service-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    max-width: 500px;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

.service-link:hover {
    color: white;
}

.arrow-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.service-link:hover .arrow-circle {
    background: white;
    color: var(--color-bg);
    border-color: white;
}

/* Hover Image Reveal */
.hover-reveal-img {
    position: fixed;
    width: 350px;
    height: 250px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    z-index: 100;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* ===================================
   INDUSTRIES SECTION
   =================================== */
.industries-section {
    position: relative;
    width: 100%;
    background: var(--color-bg);
    z-index: 20;
    padding: 120px 60px;
}

.industries-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.industries-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.industry-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #111;
    min-height: 350px;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.industry-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--bg-src);
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.industry-card:hover::before {
    opacity: 0.5;
}

.industry-card:hover {
    transform: translateY(-8px);
}

.card-wide {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.card-tall {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
}

.card-square:first-of-type {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.card-square:last-of-type {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.industry-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

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

.industry-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 400px;
}

/* ===================================
   ABOUT AGENCY SECTION
   =================================== */
.about-agency-section {
    position: relative;
    width: 100%;
    background: var(--color-bg);
    z-index: 20;
    padding: 140px 60px;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

.about-button {
    display: inline-flex;
    position: relative;
    padding: 16px 36px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.4s;
}

.button-bg {
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 50px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.about-button:hover .button-bg {
    transform: scaleX(1);
}

.button-text {
    position: relative;
    z-index: 1;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.4s;
}

.about-button:hover .button-text {
    color: var(--color-bg);
}

.about-subheadline {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
}

.text-dim {
    color: var(--color-text-muted);
}

.about-paragraph {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text-muted);
    margin-bottom: 60px;
}

/* About Stats */
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.stat-item {
    position: relative;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.stat-bg-number {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.06);
    line-height: 1;
    margin-bottom: 10px;
}

.plus {
    color: var(--color-primary);
    opacity: 0.4;
}

.stat-title {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    position: relative;
    width: 100%;
    z-index: 20;
    padding: 120px 60px;
    overflow: hidden;
}

.testimonials-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0808 50%, #0a0a0a 100%);
    z-index: 0;
}

.testimonials-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 87, 34, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.testimonials-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonials-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.testimonials-track-wrapper {
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    gap: 30px;
}

.testimonial-card {
    flex-shrink: 0;
    width: 550px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.04);
}

.test-quote {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    font-style: italic;
}

.test-author h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.test-author span {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

/* ===================================
   BLOGS SECTION
   =================================== */
.blogs-section {
    position: relative;
    width: 100%;
    background: var(--color-bg);
    z-index: 20;
    padding: 120px 60px;
}

.blogs-container {
    max-width: 1400px;
    margin: 0 auto;
}

.blogs-title {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 60px;
    letter-spacing: -1px;
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    border-radius: 24px;
    overflow: hidden;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: all 0.4s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
}

.blog-img-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.blog-content {
    padding: 30px;
}

.blog-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.blog-post-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

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

/* ===================================
   MARQUEE SECTION (INFINITE)
   =================================== */
.marquee-section {
    position: relative;
    width: 100%;
    background: var(--color-bg);
    z-index: 20;
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.marquee-container {
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
    align-items: center;
}

.marquee-group {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

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

.marquee-item span {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 800;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    color: transparent;
    white-space: nowrap;
    transition: color 0.3s;
    padding: 0 20px;
}

.marquee-item:hover span {
    color: white;
    -webkit-text-stroke: 0;
}

.marquee-separator {
    width: 20px;
    height: 20px;
    background: #ff0000;
    border-radius: 50%;
    margin: 0 40px;
    flex-shrink: 0;
    animation: dot-shrink 2s infinite ease-in-out;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

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

@keyframes dot-shrink {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(0.5);
    }
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
    .portfolio-title {
        font-size: 2.8rem;
    }

    .services-container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .services-title {
        position: static;
    }

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

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

    .card-wide {
        grid-column: 1 / 3;
    }

    .card-tall {
        grid-column: auto;
        grid-row: auto;
    }

    .card-square:last-of-type {
        grid-column: auto;
    }
}

@media (max-width: 768px) {
    .pixel-title {
        font-size: 3rem;
    }

    .header-left {
        left: 20px;
        top: 20px;
    }

    .header-right {
        right: 20px;
        top: 20px;
    }

    .side-menu-inner {
        width: 100%;
    }

    .side-nav-item {
        font-size: 2.5rem;
    }

    .flowing-card {
        width: 60vw;
    }

    .showreel-text {
        font-size: 18vw;
    }

    .video-wrapper {
        width: 80vw;
        left: 10%;
    }

    .portfolio-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 0 30px;
    }

    .portfolio-title {
        font-size: 2.2rem;
    }

    .portfolio-item {
        width: 300px;
        height: 400px;
    }

    .services-section,
    .industries-section,
    .about-agency-section,
    .testimonials-section,
    .blogs-section {
        padding: 80px 30px;
    }

    .services-title,
    .industries-title,
    .about-heading,
    .testimonials-title,
    .blogs-title {
        font-size: 2.2rem;
    }

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

    .card-wide {
        grid-column: auto;
    }

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

    .testimonial-card {
        width: 320px;
        padding: 30px;
    }

    .marquee-item span {
        font-size: 36px;
    }

    .about-subheadline {
        font-size: 1.5rem;
    }

    .stat-bg-number {
        font-size: 3.5rem;
    }
}

@media (max-width: 480px) {
    .pixel-title {
        font-size: 2rem;
    }

    .menu-btn {
        padding: 10px 20px;
        font-size: 0.7rem;
    }

    .flowing-card {
        width: 75vw;
    }

    .portfolio-item {
        width: 260px;
        height: 340px;
    }

    .service-name {
        font-size: 1.5rem;
    }

    .industry-name {
        font-size: 1.5rem;
    }

    .blog-img-wrapper {
        height: 180px;
    }

    .testimonial-card {
        width: 280px;
    }

    .brands-marquee-track {
        gap: 40px;
    }

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

/* ===================================
   PROJECT MODAL
   =================================== */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.4s ease;
}

.project-modal.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.4s ease;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 750px;
    max-height: 85vh;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    overflow: hidden;
    overflow-y: auto;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-modal.active .modal-content {
    transform: translate(-50%, -50%) scale(1);
}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

/* Modal Header */
.modal-header {
    position: relative;
    height: 280px;
    overflow: hidden;
}

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

.modal-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #0a0a0a 0%, transparent 60%);
}

.modal-title-area {
    position: absolute;
    bottom: 30px;
    left: 40px;
    right: 40px;
    z-index: 2;
}

.modal-project-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 6px;
}

.modal-project-subtitle {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Modal Body */
.modal-body {
    padding: 30px 40px 50px;
}

.modal-section-label {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

/* Tech Tags */
.modal-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.modal-tech-tags .tech-tag {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.3s;
}

.modal-tech-tags .tech-tag:hover {
    background: rgba(255, 87, 34, 0.15);
    border-color: var(--color-primary);
    color: white;
}

/* Highlight List */
.modal-highlight-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-highlight-list li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

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

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-header {
        height: 200px;
    }

    .modal-project-title {
        font-size: 2rem;
    }

    .modal-body {
        padding: 20px 25px 40px;
    }
}

/* ===================================
   CONTACT ICON WRAPPERS
   =================================== */
.contact-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    transition: all 0.4s ease;
}

.contact-icon {
    width: 80px;
    height: 80px;
    opacity: 0.9;
    transition: transform 0.4s ease;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.blog-card:hover .contact-icon {
    transform: scale(1.15);
}

.blog-card .contact-icon-wrapper {
    cursor: pointer;
}

/* ===================================
   CERTIFICATE MODAL (opens from Education card)
   =================================== */
.cert-click-hint {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--color-primary);
    opacity: 0.7;
    vertical-align: middle;
    margin-left: 8px;
    transition: opacity 0.3s;
}

#certCard:hover .cert-click-hint {
    opacity: 1;
}

.cert-modal {
    position: fixed;
    inset: 0;
    z-index: 10001;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.4s, opacity 0.4s ease;
}

.cert-modal.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 0.4s ease;
}

.cert-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
}

.cert-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 90%;
    max-width: 900px;
    max-height: 88vh;
    background: #0a0a0a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 28px;
    overflow-y: auto;
    padding: 50px 40px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-modal.active .cert-modal-content {
    transform: translate(-50%, -50%) scale(1);
}

.cert-modal-content::-webkit-scrollbar {
    width: 6px;
}

.cert-modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.cert-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.cert-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: rotate(90deg);
}

.cert-modal-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

.cert-modal-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.cert-modal-item {
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.cert-modal-item:hover {
    border-color: rgba(255, 87, 34, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 87, 34, 0.06);
}

.cert-modal-img {
    width: 100%;
    aspect-ratio: 1.414 / 1;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.cert-modal-item:hover .cert-modal-img {
    transform: scale(1.02);
}

.cert-modal-label {
    padding: 14px 18px;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
    .cert-modal-content {
        width: 95%;
        padding: 35px 20px;
    }

    .cert-modal-title {
        font-size: 1.8rem;
    }

    .cert-modal-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}