/* Global Styles */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #202124;
    --accent-color: #4285f4;
    --font-family: 'Plus Jakarta Sans', sans-serif;
    /* Modern geometric sans-serif similar to Google Sans */
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    z-index: 10;
}

/* Particles Container */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    /* Behind everything */
}

/* Logo Placeholder */
.logo {
    margin-bottom: 2rem;
    z-index: 20;
}

.logo img {
    max-width: 150px;
    /* Adjust as needed */
    height: auto;
}

/* Typewriter Text */
.typewriter-container {
    font-size: 5rem;
    /* Increased size */
    font-weight: 500;
    /* Increased weight */
    line-height: 1.1;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 20;
    min-height: 2.4em;
    /* Reserve space for 2 lines if needed */
    color: #202124;
    padding-bottom: 3rem;
    /* Space for buttons */
}

.typewriter-text {
    display: inline;
}

.cursor {
    display: inline-block;
    width: 4px;
    /* Thicker */
    height: 1.1em;
    border-radius: 4px;
    background: rgba(66, 133, 244, 0.8);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    margin-left: 5px;
    vertical-align: bottom;
    /* Fix vertical alignment */
    box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
    animation: blink 0.7s infinite, colorCycle 4s infinite linear;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

@keyframes colorCycle {
    0% {
        background: rgba(66, 133, 244, 0.8);
        box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
    }

    /* Blue */
    25% {
        background: rgba(234, 67, 53, 0.8);
        box-shadow: 0 0 10px rgba(234, 67, 53, 0.5);
    }

    /* Red */
    50% {
        background: rgba(251, 188, 4, 0.8);
        box-shadow: 0 0 10px rgba(251, 188, 4, 0.5);
    }

    /* Yellow */
    75% {
        background: rgba(52, 168, 83, 0.8);
        box-shadow: 0 0 10px rgba(52, 168, 83, 0.5);
    }

    /* Green */
    100% {
        background: rgba(66, 133, 244, 0.8);
        box-shadow: 0 0 10px rgba(66, 133, 244, 0.5);
    }
}

/* Buttons */
.cta-container {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    z-index: 20;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #202124;
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #202124;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .typewriter-container {
        font-size: 3rem;
    }

    .cta-container {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .typewriter-container {
        font-size: 1.8rem;
    }
}

/* Video Intro Section */
.video-intro-section {
    position: relative;
    width: 100%;
    min-height: 60vh;
    /* Reduced from 100vh to reduce gap */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
    /* Reduced padding */
}

.video-container {
    width: 80%;
    max-width: 1600px;
    aspect-ratio: 16 / 9;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-wrapper {
    width: 100%;
    height: 100%;
    transform: scale(0.4);
    /* Start small */
    transform-origin: center center;
    transition: transform 0.1s linear;
    /* Smooth transition for scroll */
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    /* Softer, deeper shadow for white bg */
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    /* Fallback for video load */
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Client Marquee Section */
.clients-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 100px 0;
    z-index: 10;
}

.clients-heading {
    text-align: center;
    margin-bottom: 40px;
    z-index: 10;
    position: relative;
}

.clients-heading h2 {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-color);
    opacity: 0.6;
    /* Subtle */
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    /* Soft fade on edges */
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: inline-flex;
    animation: scroll 120s linear infinite;
    gap: 60px;
    /* Space between items */
    padding-left: 0;
    padding-top: 60px;
    /* Fix clipping */
    padding-bottom: 20px;
}

/* Pause animation on hover - REMOVED */
/* .marquee-track:hover {
    animation-play-state: paused;
} */

.client-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Even slower, more subtle wave */
    animation: wave 15s ease-in-out infinite;
    /* Delay set via inline style for each item to create the wave */
    animation-delay: var(--wave-delay, 0s);
    padding: 10px 0;
    /* Space for shadow/glow */
}

.client-bubble {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    /* Liquid Glass Effect */
    box-shadow:
        0 8px 32px 0 rgba(31, 38, 135, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8),
        inset 0 4px 6px rgba(255, 255, 255, 0.9);
    z-index: 1;
}

/* Neon Gradient Border - Outer Ring */
.client-bubble::before {
    content: '';
    position: absolute;
    inset: -3px;
    /* Border thickness */
    border-radius: 50%;
    padding: 3px;
    /* SIAMAC Colors */
    background: conic-gradient(from 0deg,
            #4285f4,
            #ea4335,
            #fbbc04,
            #34a853,
            #4285f4,
            #ea4335,
            #fbbc04,
            #34a853);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -1;
    animation: spin-border 4s linear infinite;
    filter: grayscale(100%) opacity(0.5);
    /* Fully B/W and fainter */
    transition: filter 0.3s ease;
}

/* Glow Effect for Neon */
.client-bubble::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            #4285f4,
            #ea4335,
            #fbbc04,
            #34a853,
            #4285f4);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: -2;
    filter: blur(8px) grayscale(100%) opacity(0.3);
    /* Fully B/W and faint */
    opacity: 0.8;
    animation: spin-border 4s linear infinite;
    transition: filter 0.3s ease;
}

.client-bubble img {
    max-width: 65%;
    max-height: 65%;
    object-fit: contain;
    /* Fully B/W */
    filter: grayscale(100%) opacity(0.7);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.client-bubble:hover img {
    transform: scale(1.1);
    /* Restore color on hover */
    filter: grayscale(0%) opacity(1);
}

.client-bubble:hover::before {
    filter: grayscale(0%) opacity(1);
}

.client-bubble:hover::after {
    filter: blur(8px) grayscale(0%) opacity(0.8);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes wave {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    /* Reduced amplitude from 40px to 20px */
}

@keyframes spin-border {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .client-bubble {
        width: 90px;
        height: 90px;
    }

    .marquee-track {
        gap: 40px;
        animation-duration: 40s;
    }
}

/* Partners Strip Section */
.partners-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    /* Removed padding-left: 5% and fixed padding */
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    /* Center the content container */
    align-items: center;
    text-align: left;
    z-index: 10;
}

.partners-content {
    max-width: 1400px;
    /* Match feature-strip max-width */
    width: 100%;
    font-size: 3rem;
    font-weight: 450;
    line-height: 1.2;
    color: var(--text-color);
    padding: 0 40px;
    /* Match feature-strip padding */
    margin: 0 auto;
    /* Center the container */
}

/* Responsive adjustments for Partners Strip */
@media (max-width: 1024px) {
    .partners-section {
        text-align: center;
        /* Match feature-strip mobile alignment */
    }

    .partners-content {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .partners-content {
        padding: 0 20px;
        /* Reduce padding on mobile */
        font-size: 2rem;
        /* Slightly smaller font */
    }
}

.partners-typewriter-text {
    display: inline;
}

/* Ensure cursor matches the requested style */
.partners-content .cursor {
    height: 0.8em;
    /* Relative to font size */
    width: 5px;
    vertical-align: bottom;
    margin-bottom: 8px;
    /* Adjustment for baseline */
    margin-bottom: 8px;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease, height 0.3s ease;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.navbar.navbar-scrolled {
    background: rgba(255, 255, 255, 0.7);
    /* More transparent for liquid glass */
    backdrop-filter: blur(12px);
    /* Slightly stronger blur */
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    /* Softer shadow */
    height: 40px;
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    /* Glass edge */
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    /* Ensure container takes height */
}

.navbar .logo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: var(--text-color);
    text-decoration: none;
    z-index: 1001;
    display: flex;
    /* Flex to align text internally if needed */
    align-items: center;
    line-height: 1;
    position: relative;
    top: 15px;
    margin-top: 0;
}

.navbar .logo span {
    font-weight: 700;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin: 0;
    /* Ensure no default margin throws off alignment */
    padding: 0;
    align-items: center;
    /* Center links vertically */
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    cursor: pointer;
    z-index: 1001;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Mobile Nav */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        height: 100vh;
        top: 0;
        background: rgba(255, 255, 255, 0.95);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1000;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .nav-links li {
        opacity: 0;
    }

    .burger {
        display: block;
    }
}

.nav-active {
    transform: translateX(0%);
}

@keyframes navLinkFade {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0px);
    }
}

.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.toggle .line2 {
    opacity: 0;
}

.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Feature Strips Section */
.feature-strips-section {
    padding: 100px 0;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 120px;
    /* Space between strips */
}

.feature-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    /* Wide container */
    margin: 0 auto;
    padding: 0 40px;
    gap: 80px;
}

/* Text Content */
.feature-content {
    flex: 1;
    max-width: 500px;
}

.feature-content h3 {
    font-size: 3.5rem;
    /* Large and thin */
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #202124;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.feature-content p {
    font-size: 1.25rem;
    color: #5f6368;
    line-height: 1.6;
    font-weight: 300;
}

/* Media/Image */
.feature-media {
    flex: 1.2;
    /* Slightly larger image area */
    display: flex;
    justify-content: center;
    align-items: center;
}

.feature-media img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    /* Soft rounded corners */
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    /* Soft, deep shadow */
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-media img:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.12);
}

/* Responsive */
@media (max-width: 1024px) {
    .feature-strip {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }

    .feature-content {
        max-width: 800px;
    }

    .feature-content h3 {
        font-size: 2.5rem;
    }
}

/* Split Section */
.split-section {
    padding: 100px 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.split-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 40px;
}

.split-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    margin-bottom: 60px;
}

.split-content {
    display: flex;
    justify-content: space-between;

    align-items: flex-start;
    gap: 60px;
}

/* Blog Section */
.blog-section {
    padding: 100px 0;
    background: #ffffff;
    display: flex;
    justify-content: center;
}

.blog-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 40px;
}

.blog-heading {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 60px;
    text-align: left;
    color: #202124;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 250px;
    background: #f1f3f4;
    position: relative;
    overflow: hidden;
}

.blog-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #f1f3f4 25%, #e8eaed 25%, #e8eaed 50%, #f1f3f4 50%, #f1f3f4 75%, #e8eaed 75%, #e8eaed 100%);
    background-size: 40px 40px;
    opacity: 0.5;
}

.blog-content {
    padding: 30px;
}

.blog-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #202124;
}

.blog-content p {
    font-size: 1rem;
    color: #5f6368;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    color: #4285f4;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.read-more i {
    margin-left: 8px;
    transition: transform 0.2s ease;
}

.read-more:hover {
    color: #1a73e8;
}

.read-more:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .blog-heading {
        text-align: center;
        font-size: 2.5rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.split-left {
    flex: 1;
}

.split-left h2 {
    font-size: 3rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0;
    color: #202124;
    letter-spacing: -0.02em;
}

.split-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.split-right p {
    font-size: 1rem;
    line-height: 1.6;
    color: #5f6368;
    max-width: 400px;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .split-content {
        flex-direction: column;
        gap: 30px;
    }

    .split-left h2 {
        font-size: 2rem;
    }

    .split-right {
        justify-content: flex-start;
    }

    .split-right p {
        max-width: 100%;
    }
}

/* Cases Section */
.cases-section {
    padding: 2.2rem 0;
    background-color: #000;
    overflow: hidden;
    position: relative;
}

.cases-section .section-title {
    text-align: center;
    color: #fff;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cases-carousel {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding-bottom: 2rem;
    /* Initial padding */
}

.cases-track {
    display: inline-flex;
    animation: scrollCases 40s linear infinite;
    padding-left: 2rem;
    /* Initial padding */
}

.cases-carousel:hover .cases-track {
    animation-play-state: paused;
}

.case-card {
    display: block;
    width: 350px;
    height: 500px;
    margin: 0 15px;
    background-color: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    position: relative;
    border: 1px solid #333;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
    border-color: #555;
}

.case-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0));
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.case-card:hover .case-info {
    opacity: 1;
    transform: translateY(0);
}

.case-info h3 {
    margin: 0 0 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.case-info p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
    white-space: normal;
    line-height: 1.4;
    color: #ddd;
}

@keyframes scrollCases {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Specific adjustment to ensure seamless loop */
/* We duplicate content, so scrolling 50% is one full loop of original content */

/* Final Refined Cases Section */
.cases-section {
    padding: 20px 0 100px 0;
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    /* No border top */
}

/* Hide Section Title to match strip look */
.cases-section .section-title {
    display: none;
}

.cases-carousel {
    width: 100%;
    overflow-x: auto;
    /* Enable native scrolling */
    white-space: nowrap;
    position: relative;
    padding-bottom: 20px;
    cursor: grab;
    /* Signify draggable */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.cases-carousel::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.cases-carousel.active {
    cursor: grabbing;
}

/* Wrapper for card + text below */
.case-card-wrapper {
    display: inline-block;
    width: 800px;
    /* MUCH LARGER as requested */
    margin: 0 40px 0 0;
    vertical-align: top;
    white-space: normal;
}

/* The clickable card area (just the image now) */
.case-card {
    display: block;
    width: 100%;
    /* 4:3 aspect ratio approx */
    aspect-ratio: 4 / 3;
    height: auto;
    border-radius: 48px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background-color: #f0f0f0;
    user-select: none;
    /* Prevent selection while dragging */
}

.case-card:hover {
    transform: scale(0.99);
}

.case-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    /* Let clicks pass to card, ensure drag doesn't drag image ghost */
}

.case-card:hover .case-image {
    transform: scale(1.05);
    /* Reduced scale effect for cleaner feel */
}

/* Text Below Card */
.case-info-below {
    padding-top: 32px;
    color: #202124;
    text-align: left;
    user-select: none;
}

.case-info-below h3 {
    font-size: 2rem;
    /* Larger title */
    font-weight: 500;
    margin: 0 0 12px;
    color: #202124;
    letter-spacing: -0.02em;
}

.case-info-below p {
    font-size: 1.2rem;
    color: #5f6368;
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 95%;
}

.view-case-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #202124;
    font-weight: 500;
    font-size: 1.2rem;
    transition: opacity 0.3s ease;
    border-bottom: 1px solid transparent;
}

.view-case-link .arrow {
    margin-left: 8px;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.view-case-link:hover {
    opacity: 0.7;
}

.view-case-link:hover .arrow {
    transform: translateX(5px);
}

.cases-track {
    display: inline-flex;
    padding-left: 2rem;
    /* Initial padding */
}

/* Prevent default image dragging behavior */
.case-card img,
.case-card {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-touch-callout: none;
}

/* Footer */
.site-footer {
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 80px 0 30px;
    color: #202124;
    position: relative;
    z-index: 10;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand,
.footer-links,
.footer-contact {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #202124;
    text-decoration: none;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-logo span {
    font-weight: 700;
    color: #4285f4;
}

.footer-brand p {
    color: #5f6368;
    line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #202124;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #5f6368;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #4285f4;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    color: #202124;
    font-size: 1.2rem;
    transition: transform 0.2s, color 0.2s;
}

.social-icons a:hover {
    color: #4285f4;
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding: 30px 40px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    color: #9aa0a6;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}