:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --text-color: #1f2937;
    --text-muted: #4b5563;
    --border-color: #e5e7eb;
    --bg-gray: #f9fafb;
    --accent-blue: #2563eb;
    --font-primary: 'Matter', 'Poppins', sans-serif;
    --transition: all 0.3s ease-out;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--secondary-color);
    overflow-x: hidden;
    line-height: 1.5;
}

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

/* Floating Socials */
.floating-social {
    position: fixed;
    bottom: 2rem;
    z-index: 50;
    width: 3.5rem;
    height: 3.5rem;
    transition: var(--transition);
    animation: floatingSmooth 3s ease-in-out infinite alternate;
}

.floating-social img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 0, 150, 0.25));
    transition: var(--transition);
}

.floating-social:hover {
    transform: scale(1.25) translateY(-8px);
}

.floating-insta {
    left: 1.5rem;
}

.floating-insta:hover {
    transform: scale(1.25) translateY(-8px) rotate(6deg);
}

.floating-insta:hover img {
    filter: drop-shadow(0 0 15px rgba(255, 50, 180, 0.45));
}

.floating-wa {
    right: 1.5rem;
}

.floating-wa img {
    filter: drop-shadow(0 0 8px rgba(0, 255, 70, 0.25));
}

.floating-wa:hover {
    transform: scale(1.25) translateY(-8px) rotate(-6deg);
}

.floating-wa:hover img {
    filter: drop-shadow(0 0 15px rgba(0, 255, 100, 0.45));
}

@media (max-width: 480px) {
    .floating-social {
        width: 2.85rem;
        height: 2.85rem;
        bottom: 1.25rem;
    }

    .floating-insta {
        left: 1rem;
    }

    .floating-wa {
        right: 1rem;
    }
}

@keyframes floatingSmooth {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Top Section Background */
.top-section {
    background-image: url('https://www.futuredesks.com/common/Bg2.png');
    background-size: cover;
    background-position: center;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navbar */
.navbar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 0;
    background: transparent;
}

.desktop-nav {
    display: none;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 1rem 3rem;
    min-width: 700px;
}

@media (min-width: 768px) {
    .desktop-nav {
        display: grid;
    }

    .mobile-nav {
        display: none !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .desktop-nav {
        min-width: auto;
        width: 94%;
        padding: 0.75rem 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.nav-links a {
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-blue);
}

.logo img {
    height: 3rem;
    width: auto;
}

/* Mobile Nav */
.mobile-nav {
    display: flex;
    width: 90%;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    background: var(--secondary-color);
    z-index: 50;
}

.mobile-logo {
    height: 2rem;
}

.hamburger {
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu {
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-50%) translateY(-1rem) scale(0.95);
    width: 90%;
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    gap: 1.5rem;
    z-index: 40;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.mobile-menu.active {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.mobile-menu a {
    font-weight: 500;
}

/* Hero Section styles are defined and consolidated at the bottom of the stylesheet */

/* Scrolling Strips (Seamless Infinite Marquee) */
.scrolling-strips {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin-top: 4.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.scrolling-strips .marquee-wrapper {
    display: flex;
    width: 100%;
    overflow: hidden;
    user-select: none;
}

.scrolling-strips .marquee-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.scrolling-strips .marquee-track.marquee-left {
    animation: scrollMarqueeLeft 55s linear infinite !important;
}

.scrolling-strips .marquee-track.marquee-right {
    animation: scrollMarqueeRight 55s linear infinite !important;
}

.scrolling-strips .marquee-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
    padding-right: 1.5rem;
}

.scrolling-strips .marquee-content img {
    height: 3.4rem;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.scrolling-strips .marquee-content img:hover {
    opacity: 1;
}

@media (max-width: 640px) {
    .scrolling-strips {
        margin-top: 2.5rem;
        gap: 1rem;
    }

    .scrolling-strips .marquee-content img {
        height: 2.2rem;
    }
}

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

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

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

    100% {
        transform: translateX(0);
    }
}

to {
    transform: translateX(0);
}

/* Flexible Options Section */
.flexible-options-section {
    padding: 6rem 1rem 2rem 1rem;
    max-width: 80rem;
    margin: 0 auto;
    text-align: center;
}

.flexible-options-header {
    margin-bottom: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flexible-options-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #111;
    margin-top: 1rem;
    line-height: 1.2;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.flexible-options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 70rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .flexible-options-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
}

.flexible-card {
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.flexible-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.flexible-card-img-wrapper {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #f8f9fa;
    aspect-ratio: 16 / 10;
}

.flexible-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flexible-card-content h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 0.75rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.flexible-card-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 768px) {
    .flexible-options-header h2 {
        font-size: 2rem;
    }
}

/* Generic Section Styles */
.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background: var(--secondary-color);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 9999px;
    color: #6b7280;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

section h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 2.5rem;
    line-height: 1.2;
    text-align: center;
}

/* Features & Services Section */
.features-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5rem 1.5rem;
    background: #ffffff;
    position: relative;
    width: 100%;
}

/* Tear-Off Poster Section */
.tear-off-poster-section {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.poster-paper {
    background-color: #fdfbf7;
    /* Off-white paper color */
    width: 100%;
    max-width: 100%;
    position: relative;
    padding-top: 6rem;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.03"/></svg>');
}

/* Masking Tape */
.masking-tape {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) rotate(-1deg);
    width: 120px;
    height: 35px;
    background-color: #e5dcc5;
    opacity: 0.9;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.masking-tape::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"><filter id="noiseFilter"><feTurbulence type="fractalNoise" baseFrequency="0.6" numOctaves="3" stitchTiles="stitch"/></filter><rect width="100%" height="100%" filter="url(%23noiseFilter)" opacity="0.1"/></svg>');
}

/* Header */
.poster-header {
    text-align: center;
    padding: 0 2rem;
    margin-bottom: 2rem;
}

.poster-header h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 4.2rem;
    font-weight: 800;
    color: #111;
    margin: 0;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.poster-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: #ff5722;
    /* Strong orange */
    margin: 0;
    line-height: 0.9;
    letter-spacing: -0.02em;
}

.poster-heading-our {
    font-family: Arial, sans-serif;
    font-size: clamp(2.4rem, 7vw, 4.375rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    text-align: center;
    text-transform: uppercase;
    color: #111;
    margin: 0 0 4px;
}

.poster-heading-services {
    font-family: Arial, sans-serif;
    font-size: clamp(2.4rem, 7vw, 4.375rem);
    font-style: italic;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -3px;
    text-align: center;
    text-transform: uppercase;
    color: #f15a24;
    margin: 0;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.04);
}

.poster-subtitle-wrapper {
    margin-top: 1.5rem;
    display: inline-block;
}

.subtitle-line {
    border: none;
    border-top: 2px solid #ff5722;
    width: 120px;
    margin: 0 auto 0.8rem auto;
}

.poster-subtitle {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin: 0;
}

/* Cut Line Area */
.cut-line-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1100px;
    /* Align with the services container */
    margin: 0 auto;
    /* Center the dashed line and icon */
    padding: 0 0.5rem;
    margin-bottom: 0;
    /* Tabs connect right below */
}

.scissor-icon {
    color: #111;
    margin-right: 0.5rem;
    display: flex;
    align-items: center;
}

.dashed-cut-line {
    flex-grow: 1;
    border-bottom: 2px dashed #ccc;
    height: 1px;
}

/* Tear-Off Tabs Container */
.tear-off-tabs-container {
    display: flex;
    align-items: flex-start;
    /* Allows varying heights */
    justify-content: center;
    /* Center the narrow cards */
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    border-top: none;
    /* Rely on the full-width scissor cut line above */
    padding-bottom: 4rem;
    /* Room for drop shadows */
    gap: 8px;
    /* Consistent small gap between strips */
}

.tear-off-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    border-right: none;
    /* Replaced by partial pseudo-element */
    background-color: transparent;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: top center;
    cursor: pointer;
    z-index: 1;
}

/* Partial dashed line separator */
.tear-off-tab::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 2px;
    /* Thicker and clearly visible */
    height: 35%;
    /* Extends only partially down */
    background-image: linear-gradient(to bottom, #4a4a4a 50%, transparent 50%);
    background-size: 2px 14px;
    /* 7px dash, 7px gap for a clean, even cut-paper look */
    background-repeat: repeat-y;
    transition: opacity 0.3s ease;
    z-index: 5;
}

/* Pseudo element that handles the torn paper and shadows */
.tear-off-tab::before {
    content: '';
    position: absolute;
    top: -15px;
    /* Push above clipping mask to hide top jagged edge */
    left: 0;
    right: 0;
    bottom: -2px;
    /* Ensure content fits */
    background-color: #fdfbf7;
    z-index: -1;
    /* Apply torn filter AND shadow on the torn SVG shape */
    filter: url(#torn-edge) drop-shadow(0 10px 14px rgba(0, 0, 0, 0.08));
    /* Clip perfectly straight on sides until 35% (matching dashed line), then allow jagged edges at bottom */
    clip-path: polygon(0 15px, 100% 15px, 100% 35%, 130% 35%, 130% 130%, -30% 130%, -30% 35%, 0 35%);
    transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1), clip-path 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.tear-off-tab:last-child::after {
    display: none;
}

.tear-off-tab:hover {
    /* Torn away and shifted downward/outward */
    transform: translateY(12px) scale(1.03) rotate(1.5deg);
    z-index: 10;
}

.tear-off-tab:hover::after {
    opacity: 0;
    /* Hide dashed line when torn away */
}

.tear-off-tab:hover::before {
    filter: url(#torn-edge) drop-shadow(-8px 25px 30px rgba(0, 0, 0, 0.2));
    /* Animate the clip-path outward to reveal ALL jagged torn edges (top, left, right) */
    clip-path: polygon(-30% -30%, 130% -30%, 130% 35%, 130% 35%, 130% 130%, -30% 130%, -30% 35%, -30% 35%);
}

.tab-content {
    padding: 4rem 0 9rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-grow: 1;
}

/* Irregular paper lengths for realism */
.tear-off-tab:nth-child(1) .tab-content {
    padding-bottom: 9.5rem;
}

.tear-off-tab:nth-child(2) .tab-content {
    padding-bottom: 8.8rem;
}

.tear-off-tab:nth-child(3) .tab-content {
    padding-bottom: 10.5rem;
}

.tear-off-tab:nth-child(4) .tab-content {
    padding-bottom: 9.2rem;
}

.tear-off-tab:nth-child(5) .tab-content {
    padding-bottom: 10.8rem;
}

.tear-off-tab:nth-child(6) .tab-content {
    padding-bottom: 9.5rem;
}

.tear-off-tab:nth-child(7) .tab-content {
    padding-bottom: 10.2rem;
}

.tab-icon {
    color: #ff5722;
    margin-bottom: 2rem;
}

.tab-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    white-space: nowrap;
    text-align: left;
}

.tab-title.two-line {
    white-space: normal;
    text-align: right;
    /* Vertical text align */
    line-height: 1.3;
}

/* Torn Bottom on Tabs */
.tab-torn-bottom {
    width: 100%;
    height: 12px;
    position: relative;
    margin-top: auto;
    margin-bottom: -6px;
    /* Stick out bottom */
    filter: url(#torn-edge);
}

.tab-torn-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: #fdfbf7;
}

/* Responsive */
@media (max-width: 1023px) {
    .poster-header h1 {
        font-size: 4rem;
    }

    .poster-header h2 {
        font-size: 3.8rem;
    }
}

@media (max-width: 768px) {
    .poster-header h1 {
        font-size: 3rem;
    }

    .poster-header h2 {
        font-size: 2.8rem;
    }

    .poster-subtitle {
        font-size: 0.8rem;
    }

    /* Horizontal Scroll for Tabs */
    .tear-off-tabs-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 1.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
        justify-content: flex-start;
    }

    .tear-off-tab {
        flex: 0 0 105px;
    }
}

/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.5rem;
    background-image: url('https://www.futuredesks.com/home/Frame-4.png');
    background-size: cover;
    background-position: center;
}

.video-section h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    font-size: clamp(1.8rem, 4vw, 3rem);
}

.video-section .indent {
    display: block;
    margin-left: 2rem;
}

@media (max-width: 640px) {
    .video-section {
        min-height: auto;
        padding: 3rem 1rem;
    }

    .video-section .indent {
        margin-left: 0;
    }
}

.video-wrapper {
    width: 100%;
    max-width: 56rem;
    aspect-ratio: 16 / 9;
    height: auto;
    position: relative;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Social Presence Section (Exact Reference: futuredesks.com) */
.social-presence {
    padding: 3rem 0 4rem;
    text-align: center;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
}

.social-presence .badge {
    display: inline-block;
    padding: 0.35rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #6b7280;
    background: #fff;
    margin-bottom: 0.75rem;
}

.social-presence h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0.5rem 0 2.5rem;
    line-height: 1.25;
}

@media (min-width: 640px) {
    .social-presence h2 {
        font-size: 3rem;
    }
}

.carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    overflow: visible;
}

.carousel-item {
    position: absolute;
    width: 340px;
    height: 460px;
    border-radius: 28px;
    overflow: hidden;
    background: #000000;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s ease;
    will-change: transform, opacity, width, height;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.carousel-item .card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.carousel-item .control-top-left,
.carousel-item .control-top-right {
    position: absolute;
    top: 16px;
    z-index: 20;
    pointer-events: auto;
}

.carousel-item .control-top-left {
    left: 16px;
}

.carousel-item .control-top-right {
    right: 16px;
}

/* Center Active Card (h === 0) */
.carousel-item.pos-center {
    transform: translate3d(0, 0, 0) scale(1);
    width: 340px;
    height: 460px;
    opacity: 1;
    z-index: 50;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.45);
}

/* Side Near Left (h === -1) */
.carousel-item.pos-prev {
    transform: translate3d(-320px, 0, 0) scale(0.85);
    width: 260px;
    height: 380px;
    opacity: 0.8;
    z-index: 40;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.25);
}

/* Side Near Right (h === 1) */
.carousel-item.pos-next {
    transform: translate3d(320px, 0, 0) scale(0.85);
    width: 260px;
    height: 380px;
    opacity: 0.8;
    z-index: 40;
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.25);
}

/* Side Far Left (h === -2) */
.carousel-item.pos-far-prev {
    transform: translate3d(-560px, 0, 0) scale(0.7);
    width: 220px;
    height: 320px;
    opacity: 0.5;
    z-index: 30;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.15);
}

/* Side Far Right (h === 2) */
.carousel-item.pos-far-next {
    transform: translate3d(560px, 0, 0) scale(0.7);
    width: 220px;
    height: 320px;
    opacity: 0.5;
    z-index: 30;
    box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.15);
}

/* Hidden Cards (Offset <= -2 or >= 2) */
.carousel-item.pos-hidden-left {
    transform: translate3d(calc(var(--offset, -2) * 400px), 0, 0) scale(0.6);
    width: 260px;
    height: 380px;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

.carousel-item.pos-hidden-right {
    transform: translate3d(calc(var(--offset, 2) * 400px), 0, 0) scale(0.6);
    width: 260px;
    height: 380px;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* Responsive / Mobile (< 1024px) */
@media (max-width: 1023px) {
    .carousel-container {
        height: 440px;
    }

    .carousel-item.pos-center {
        width: 230px;
        height: 380px;
        transform: translate3d(0, 0, 0) scale(1);
    }

    .carousel-item.pos-prev {
        width: 200px;
        height: 330px;
        transform: translate3d(-200px, 0, 0) scale(0.9);
        opacity: 0.8;
    }

    .carousel-item.pos-next {
        width: 200px;
        height: 330px;
        transform: translate3d(200px, 0, 0) scale(0.9);
        opacity: 0.8;
    }

    .carousel-item.pos-far-prev {
        transform: translate3d(calc(var(--offset, -2) * 280px), 0, 0) scale(0.6);
        width: 200px;
        height: 330px;
        opacity: 0;
        z-index: 0;
        pointer-events: none;
    }

    .carousel-item.pos-far-next {
        transform: translate3d(calc(var(--offset, 2) * 280px), 0, 0) scale(0.6);
        width: 200px;
        height: 330px;
        opacity: 0;
        z-index: 0;
        pointer-events: none;
    }

    .carousel-item.pos-hidden-left {
        transform: translate3d(calc(var(--offset, -2) * 280px), 0, 0) scale(0.6);
    }

    .carousel-item.pos-hidden-right {
        transform: translate3d(calc(var(--offset, 2) * 280px), 0, 0) scale(0.6);
    }
}

@media (max-width: 480px) {
    .carousel-container {
        height: 400px;
    }

    .carousel-item.pos-center {
        width: 200px;
        height: 340px;
    }

    .carousel-item.pos-prev {
        width: 160px;
        height: 280px;
        transform: translate3d(-140px, 0, 0) scale(0.85);
        opacity: 0.6;
    }

    .carousel-item.pos-next {
        width: 160px;
        height: 280px;
        transform: translate3d(140px, 0, 0) scale(0.85);
        opacity: 0.6;
    }

    .carousel-item.pos-far-prev {
        transform: translate3d(-140px, 0, 0) scale(0.85);
        width: 160px;
        height: 280px;
        opacity: 0;
        z-index: 0;
        pointer-events: none;
    }

    .carousel-item.pos-far-next {
        transform: translate3d(140px, 0, 0) scale(0.85);
        width: 160px;
        height: 280px;
        opacity: 0;
        z-index: 0;
        pointer-events: none;
    }
}

/* Controls */
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    z-index: 50;
    position: relative;
}

.carousel-controls .nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #f3f4f6;
    border: none;
    color: #1f2937;
    cursor: pointer;
    font-size: 1.25rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.carousel-controls .nav-btn:hover {
    background: #e5e7eb;
    transform: scale(1.05);
}

.carousel-controls .dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.carousel-controls .dot {
    height: 0.75rem;
    width: 0.75rem;
    border-radius: 9999px;
    background: #d1d5db;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    padding: 0;
}

.carousel-controls .dot:hover {
    background: #9ca3af;
}

.carousel-controls .dot.active {
    width: 2rem;
    background: #1f2937;
}

/* Marquee Developer Section (Matching futuredesks.com and User Screenshot) */
.marquee-developer {
    overflow: hidden;
    width: 100%;
    background: #000000;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
}

.marquee-developer-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marqueeDeveloperScroll 24s linear infinite;
    will-change: transform;
}

.marquee-developer-track:hover {
    animation-play-state: paused;
}

.marquee-developer-track img {
    height: 4.5rem;
    width: auto;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: none;
}

@media (max-width: 640px) {
    .marquee-developer-track img {
        height: 2.8rem;
    }
}

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

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

/* Append to style.css */

/* Projects Section */
.projects-section {
    padding: 3rem 1rem;
    background: transparent;
}

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

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 991px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    background: var(--secondary-color);
    padding: 1.25rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    box-shadow: 0 20px 30px -8px rgba(0, 0, 0, 0.14);
    transform: translateY(-0.35rem);
    border-color: #e5e7eb;
}

.project-card-image {
    position: relative;
    width: 100%;
    height: 13rem;
    border-radius: 0.85rem;
    overflow: hidden;
    margin-bottom: 1.15rem;
    background: #f3f4f6;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 0;
}

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

.project-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #111827;
}

.project-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.project-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.btn-demo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.btn-demo-link:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.28);
}

.btn-demo-link svg {
    transition: transform 0.2s ease;
}

.btn-demo-link:hover svg {
    transform: translate(2px, -2px);
}

.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 3.5rem;
}

.view-all-container .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 0.85rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.team-section {
    padding: 4rem 1rem;
    max-width: 80rem;
    margin: 0 auto;
}

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

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
    gap: 1.75rem;
}

.team-member {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 1rem;
    overflow: hidden;
    background: #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: var(--transition);
}

.team-member:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.team-member img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.team-member:hover img {
    transform: scale(1.1);
}

.team-member img.img-zoom-out {
    object-position: 50% 10%;
}

.team-member img.img-shift-up {
    object-position: 50% 85%;
}

.team-member img.img-tushar {
    object-position: 50% 20%;
}

.team-info {
    position: absolute;
    bottom: 0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    padding: 0.75rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.team-member:hover .team-info {
    transform: translate(-50%, -0.5rem);
}

.team-info h3 {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.2;
}

.team-info p {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Team Carousel for Mobile / Phone View */
.team-carousel-wrapper {
    position: relative;
    width: 100%;
}

.team-carousel-viewport {
    width: 100%;
    overflow: visible;
}

.team-carousel-btn {
    display: none;
}

.team-carousel-dots {
    display: none;
}

@media (max-width: 768px) {
    .team-section {
        padding: 3rem 1rem 4rem;
        overflow: hidden;
    }

    .team-carousel-wrapper {
        position: relative;
        padding: 0 2.25rem;
    }

    .team-carousel-viewport {
        overflow: hidden;
        width: 100%;
        padding: 0.75rem 0.25rem;
        margin: -0.75rem -0.25rem;
    }

    .team-grid {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 1.25rem !important;
        transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
        will-change: transform;
        width: 100%;
    }

    .team-grid .team-member {
        flex: 0 0 calc((100% - 1.25rem) / 2) !important;
        max-width: calc((100% - 1.25rem) / 2) !important;
        min-width: 0;
        aspect-ratio: 1 / 1;
    }

    .team-carousel-btn {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        align-items: center;
        justify-content: center;
        color: #111827;
        cursor: pointer;
        z-index: 20;
        transition: all 0.25s ease;
    }

    .team-carousel-btn:hover {
        background: #111827;
        color: #ffffff;
        transform: translateY(-50%) scale(1.08);
    }

    .team-carousel-btn:active {
        transform: translateY(-50%) scale(0.95);
    }

    .team-carousel-prev {
        left: 0.25rem;
    }

    .team-carousel-next {
        right: 0.25rem;
    }

    .team-carousel-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1.75rem;
    }

    .team-carousel-dot {
        width: 8px;
        height: 8px;
        border-radius: 9999px;
        background: #d1d5db;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .team-carousel-dot.active {
        width: 28px;
        background: #111827;
        border-radius: 9999px;
    }
}

@media (max-width: 520px) {
    .team-carousel-wrapper {
        padding: 0 0.5rem;
    }

    .team-grid .team-member {
        flex: 0 0 85% !important;
        max-width: 85% !important;
    }

    .team-carousel-prev {
        left: 0;
    }

    .team-carousel-next {
        right: 0;
    }
}

/* FAQ Section */
.faq-section {
    padding: 4rem 1rem;
    background-size: cover;
    background-position: center;
}

.faq-container {
    max-width: 72rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr 1fr;
    }
}

.faq-left h2 {
    text-align: left;
    margin-bottom: 0;
}

.faq-right {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--secondary-color);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 500;
    text-align: left;
}

.faq-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-indicator {
    width: 4px;
    height: 20px;
    background: black;
    border-radius: 9999px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 1rem 0;
    background: var(--secondary-color);
    overflow: hidden;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr 2fr;
    }
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-left h3 {
    color: #9ca3af;
    font-size: 1.125rem;
}

.footer-left p a {
    font-weight: 500;
}

.footer-left p a:hover {
    text-decoration: underline;
}

.subscribe-form {
    display: flex;
    align-items: center;
    background: var(--secondary-color);
    border-radius: 9999px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #f3f4f6;
    padding: 0.25rem;
    max-width: 32rem;
    margin-top: 1rem;
}

.subscribe-form input {
    flex-grow: 1;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    font-family: inherit;
    outline: none;
}

.subscribe-form button {
    background: black;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background: #111827;
}

.footer-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    text-align: right;
}

.footer-links-col h4 {
    color: #9ca3af;
    margin-bottom: 1rem;
    font-weight: 500;
}

.footer-links-col nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links-col nav a {
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links-col nav a:hover {
    color: var(--accent-blue);
}

@media (max-width: 640px) {
    .footer-right {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        text-align: left;
    }

    .subscribe-form {
        width: 100%;
    }

    .subscribe-form input {
        min-width: 0;
    }
}

@media (max-width: 440px) {
    .footer-right {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
    }

    .subscribe-form {
        flex-direction: column;
        border-radius: 1.25rem;
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .subscribe-form button {
        width: 100%;
    }
}

.footer-branding {
    text-align: center;
    width: 100%;
    margin-top: 4rem;
}

.footer-branding span {
    display: block;
    font-family: 'Clash Display', var(--font-primary);
    font-size: 12vw;
    font-weight: 400;
    background-image: linear-gradient(180deg, rgba(232, 232, 232, 0.93) 0%, rgba(255, 255, 255, 0.93) 232.5%);
    -webkit-background-clip: text;
    color: transparent;
    transform: scaleY(1.2) scaleX(1.5);
    transform-origin: bottom center;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 1rem;
    background-color: var(--secondary-color);
    text-align: center;
    width: 100%;
}

.testimonials-header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 90rem;
    margin: 0 auto;
    padding: 0 3.25rem;
}

.testimonials-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 1.5rem 0.25rem;
    margin: -1.5rem -0.25rem;
}

.testimonials-carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* 4 items visible in one row on desktop */
.testimonials-carousel-track .testimonial-card {
    flex: 0 0 calc((100% - 3 * 1.5rem) / 4);
    max-width: calc((100% - 3 * 1.5rem) / 4);
    min-width: 0;
}

/* Navigation buttons */
.testimonials-carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    cursor: pointer;
    z-index: 20;
    transition: all 0.25s ease;
}

.testimonials-carousel-btn:hover {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    transform: translateY(-50%) scale(1.08);
}

.testimonials-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.testimonials-carousel-prev {
    left: 0.25rem;
}

.testimonials-carousel-next {
    right: 0.25rem;
}

/* Dots indicator */
.testimonials-carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.testimonials-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: #d1d5db;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-carousel-dot.active {
    width: 28px;
    background: #111827;
    border-radius: 9999px;
}

@media (max-width: 1100px) {
    .testimonials-carousel-wrapper {
        padding: 0 2.75rem;
    }

    .testimonials-carousel-track .testimonial-card {
        flex: 0 0 calc((100% - 2 * 1.5rem) / 3);
        /* 3 items on tablet */
        max-width: calc((100% - 2 * 1.5rem) / 3);
    }
}

@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        padding: 0 2.25rem;
    }

    .testimonials-carousel-track {
        gap: 1rem;
    }

    .testimonials-carousel-track .testimonial-card {
        flex: 0 0 calc((100% - 1rem) / 2);
        /* 2 items on mobile */
        max-width: calc((100% - 1rem) / 2);
    }

    .testimonials-carousel-btn {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 520px) {
    .testimonials-carousel-wrapper {
        padding: 0 0.5rem;
    }

    .testimonials-carousel-track .testimonial-card {
        flex: 0 0 85%;
        /* 1 item with peek */
        max-width: 85%;
    }

    .testimonials-carousel-btn {
        display: none;
    }
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.video-frame {
    background: #000;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 630px;
    /* Slightly reduced height, still tall enough to protect subtitles */
    width: 100%;
    max-width: 100%;
    position: relative;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.testimonial-card:hover .video-frame {
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.2);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

/* Completely hide all native video controls and hover overlays in WebKit/Blink browsers */
.video-frame video::-webkit-media-controls,
.video-frame video::-webkit-media-controls-enclosure,
.video-frame video::-webkit-media-controls-panel {
    display: none !important;
    -webkit-appearance: none !important;
}

.video-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    /* Less gradient needed since text is outside */
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

.control-top-left,
.control-top-right {
    position: absolute;
    top: 15px;
    z-index: 10;
}

.control-top-left {
    left: 15px;
}

.control-top-right {
    right: 15px;
}

.play-pause-btn,
.volume-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.play-pause-btn:hover,
.volume-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.play-pause-btn svg,
.volume-btn svg {
    width: 16px;
    height: 16px;
}

.testimonial-info {
    text-align: center;
    margin-top: 16px;
    width: 100%;
    max-width: 100%;
    background-color: #f0f2f5;
    /* Slightly darker grey, premium background */
    border-radius: 12px;
    /* Slightly rounded corners */
    padding: 16px 12px;
    /* Comfortable padding */
    box-sizing: border-box;
    border: 1px solid #e2e5e9;
    /* Subtle border for definition */
}

.testimonial-info h4 {
    color: #111;
    font-size: 1.05rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    margin: 0 0 4px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-info p {
    color: #555;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .overlay-title {
        top: 2%;
        font-size: 1.8rem;
    }
}

/* Client Logos Marquee Styling */
.client-logo {
    height: 60px;
    /* Base height for desktop */
    width: auto;
    max-width: 150px;
    object-fit: contain;
    margin-right: 4rem;
    filter: grayscale(100%) contrast(120%);
    opacity: 0.7;
    transition: var(--transition);
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 768px) {
    .client-logo {
        height: 40px;
        max-width: 100px;
        margin-right: 2rem;
    }
}

/* Old carousel/marquee overrides removed */


.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
    padding: 0 1rem;
}

.faq-item.active .faq-content {
    max-height: 500px;
    padding: 0 1rem 1.5rem 1rem;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-icon {
    transition: transform 0.3s ease;
    display: inline-block;
}

.faq-item.active .faq-indicator {
    background-color: var(--primary-color);
}

.faq-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}




@media (min-width: 768px) {}




@media (min-width: 768px) {}



/* ==========================================================================
   PREMIUM HERO SECTION
   ========================================================================== */

.hero {
    position: relative;
    background-color: #ffffff;
    background-image:
        radial-gradient(ellipse 80% 50% at 50% 60%, rgba(37, 99, 235, 0.06) 0%, rgba(249, 115, 22, 0.03) 40%, transparent 70%),
        linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 100% 100%, 48px 48px, 48px 48px;
    background-position: center center, center top, center top;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem 5rem 1.5rem;
    overflow: hidden;
}

/* Hero Image & Accents */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 58rem;
    margin-top: 1rem;
    margin-bottom: 2.5rem;
    transition: transform 0.4s ease-out;
}

.hero-image {
    width: 100%;
    max-height: 65vh;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: top center;
}

.accent {
    position: absolute;
    z-index: 5;
    pointer-events: none;
}

.accent-left {
    top: 36%;
    left: 8%;
    transform: scale(1.15);
    animation: floatAccentLeft 6s ease-in-out infinite alternate;
}

.accent-right {
    top: 32%;
    right: 8%;
    transform: scale(1.15);
    animation: floatAccentRight 7s ease-in-out infinite alternate;
}

@keyframes floatAccentLeft {
    0% {
        transform: scale(1.15) translateY(0) rotate(0deg);
    }

    100% {
        transform: scale(1.15) translateY(-8px) rotate(-3deg);
    }
}

@keyframes floatAccentRight {
    0% {
        transform: scale(1.15) translateY(0) rotate(0deg);
    }

    100% {
        transform: scale(1.15) translateY(-10px) rotate(4deg);
    }
}

/* Content Container (Expansive, Wide & Elevated) */
.hero-content-container {
    position: relative;
    z-index: 15;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 1050px;
    margin-top: 20px;
}

/* Eyebrow Pill Badge */
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.hero-pill-badge:hover {
    background: #ffffff;
    border-color: #94a3b8;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -2px rgba(37, 99, 235, 0.1);
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #2563eb;
    box-shadow: 0 0 10px #2563eb;
    animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

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

    50% {
        transform: scale(1.35);
        opacity: 0.55;
    }
}

/* Main Hero Headline */
.hero-title {
    font-family: 'Plus Jakarta Sans', 'Outfit', var(--font-primary), sans-serif;
    font-weight: 800;
    font-size: clamp(2.35rem, 5.2vw, 4.5rem);
    line-height: 1.14;
    letter-spacing: -0.035em;
    margin-bottom: 1.35rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.title-line-1 {
    display: block;
    background: linear-gradient(180deg, #090e17 0%, #1e293b 85%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.title-line-2 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 0.2rem;
}

.with-text {
    font-size: 0.82em;
    font-weight: 600;
    color: #64748b;
    letter-spacing: -0.02em;
}

/* Premium Brand Pill for Logo */
.brand-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 0.45rem 1.45rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 10px 25px -4px rgba(15, 23, 42, 0.07),
        0 4px 10px -2px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 1);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    vertical-align: middle;
    position: relative;
    cursor: default;
}

.brand-pill:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #cbd5e1;
    box-shadow:
        0 16px 32px -4px rgba(37, 99, 235, 0.12),
        0 6px 14px -2px rgba(15, 23, 42, 0.04);
}

.hero-inline-logo {
    height: clamp(2rem, 3.8vw, 2.9rem);
    width: auto;
    object-fit: contain;
    display: block;
}

/* Subtitle Description */
.hero-subtitle-desc {
    font-family: 'Plus Jakarta Sans', var(--font-primary), sans-serif;
    font-size: clamp(1.02rem, 1.35vw, 1.2rem);
    color: #475569;
    max-width: 640px;
    line-height: 1.65;
    margin: 0 auto 2.25rem auto;
    font-weight: 450;
    letter-spacing: -0.01em;
}

/* Call to Action Buttons */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-bottom: 2.25rem;
    z-index: 10;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 0.95rem 2.25rem;
    border-radius: 9999px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 1.02rem;
    letter-spacing: -0.01em;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    min-width: 11.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, #090e17 0%, #1e293b 100%);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 8px 20px -3px rgba(15, 23, 42, 0.32),
        0 4px 6px -2px rgba(15, 23, 42, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #000000 0%, #0f172a 100%);
    transform: translateY(-2px);
    box-shadow:
        0 14px 28px -3px rgba(15, 23, 42, 0.42),
        0 6px 12px -2px rgba(15, 23, 42, 0.2);
}

.btn-primary .btn-icon {
    transition: transform 0.25s ease;
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #0f172a;
    border: 1.5px solid #e2e8f0;
    box-shadow: 0 4px 14px -2px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(0, 0, 0, 0.08);
}

/* Social Proof Badge */
.social-proof {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 0.55rem 1.4rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 9999px;
    box-shadow:
        0 4px 20px -2px rgba(15, 23, 42, 0.05),
        0 1px 3px rgba(15, 23, 42, 0.02);
}

.social-proof-avatars {
    display: flex;
    align-items: center;
}

.proof-avatar {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-left: -0.6rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease;
}

.proof-avatar:first-child {
    margin-left: 0;
}

.proof-avatar:hover {
    transform: translateY(-3px) scale(1.15);
    z-index: 5;
}

.social-proof-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.15rem;
}

.stars {
    display: flex;
    align-items: center;
    gap: 3px;
}

.social-proof p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748b;
    margin: 0;
}

.social-proof span.highlight {
    color: #0f172a;
    font-weight: 700;
}

/* Media Queries for Perfect Responsive Scaling */
@media (min-width: 768px) {
    .accent-left {
        top: 32%;
        left: 12%;
        transform: scale(1.35);
    }

    .accent-right {
        top: 28%;
        right: 12%;
        transform: scale(1.35);
    }

    .hero-image-wrapper {
        margin-top: 1.5rem;
        margin-bottom: 2.5rem;
    }

    .hero-content-container {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero-content-container {
        margin-top: 1rem;
    }

    .brand-pill {
        padding: 0.35rem 1rem;
    }

    .hero-inline-logo {
        height: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .accent-left,
    .accent-right {
        display: none;
    }
}

/* ==========================================================================
   ALL PROJECTS PAGE STYLES (projects.html)
   ========================================================================== */

.projects-page-hero {
    padding: 7rem 1.5rem 3rem;
    text-align: center;
    background: radial-gradient(circle at 50% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 60%);
}

.projects-page-hero .badge {
    margin-bottom: 1rem;
}

.projects-page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
    color: #0f172a;
}

.projects-page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 44rem;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.projects-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    max-width: 60rem;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.filter-btn {
    padding: 0.55rem 1.25rem;
    border-radius: 9999px;
    background: #f3f4f6;
    border: 1px solid transparent;
    color: #4b5563;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    background: #e5e7eb;
    color: #111827;
}

.filter-btn.active {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.projects-container {
    max-width: 86rem;
    margin: 0 auto 6rem;
    padding: 0 1.5rem;
}

.projects-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 2rem;
}

.project-card .project-card-image {
    position: relative;
}

.project-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(17, 24, 39, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 9999px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    z-index: 2;
}

@media (max-width: 768px) {
    .projects-page-hero {
        padding-top: 6rem;
    }

    .projects-page-hero h1 {
        font-size: 2.2rem;
    }

    .projects-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   CONTACT US PAGE STYLES (contact.html)
   ========================================================================== */

.contact-page-hero {
    position: relative;
    padding: 7.5rem 1.5rem 4rem;
    text-align: center;
    background: radial-gradient(circle at 50% 15%, rgba(37, 99, 235, 0.06) 0%, transparent 60%);
    overflow: hidden;
}

.contact-page-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-bottom: 1rem;
}

.contact-page-hero p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 40rem;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-main-section {
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1.5rem 6rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-col .contact-eyebrow {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.contact-info-col h2 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 1rem;
}

.contact-info-col .contact-intro {
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 32rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-detail-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155;
    flex-shrink: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-detail-item:hover .contact-detail-icon {
    background: #e2e8f0;
    transform: scale(1.06);
}

.contact-detail-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.15rem;
}

.contact-detail-text p,
.contact-detail-text a {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-detail-text a:hover {
    color: #2563eb;
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

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

.input-with-icon {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
}

.input-with-icon.textarea-wrapper .input-icon {
    top: 1.25rem;
    transform: none;
}

.form-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    border-radius: 0.85rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-family: inherit;
    font-size: 0.92rem;
    color: #0f172a;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    background: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.form-textarea {
    resize: none;
    min-height: 140px;
}

.btn-submit-contact {
    align-self: flex-end;
    padding: 0.85rem 2.2rem;
    border-radius: 9999px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
    transition: all 0.25s ease;
}

.btn-submit-contact:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

/* Map Embed */
.contact-map-wrapper {
    margin-top: 5rem;
    border-radius: 1.5rem;
    overflow: hidden;
    height: 420px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .contact-page-hero h1 {
        font-size: 2.4rem;
    }

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

    .contact-form-card {
        padding: 1.5rem;
    }

    .btn-submit-contact {
        width: 100%;
    }

    .contact-map-wrapper {
        height: 300px;
        margin-top: 3rem;
    }
}