/* CSS Variables & Reset */
:root {
    --bg-color: #101010;
    --text-primary: #EAEFFF;
    --text-secondary: #999999;
    --accent: #EAEFFF;
    --accent-glow: rgba(234, 239, 255, 0.15);
    --surface: #1A1A1A;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --heading-size: 2.2rem;
    --marquee-size: 8vw;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Background Glows */
.background-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(60, 100, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
    filter: blur(80px);
}

.background-glow.left {
    top: -100px;
    left: -200px;
}

.background-glow.right {
    bottom: -100px;
    right: -200px;
    background: radial-gradient(circle, rgba(100, 60, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Header & Navigation */
#navbar {
    position: fixed;
    top: 24px;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 26, 26, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 16px;
    border-radius: 999px;
    min-width: 320px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    margin-right: 24px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: 24px;
}

.nav-links a {
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent);
    color: #101010;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 999px;
    font-size: 0.9rem;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px var(--accent-glow);
}

main {
    padding-top: 0;
}


.logo-text {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: 1.2rem;
    margin-bottom: 8px;
}


/* Build With Us Section */
.build-with-us-section {
    position: relative;
    padding: 150px 0 60px;
    /* Adjusted padding */
    overflow: hidden;
    background-image: url('../assets/build-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.build-with-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 16, 16, 0.4);
    /* Reduced opacity to let image show through more */
    z-index: 1;
}

.build-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 200px;
    /* Space between content and footer */
}

/* ... title and other styles remain same ... */
.build-title {
    font-size: clamp(3rem, 7vw, 7rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.2);
    /* Slightly more visible */
    text-transform: uppercase;
}

.build-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.build-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-build {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
    padding: 16px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-build:hover {
    background: var(--text-primary);
    color: #101010;
    transform: translateY(-2px);
}

.build-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.branding-left {
    text-align: left;
}

.branding-left .logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.branding-left .copyright {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.connect-right {
    text-align: right;
}

.build-footer-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    /* Muted */
    margin-bottom: 5px;
}

.build-footer-link {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.build-footer-link:hover {
    color: var(--text-primary);
}

.relative-z {
    position: relative;
    z-index: 10;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    overflow-y: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--surface);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 60px 40px 40px;
    margin: 40px 20px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Contact Modal */
.contact-modal {
    max-width: 600px;
    padding: 80px 50px 50px;
}

.contact-modal h2 {
    font-size: 1.6rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-option-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-family: var(--font-body);
}

.contact-option-btn.book-call {
    background: var(--accent);
    color: #101010;
    border: 2px solid var(--accent);
}

.contact-option-btn.book-call:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(234, 239, 255, 0.4);
}

.contact-option-btn.request-services {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.contact-option-btn.request-services:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.03);
}



/* Request Services Modal */
.request-services-modal {
    max-width: 800px;
    padding: 70px 50px 50px;
}

.request-services-modal h2 {
    position: absolute;
    top: 30px;
    left: 50px;
    font-size: 1.8rem;
    font-weight: 600;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    gap: 0;
}

.progress-step {
    display: flex;
    align-items: center;
}

.step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.progress-step.active .step-circle {
    background: var(--accent);
    color: #101010;
}

.progress-step.completed .step-circle {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.progress-step.completed .step-circle::after {
    content: '✓';
}

.step-line {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

.progress-step.completed .step-line {
    background: rgba(255, 255, 255, 0.3);
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-description {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.services-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.service-option:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.2);
}

.service-option input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: var(--accent);
}

.service-label {
    font-size: 1rem;
    color: var(--text-primary);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.required {
    color: #ff6b6b;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
}

.btn-next,
.btn-back,
.btn-submit {
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-next,
.btn-submit {
    background: var(--accent);
    color: #101010;
    border: none;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(234, 239, 255, 0.4);
}

.btn-back {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.05);
}

.review-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
    margin: 30px 0;
}

.review-section h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    color: var(--text-secondary);
    font-weight: 500;
}

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

@media (max-width: 1024px) {
    .calendar-container {
        grid-template-columns: 1fr;
    }

    .calendar-right {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-left: 0;
        padding-top: 40px;
    }
}

@media (max-width: 768px) {
    .build-footer {
        text-align: center;
    }

    .services-options {
        grid-template-columns: 1fr;
    }

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

    .timeslots-container {
        grid-template-columns: 1fr;
    }

    .contact-modal {
        padding: 60px 30px 30px;
    }

    .request-services-modal {
        padding: 60px 30px 30px;
    }

    .calendar-modal {
        padding: 60px 20px 30px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 30px;
    position: relative;
    color: var(--text-primary);
}

.highlight-circle,
.highlight-underline {
    position: relative;
    display: inline-block;
    z-index: 1;
}

.hand-shape {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
    overflow: visible;
    color: var(--text-primary);
    opacity: 0.8;
}

.hand-shape.circle {
    width: 130%;
    height: 140%;
    top: 55%;
}

.hand-shape.underline {
    width: 110%;
    height: 100%;
    top: 90%;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    color: rgba(234, 239, 255, 0.85);
    /* Brightened for better visibility */
    margin-bottom: 60px;
}

.arrow-down-btn {
    display: inline-flex;
    margin-top: 40px;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

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

    60% {
        transform: translateY(-5px);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Services Section */
.services-section {
    position: relative;
    padding: 100px 0;
    padding-top: 50px;
    overflow: hidden;
}

.services-marquee-bg {
    position: relative;
    width: 100%;
    padding-bottom: 40px;
    overflow: hidden;
}

.services-marquee-bg .marquee-content {
    display: flex;
    animation: scrollLeftToRight 40s linear infinite;
}

.services-marquee-bg .marquee-content span {
    color: #2a2a2a;
    font-size: var(--marquee-size);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

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

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 0;
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

.service-card {
    background: rgba(30, 30, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 40px 30px;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(234, 239, 255, 0.2);
    background: rgba(40, 40, 40, 0.6);
}

.service-card h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    position: relative;
    z-index: 2;
    max-width: 80%;
    letter-spacing: -0.02em;
}

.service-card-graphic {
    position: absolute;
    bottom: -15%;
    right: -10%;
    width: 90%;
    height: 90%;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease;
}

.service-card:hover .service-card-graphic {
    transform: scale(1.15) rotate(-5deg) translate(-5%, -5%);
    opacity: 0.14;
}

.service-card-graphic svg {
    width: 100%;
    height: 100%;
}

.service-card-title {
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    position: relative;
    z-index: 2;
    max-width: 80%;
    letter-spacing: -0.02em;
}

.graphic-mobile,
.graphic-browser,
.graphic-deploy,
.graphic-ai {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Flow Section */
.flow-section {
    position: relative;
    padding: 100px 0;
    padding-top: 50px;
    overflow: hidden;
}

.flow-marquee-bg {
    position: relative;
    width: 100%;
    margin-bottom: 60px;
    overflow: hidden;
}

.flow-marquee-bg .marquee-content {
    display: flex;
    animation: scrollLeftToRight 50s linear infinite;
}

.flow-marquee-bg .marquee-content span {
    font-size: var(--marquee-size);
    color: #2a2a2a;
    line-height: 1;
    font-weight: 900;
    white-space: nowrap;
}

.flow-tabs-container {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.flow-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.flow-tab {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.3s ease;
    font-family: var(--font-body);
}

.flow-tab:hover,
.flow-tab.active {
    color: white;
}

.flow-tab.active::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 0;
    width: 100%;
    height: 2px;
    background: white;
}

.flow-content-wrapper {
    position: relative;
    z-index: 2;
    min-height: 400px;
}

.flow-step {
    display: none;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.flow-step.active {
    display: flex;
}

.step-image-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flow-step-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Reviews Section */
.reviews-section {
    position: relative;
    padding: 100px 0;
    padding-top: 50px;
    overflow: hidden;
}

.testimonials-marquee-bg {
    position: relative;
    width: 100%;
    padding-bottom: 40px;
    overflow: hidden;
}

.testimonials-marquee-bg .marquee-content {
    display: flex;
    animation: scrollLeftToRight 40s linear infinite;
}

.testimonials-marquee-bg .marquee-content span {
    color: #2a2a2a;
    font-size: var(--marquee-size);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.reviews-header {
    margin-bottom: 60px;
    position: relative;
}

.reviews-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.reviews-top-bar h3 {
    font-size: var(--heading-size);
    font-weight: 800;
}

.btn-review {
    background: white;
    color: black;
    border: none;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-review:hover {
    transform: scale(1.05);
}

.reviews-marquee {
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.reviews-track {
    display: flex;
    gap: 30px;
    animation: scrollReviews var(--marquee-duration, 30s) linear infinite;
    width: max-content;
}

.review-card {
    min-width: 350px;
    max-width: 350px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    flex-shrink: 0;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flag {
    font-size: 1.5rem;
}

.review-author h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.review-author p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

    100% {
        transform: translateX(var(--scroll-distance, -100%));
    }
}

/* Projects Section */
.projects-section {
    padding: 100px 0;
    padding-top: 50px;
    position: relative;
    overflow: hidden;
}

.projects-marquee-bg {
    position: relative;
    width: 100%;
    padding-bottom: 60px;
    overflow: hidden;
}

.projects-marquee-bg .marquee-content {
    display: flex;
    animation: scrollLeftToRight 40s linear infinite;
}

.projects-marquee-bg .marquee-content span {
    color: #2a2a2a;
    font-size: var(--marquee-size);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    white-space: nowrap;
}

.featured-project {
    display: flex;
    gap: 60px;
    margin-bottom: 100px;
    align-items: center;
}

.featured-project-image {
    flex: 0 0 450px;
    height: 350px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.project-logo {
    font-size: 8rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.featured-project-info {
    flex: 1;
}

.featured-project-info h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.project-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

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

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-view-project {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-view-project:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

.more-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.more-projects-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
}

.project-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-arrow {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
}

.nav-arrow:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.pagination-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    width: 24px;
    border-radius: 4px;
}

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

.small-project-card {
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

.small-project-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.project-icon {
    font-size: 5rem;
}

/* Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.hero-bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.6;
    mix-blend-mode: luminosity;
    /* Blends better with the dark background */
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.96);
    z-index: -1;
}

@media (max-width: 900px) {
    .featured-project {
        flex-direction: column;
        gap: 40px;
    }

    .featured-project-image {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .flow-step {
        flex-direction: column;
        text-align: center;
    }

    .flow-tabs {
        justify-content: center;
        gap: 20px;
    }
}

/* Carousel Styles */
.projects-carousel-window {
    overflow: hidden;
    width: 100%;
    padding: 10px 0 20px 0;
    /* Add space for shadow/hover */
}

.more-projects-grid {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
    /* Allow track to be as long as needed */
}

.small-project-card {
    flex: 0 0 350px;
    /* Fixed width for carousel items */
    width: 350px;
    text-decoration: none;
    /* remove underline from links */
    display: block;
}

.small-project-title {
    margin-top: 16px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.small-project-card:hover .small-project-title {
    color: var(--accent);
}

/* Project Details Page */
.project-details-main {
    padding-top: 120px;
    min-height: 100vh;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 40px;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: var(--text-primary);
    transform: translateX(-5px);
}

.project-details-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px;
    margin-bottom: 100px;
}

.project-details-header {
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
}

.project-details-header h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.project-details-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 800px;
}

.project-details-body h2 {
    font-size: 2rem;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.project-details-body h3 {
    font-size: 1.4rem;
    margin-top: 30px;
    margin-bottom: 16px;
    color: var(--accent);
}

.project-details-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.project-details-body ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.project-details-body li {
    margin-bottom: 10px;
}

/* Response for small screens */
@media (max-width: 768px) {
    .small-project-card {
        flex: 0 0 280px;
        width: 280px;
    }

    .project-details-content {
        padding: 30px;
    }

    .project-details-header h1 {
        font-size: 2rem;
    }
}