:root {
    /* Colors */
    --primary: rgb(79, 70, 229);
    --primary-light: rgb(99, 102, 241);
    --accent-start: rgb(79, 70, 229);
    --accent-end: #87CEFA;
    --gradient-accent: linear-gradient(135deg, var(--accent-start), var(--accent-end));
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --dark-bg: #121212;
    --text-main: #333333;
    --text-muted: #666666;
    --text-light: #f4f4f4;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
}

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

.font-signature {
    font-family: "Dancing Script", cursive;
    font-weight: 700;
}

.pre-title {
    color: #9370DB;
    /* Purple */
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--white);
    font-weight: 300;
}

img {
    max-width: 100%;
}

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

ul {
    list-style: none;
}

section {
    padding: 60px 0;
    /* Reduced from 100px */
}

/* ... (skip to Project Card updates) ... */

.section-title {
    margin-bottom: 10px;
}

.section-subtitle {
    margin-bottom: 50px;
    font-size: 1.1rem;
    color: var(--text-muted);
}

.project-overlay {
    /* Updated Gradient: More transparent top */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 75%, rgba(0, 0, 0, 0.9) 100%);
    padding: 30px;
}

.project-label {
    display: inline-block;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    /* White border */
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.project-content h3 {
    font-size: 1.5rem;
    /* Reduced from 2rem */
    color: #fff;
    font-weight: 600;
    margin: 0;
}

.project-btn-arrow {
    background: #000;
    /* Black background */
    border: none;
    color: #fff;
    /* White arrow */
    width: 50px;
    height: 50px;
}

.project-btn-arrow:hover {
    background: var(--primary);
    transform: rotate(45deg) scale(1.1);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    /* ... existing mobile styles ... */



    /* Full Width Carousel on Mobile */
    .projects .container {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .projects-swiper {
        padding: 0 !important;
        /* No padding inside swiper */
        padding-bottom: 60px !important;
        /* Keep bottom for pagination */
    }

    .project-card {
        border-radius: 0;
        /* Optional: squared edges for full width look, or keep rounded */
        height: 450px;
    }

    .project-header-container {
        padding: 0 20px !important;
        /* Keep padding for title text */
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* About Grid Specifics */
.about .grid-2 {
    grid-template-columns: 2fr 1fr;
    /* Wider text */
    align-items: start;
    /* Align to top */
}

.bg-light {
    background-color: var(--light-bg);
}

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

.highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Typography */
h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-weight: 600;
    white-space: normal;
    text-align: inherit;
    width: 100%;
}


/* ... (skip unmodified styles) ... */

/* Projects Swiper Main Container */
.projects {
    width: 100%;
    max-width: 100%;
    padding: 100px 0;
    overflow: hidden;
}

.projects .container {
    max-width: 100% !important;
    /* Full width for carousel */
    padding: 0 40px;
    /* Some padding for desktop edges */
}

/* Projects Swiper Internal */
.projects-swiper {
    padding: 50px 20px 80px !important;
}

.project-card {
    background-color: var(--white);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    height: 500px;
    /* Taller card */
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    /* Align content to bottom */
    padding: 30px;
    border: none;
    /* Removed border */
    backdrop-filter: none;
    /* Removed blur for clean image view, only gradient */
}

.project-content h3 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 600;
    margin: 5px 0 0 0;
}

.project-label {
    display: inline-block;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    /* Reduced from 0.9rem */
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: none;
    border: none;
    padding: 0;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
}

.project-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    flex-grow: 0;
}

.project-btn-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.project-btn-arrow:hover {
    transform: rotate(45deg);
    background: var(--white);
    color: var(--primary);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 600;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.testimonial-text {
    font-size: 1.1rem;
    /* Reduced from default */
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.5;
}

.testimonial-item {
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: #000;
    color: var(--white);
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta {
    background-color: #000;
    color: var(--white);
    padding: 10px 24px;
    font-size: 0.8rem;
}

.btn-outline {
    border-color: #000;
    color: #000;
}

.btn-outline:hover {
    background-color: #000;
    color: var(--white);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
}

.btn-outline-white:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

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

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
}

/* Header */
.main-header {
    height: var(--header-height);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    height: 70px;
}

.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-weight: 400;
    /* Light */
    font-size: 1.1rem;
    letter-spacing: 1px;
    font-family: 'Poppins', sans-serif;
    /* Reverted */
}

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

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.8;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--primary);
}

/* Mobile Menu Base Styles */
.mobile-menu-btn {
    display: none;
    /* Default hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1100;
    /* Higher than menu */
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-main);
    transition: var(--transition);
    border-radius: 3px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6.5px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.mobile-menu.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.mobile-nav-links a {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-main);
    text-transform: capitalize;
}

.mobile-nav-links .btn-cta {
    margin-top: 20px;
    padding: 15px 40px;
    font-size: 1.2rem;
    color: #fff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: #fff;
}

.hero-blobs-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: move 20s infinite alternate;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-start);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: #9370DB;
    /* Soft purple */
    bottom: -150px;
    left: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-end);
    top: 40%;
    left: 20%;
    animation-delay: -10s;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 100% 100%, transparent 10%, rgba(0, 0, 0, 0.03) 10%, rgba(0, 0, 0, 0.03) 10.5%, transparent 10.5%),
        radial-gradient(circle at 0 100%, transparent 10%, rgba(0, 0, 0, 0.03) 10%, rgba(0, 0, 0, 0.03) 10.5%, transparent 10.5%),
        radial-gradient(circle at 100% 0, transparent 10%, rgba(0, 0, 0, 0.03) 10%, rgba(0, 0, 0, 0.03) 10.5%, transparent 10.5%),
        radial-gradient(circle at 0 0, transparent 10%, rgba(0, 0, 0, 0.03) 10%, rgba(0, 0, 0, 0.03) 10.5%, transparent 10.5%);
    background-size: 60px 60px;
    mask-image: radial-gradient(circle at center, black 0%, transparent 80%);
    pointer-events: none;
    /* Fix: Allow clicks to pass through */
    z-index: 0;
}

@keyframes move {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(50px, 100px) scale(1.1);
    }
}

.hero-content {
    max-width: 1060px;
    margin: 0 auto;
    text-align: center;
}

.hero .highlight {
    background: none;
    -webkit-text-fill-color: inherit;
    color: inherit;
    position: relative;
    display: inline-block;
}

.hero .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--gradient-accent);
    opacity: 0.3;
    z-index: -1;
    transform: skewX(-15deg);
}

.subtitle {
    font-size: 1.4rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* About Section */
.about-text strong {
    font-weight: 600;
}

.about-stats {
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    gap: 30px;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex: 1;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 4.5rem;
    font-weight: 300;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Services */
.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.service-card {
    padding: 40px;
    background: var(--white);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-start);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    color: var(--accent-start);
    /* Default color fallback */
}

/* Service Icon Specific Colors */
.service-icon.discovery svg {
    stroke: #FF6B6B;
}

.service-icon.ux svg {
    stroke: #4ECDC4;
}

.service-icon.ui svg {
    stroke: #A06CD5;
}

/* Stack Cloud Removed */
.stack-cloud {
    display: none;
}

/* Bento Grid Projects */
.projects {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    overflow: hidden;
    padding: 80px 0;
}

.projects h2 {
    text-align: center;
    margin-bottom: 10px;
}

.projects .container {
    max-width: var(--container-width) !important;
    padding: 0 20px !important;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}

.project-card {
    display: block;
    /* For anchor tags */
    text-decoration: none;
    /* Remove underline */
    color: inherit;
    /* Keep text color */
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    height: 100%;
    /* Fill grid cell */
    width: 100%;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Grid Spans */
.span-2 {
    grid-column: span 2;
}

.row-span-2 {
    grid-row: span 2;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 300px;
    }

    .span-2 {
        grid-column: span 1;
        /* Reset on smaller screens if needed, or keep */
    }

    .project-card.span-2 {
        grid-column: span 2;
        /* Keep wide cards wide on tablet */
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .span-2,
    .row-span-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    .project-card.row-span-2 {
        height: 250px;
        /* Reset height */
    }
}

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

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient: Transparent top, Darker bottom */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    border: none;
    backdrop-filter: none;
}

.project-label {
    display: inline-block;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    position: static;
    background: rgba(3, 3, 3, 0.1);
    border: 1px solid #fff;
    /* White border */
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    align-self: flex-start;
    /* Align left */
}

.project-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 0;
    width: 100%;
}

.project-content h3 {
    font-size: 1.3rem;
    /* Reduced size */
    color: #fff;
    font-weight: 600;
    margin: 5px 0 0 0;
}

.project-btn-arrow {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #000;
    /* Black background */
    border: none;
    /* Removed white border */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-btn-arrow:hover {
    transform: rotate(45deg) scale(1.1);
    background: var(--primary);
}

/* Service Icons Update (force updated color) */
.service-icon.discovery svg {
    stroke: var(--primary);
}

.service-icon.ux svg {
    stroke: var(--primary);
}

.service-icon.ui svg {
    stroke: var(--primary);
}

/* Swiper Controls Customization */
.projects-swiper {
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.swiper-button-next,
.swiper-button-prev {
    top: 35% !important;
    /* Moved up */
    color: var(--primary) !important;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
}

.swiper-pagination-bullet-active {
    background: var(--accent-start) !important;
}

/* Testimonials */
.testimonials-swiper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding-bottom: 60px !important;
    /* Space for pagination */
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 30px;
    position: relative;
    font-weight: 200;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    font-weight: 300;
}

.testimonial-author strong {
    font-weight: 600;
}

.linkedin-tag {
    color: var(--primary);
    font-size: 0.8rem;
    margin-left: 10px;
}

/* Contact Section */
.dark-section {
    background-color: var(--dark-bg);
    color: var(--white);
    position: relative;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 30px 30px;
}

.contact-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Footer */
.main-footer {
    background-color: var(--white);
    color: var(--text-main);
    padding: 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-footer a {
    color: var(--text-muted);
}

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

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 2000;
    display: flex;
    justify-content: center;
    transition: var(--transition);
}

.cookie-banner.hidden {
    transform: translateY(150%);
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: var(--container-width);
    width: 100%;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    margin-left: auto;
}

.btn-small {
    padding: 8px 18px;
    font-size: 0.85rem;
    background: var(--primary);
    color: #fff;
}

.btn-ghost {
    padding: 8px 18px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Project Detail Page */
.project-detail-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
    /* Fix clickability */
}

/* Ensure h3 matches h2 color */
/* Ensure h3 matches h2 color ONLY on detail pages/sections */
.detail-page h3,
.project-detail-hero h3 {
    color: var(--text-main);
}

/* Explicitly enforce white text for project cards on home */
.project-card h3 {
    color: var(--white) !important;
}

.project-content {
    padding: 0;
}

.detail-info-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 20px;
}

.detail-info-card h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.detail-info-card ul li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.detail-info-card ul li strong {
    color: var(--primary);
}

/* Responsive */
@media (max-width: 900px) {
    h1 {
        font-size: 3rem;
        white-space: normal;
    }
}

@media (max-width: 768px) {

    /* Hide Desktop Menu & CTA */
    .nav-links,
    .desktop-only {
        display: none !important;
    }

    /* Show Mobile Hamburger */
    .mobile-menu-btn {
        display: flex;
    }

    /* Mobile Menu Overlay Styles located in Header section */

    /* Hero Responsive */
    .hero {
        height: auto;
        min-height: 90vh;
        padding-top: 100px;
    }

    h1 {
        font-size: 2.2rem !important;
        white-space: normal !important;
        word-wrap: break-word;
        line-height: 1.3;
        width: 100%;
    }

    .hero-content {
        padding: 0 20px;
    }

    /* Global Section Title Adjustments */
    .section-title,
    h2 {
        margin-bottom: 20px !important;
        /* Reduced from 30px */
    }

    /* Projects Mobile Full Width */
    .projects .container {
        padding: 0 20px !important;
        /* Added side padding */
        max-width: 100% !important;
    }

    .project-header-container {
        padding: 0 20px !important;
        /* Keep padding for title */
    }

    .projects-swiper {
        padding-left: 0 !important;
        padding-right: 0 !important;
        padding-bottom: 60px !important;
    }

    .bento-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        /* Space between cards */
    }

    .project-card {
        border-radius: 20px;
        /* Kept rounded */
        margin: 0;
        height: 350px !important;
        /* Consistent resizing */
    }

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

    .about-stats {
        flex-direction: row;
        /* Stats themselves horizontal or grid? User asked for "below text". Let's keep them usable */
        flex-wrap: wrap;
        width: 100%;
        gap: 15px;
        order: 2;
        /* Ensure it is below text */
    }

    .stat-card {
        flex: 1;
        min-width: 140px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        margin-bottom: 0 !important;
    }

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

    /* Hide Carousel Arrows on Mobile */
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .projects-swiper,
    .testimonials-swiper {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .projects-swiper {
        padding-bottom: 60px !important;
    }

    .stack-cloud {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Cookie Banner Mobile */
    .cookie-banner {
        left: 0;
        bottom: 0;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        padding: 20px;
        box-sizing: border-box;
        /* Prevent scroll */
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .cookie-buttons {
        margin: 10px 0 0 0;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .cookie-buttons .btn {
        width: 100%;
        margin: 0;
    }

    /* Testimonials Mobile */
    .testimonial-text {
        font-size: 1rem !important;
        /* Reduced */
    }

    /* Contact Actions Mobile */
    .contact-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .contact-actions .btn {
        width: 100%;
        margin: 0;
    }

    /* Footer Mobile Reorder */
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom a {
        order: 1;
        /* Cookie Link first */
        margin-bottom: 5px;
    }

    .footer-bottom p {
        order: 2;
        /* Copyright second */
    }
}

/* Cookie Button Specifics */
.btn-cookie-primary,
.btn-cookie-outline,
.btn-cookie-gray {
    text-transform: none;
    /* Disable uppercase */
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: normal;
    transition: all 0.2s ease;
    border-radius: 50px;
}

.btn-cookie-primary {
    background-color: var(--primary);
    /* Purple */
    color: white;
    border: 1px solid var(--primary);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

.btn-cookie-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
}

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

.btn-cookie-outline:hover {
    background-color: rgba(79, 70, 229, 0.05);
    transform: translateY(-2px);
}

.btn-cookie-gray {
    background-color: #F3F4F6;
    /* Light gray */
    color: #374151;
    /* Dark gray text */
    border: 1px solid #F3F4F6;
}

.btn-cookie-gray:hover {
    background-color: #E5E7EB;
    color: #111827;
}

/* Cookie Modal */
.cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.cookie-modal.hidden {
    display: none;
}

.cookie-modal-content {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    max-width: 730px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.cookie-modal-content h3 {
    margin-top: 0;
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.cookie-option {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1rem;
    flex-wrap: wrap;
}

.cookie-description {
    width: 100%;
    font-size: 0.85rem;
    color: #666;
    margin-top: -10px;
    margin-bottom: 10px;
    margin-left: 66px;
    line-height: 1.4;
}

/* Removed old checkbox styles */
.cookie-modal-actions {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

/* Cookie Link */
.cookie-link {
    color: #9370DB;
    /* Purple */
    text-decoration: underline;
    font-weight: 600;
}

/* Modal Close X */
.cookie-modal-content {
    position: relative;
    /* ... existing styles ... */
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--text-main);
}

/* Switch Styles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--primary);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--primary);
}

input:checked+.slider:before {
    transform: translateX(22px);
}

input:disabled+.slider {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

.option-label {
    cursor: pointer;
    user-select: none;
}

/* Feature List Styling */
.feature-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
}

.feature-list li {
    margin-bottom: 20px;
    /* More space between items */
    padding-left: 20px;
    border-left: 3px solid var(--primary);
    /* Accent line */
    line-height: 1.6;
}

/* Luntia Refactor Styles */
.project-mini-hero {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.project-mini-hero.split-hero {
    padding: 0;
    text-align: left;
    display: flex;
}

.hero-split-content {
    display: flex;
    width: 100%;
    min-height: 600px;
    align-items: stretch;
}

.hero-text-side {
    width: 55%;
    display: flex;
    align-items: center;
    padding: 120px 4% 80px calc((100vw - var(--container-width)) / 2 + 5%);
    background: transparent;
}

@media (max-width: 1260px) {
    .hero-text-side {
        padding-left: 5%;
    }
}


.hero-text-inner {
    max-width: 500px;
}

.hero-image-side {
    width: 45%;
    display: flex;
}

.hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

@media (max-width: 900px) {
    .hero-split-content {
        flex-direction: column;
        min-height: auto;
    }

    .hero-text-side,
    .hero-image-side {
        width: 100%;
    }

    .hero-text-side {
        padding: 120px 20px 40px;
    }

    .hero-image-side img {
        height: 350px;
    }
}

.full-width-project-img {
    width: 100%;
    height: 60vh;
    min-height: 400px;
    object-fit: cover;
    display: block;
}

.project-description {
    line-height: 1.8;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    opacity: 0.9;
}

.project-description strong,
.process-detail-block strong {
    font-weight: 600;
}

/* List Formatting in Projects */
.project-description ul,
.process-detail-block ul {
    list-style-type: disc;
    padding-left: 20px;
    margin: 20px 0;
}

.project-description ul li,
.process-detail-block ul li {
    margin-bottom: 10px;
}

.project-info-grid-section {
    background-color: var(--light-bg);
    /* Changed from dark-bg to light */
    color: var(--text-main);
    /* Changed from white to main text */
    padding: 20px 0;
}

.project-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.info-grid-item h4 {
    font-size: 1.5rem;
    /* Large like "Duration" in example */
    margin-bottom: 20px;
    font-weight: 600;
    /* Darker weight for contrast on light bg */
    font-family: 'Outfit', sans-serif;
    /* Use heading font */
    color: var(--primary);
    /* Accent color for headers */
}

.info-grid-item ul {
    list-style: disc;
    /* Bullet points like example */
    padding-left: 20px;
    opacity: 0.9;
}

.info-grid-item ul li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 300;
}

/* Process Timeline Styles */
.process-section {
    padding: 40px 0;
    /* Reduced from 100px */
    background-color: var(--light-bg);
    /* Changed to light gray */
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
    width: 100%;
    /* Full Width */
    padding: 0 5%;
    /* Side padding */
    box-sizing: border-box;
    /* removed max-width and auto margins */
    /* margin-bottom removed as details are in new section */
}

.process-details-container {
    max-width: 800px;
    margin: 0 auto;
}

.process-detail-block {
    margin-bottom: 80px;
    /* Removed border-left and padding-left */
}

.process-detail-block:last-child {
    margin-bottom: 0;
}

.process-detail-block h3 {
    font-size: 1.8rem;
    color: var(--text-main);
    /* Changed from primary to dark text */
    margin-bottom: 15px;
    font-weight: 600;
}

.process-detail-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-main);
    opacity: 0.9;
}

/* Connecting Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    /* Center of circle (60px / 2) */
    left: 0;
    right: 0;
    height: 1px;
    background: #E5E7EB;
    /* Light gray line */
    z-index: 0;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    /* Above line */
    width: auto;
    /* Flexible width */
    padding: 0 10px;
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    /* Circle border */
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    box-shadow: 0 0 0 10px var(--white);
    /* White halo to mask line */
}

.step-label {
    font-size: 1.1rem;
    /* Increased from 0.9rem */
    font-weight: 600;
    /* Slightly bolder */
    color: var(--text-main);
    line-height: 1.4;
}

/* Mobile responsive for grid */
@media (max-width: 900px) {
    .project-info-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns tablet */
        gap: 30px;
    }

    /* Vertical Process on Mobile */
    .process-steps {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-left: 0;
    }

    .process-steps::before {
        display: none;
    }

    .step-item {
        flex-direction: row;
        /* Horizontal item */
        width: 100%;
        text-align: left;
        gap: 20px;
    }

    .step-number {
        margin-bottom: 0;
        /* Inline */
        flex-shrink: 0;
    }
}

@media (max-width: 600px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .full-width-project-img {
        height: 300px;
    }

    .wireframes-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
    }

    .ui-swiper {
        width: 100%;
        padding: 10px 0 10px !important;
        /* Reduced vertical spacing */
    }

    .ui-swiper .swiper-slide {
        padding: 0;
        /* Remove explicit side padding */
    }

    .ui-swiper .swiper-slide img {
        border-radius: 20px;
        box-shadow: none;
        /* Remove shadow */
        background: transparent;
        /* Remove background */
    }
}

@media (max-width: 900px) {
    .wireframes-grid {
        grid-template-columns: 1fr 1fr !important;
    }
}

@media (max-width: 600px) {
    .project-info-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .full-width-project-img {
        height: 300px;
    }

    .wireframes-grid {
        grid-template-columns: 1fr !important;
        /* 1 column on mobile for large view */
        gap: 20px !important;
    }

    .ui-swiper .swiper-slide {
        padding: 0 10px;
    }

    .info-grid-item ul li {
        margin-bottom: 0;
    }

    /* Reduce section paddings on mobile */
    .process-details-section,
    .ui-design-carousel-section,
    .next-projects,
    .contact-cta,
    .services,
    .about,
    .projects,
    .process-section {
        padding: 50px 0 !important;
        /* Unified to 50px (under 60px max) */
    }

    .contact-cta h2 {
        line-height: 1.1 !important;
        font-size: 2.2rem !important;
    }

    .process-section .section-title {
        text-align: left !important;
        padding: 0 5%;
    }

    .process-steps {
        margin-top: 30px !important;
        padding: 0 5% !important;
        gap: 14px !important;
        /* Increase vertical spacing */
    }

    .step-number {
        width: 45px;
        height: 45px;
        min-width: 45px;
        /* Prevent shrinking */
        font-size: 1rem;
        box-shadow: 0 0 0 5px var(--white);
        /* Smaller halo */
    }

    .step-item {
        gap: 15px;
        /* Space between circle and text */
    }
}

/* Global Carousel Pagination */
.ui-swiper .swiper-pagination {
    position: relative !important;
    margin-top: 40px !important;
    bottom: 0 !important;
}

@media (max-width: 768px) {
    .blob {
        opacity: 0.08;
        /* Make background more subtle on mobile */
    }

    .hero h1,
    #project-title {
        font-size: 2.4rem;
    }

    .hero .subtitle,
    #project-subtitle {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .project-content h3 {
        font-size: 1.1rem;
    }

    .project-label {
        font-size: 0.7rem;
        padding: 3px 10px;
        margin-bottom: 3px;
    }

    .project-overlay {
        padding: 24px;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.4) 70%, rgba(0, 0, 0, 0.9) 100%);
    }
}