/* ============================================
   CirQMind Landing Page v1.0 - Main Styles
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --cirq-green: #4CB050;
    --cirq-green-light: #6BC76F;
    --cirq-green-dark: #3D9142;
    --cirq-blue: #0077B6;
    --cirq-blue-light: #0096E0;
    --cirq-blue-dark: #005A8C;
    --cirq-dark: #003D5B;
    --cirq-darker: #002A3F;
    --cirq-teal: #00796B;

    --white: #FFFFFF;
    --gray-50: #F8FAFA;
    --gray-100: #F1F5F5;
    --gray-200: #E2E8E8;
    --gray-300: #CBD5D5;
    --gray-400: #94A3A3;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;

    /* Typography */
    --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 60px;
    --section-padding-mobile: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 61, 91, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 61, 91, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 61, 91, 0.16);

    /* Blob colors with transparency - VISIBLE VERSION */
    --blob-green: rgba(76, 176, 80, 0.6);
    --blob-green-light: rgba(107, 199, 111, 0.5);
    --blob-blue: rgba(0, 119, 182, 0.5);
    --blob-blue-light: rgba(0, 150, 224, 0.4);
    --blob-blue-light: rgba(0, 150, 224, 0.4);
}

.text-cirq-green {
    color: var(--cirq-green);
}

.text-cirq-blue {
    color: var(--cirq-blue);
}

.text-gray-500 {
    color: var(--gray-500);
}

/* ============================================
   Decorative Blob Animations
   ============================================ */
@keyframes floatBlob {

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

    25% {
        transform: translate(10px, -15px) rotate(3deg) scale(1.02);
    }

    50% {
        transform: translate(-5px, -25px) rotate(-2deg) scale(0.98);
    }

    75% {
        transform: translate(-15px, -10px) rotate(4deg) scale(1.01);
    }
}

@keyframes floatBlobReverse {

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

    25% {
        transform: translate(-10px, 10px) rotate(-3deg) scale(0.98);
    }

    50% {
        transform: translate(5px, 20px) rotate(2deg) scale(1.02);
    }

    75% {
        transform: translate(15px, 5px) rotate(-4deg) scale(0.99);
    }
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 0.3;
        filter: blur(60px);
    }

    50% {
        opacity: 0.5;
        filter: blur(80px);
    }
}

/* Scroll reveal animation */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }

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

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* Scroll reveal classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background-color: transparent;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
    /* Above decorative blobs */
}

/* Section Base */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 2;
    /* Above decorative blobs */
}

.section-label {
    display: inline-block;
    font-size: 14px;
    font-weight: 600;
    color: var(--cirq-green);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-label.center {
    display: block;
    text-align: center;
}

.section-title {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 700;
    color: var(--cirq-dark);
    line-height: 1.2;
    margin-bottom: 24px;
}

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

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-xl);
    transition: var(--transition-base);
}

.btn-primary {
    background: linear-gradient(135deg, var(--cirq-green), var(--cirq-green-dark));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(76, 176, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76, 176, 80, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--cirq-blue);
    border: 2px solid var(--cirq-blue);
}

.btn-secondary:hover {
    background: var(--cirq-blue);
    color: var(--white);
}

/* ============================================
   Header & Navigation
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.floating {
    top: 20px;
    width: 90%;
    max-width: 1000px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 61, 91, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-600);
    position: relative;
}

.nav-links a:hover {
    color: var(--cirq-green);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cirq-green);
    transition: var(--transition-base);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1500;
}

.nav-toggle span {
    width: 100%;
    height: 3px;
    background: var(--gray-700);
    border-radius: 3px;
    transition: all 0.3s ease-in-out;
    transform-origin: left center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
}

/* Language Switcher */
.lang-switch {
    font-size: 24px;
    text-decoration: none;
    margin-left: 16px;
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.lang-switch:hover {
    transform: scale(1.15);
}

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

.hero-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(700px, 90vw);
    height: min(700px, 90vw);
    opacity: 0.15;
    pointer-events: none;
    animation: rotateCircle 60s linear infinite;
}

@keyframes rotateCircle {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.hero-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 0;
}

.hero-logo {
    max-width: 300px;
    margin-bottom: 40px;
}

@media (max-width: 480px) {
    .hero-logo {
        max-width: 180px;
        margin-bottom: 24px;
    }
}

.hero-headline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
    margin-bottom: 20px;
}

.headline-word {
    font-size: clamp(24px, 4vw, 48px) !important;
    font-weight: 800;
    letter-spacing: 2px;
    white-space: nowrap;
}

.headline-word.green {
    color: var(--cirq-green);
}

.headline-word.blue {
    color: var(--cirq-blue);
}

.hero-tagline {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--gray-500);
    margin-bottom: 40px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-decoration-top {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--cirq-blue), var(--cirq-green));
    opacity: 0.15;
    border-radius: 50%;
    filter: blur(100px);
}

.hero-decoration-bottom {
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--cirq-green), var(--cirq-blue));
    opacity: 0.2;
    border-radius: 50%;
    filter: blur(80px);
}

/* ============================================
   Circular Process Section
   ============================================ */
.circular-process {
    position: relative;
    background: transparent;
    overflow: hidden;
    padding: 80px 0 120px;
}

.circular-process .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.circular-layout {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.process-circle-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 75%;
    opacity: 0.4;
    pointer-events: none;
}

.process-circle-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.process-center-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--cirq-blue);
    border-radius: 50%;
    z-index: 5;
}

.process-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.process-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    width: 180px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    border: 1px solid var(--gray-100);
}

.process-card:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* Position cards in circular arrangement */
.process-card.recycle {
    border: 2px solid var(--cirq-green);
    box-shadow: 0 4px 20px rgba(76, 176, 80, 0.15);
}

.process-card.rebuild {
    border: 2px solid var(--cirq-blue);
    box-shadow: 0 4px 20px rgba(0, 119, 182, 0.15);
}

.process-card.reuse {
    border: 2px solid #00A8CC;
    box-shadow: 0 4px 20px rgba(0, 168, 204, 0.15);
}

.process-card.reskill {
    border: 2px solid #00796B;
    box-shadow: 0 4px 20px rgba(0, 121, 107, 0.15);
}

.process-card.recycle {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-card.rebuild {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.process-card.reuse {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.process-card.reskill {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.process-card.recycle:hover {
    transform: translateX(-50%) scale(1.05);
}

.process-card.rebuild:hover {
    transform: translateY(-50%) scale(1.05);
}

.process-card.reuse:hover {
    transform: translateX(-50%) scale(1.05);
}

.process-card.reskill:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Mobile/Tablet Scaling for Circular Process */
@media (max-width: 900px) {
    .circular-process .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .circular-layout {
        transform: none;
        /* Removed scale(0.55) */
        transform-origin: center center;
        margin: 0 auto;
        width: 100%;
        max-width: 100%;
        /* Full width */
    }

    .process-center-dot,
    .process-circle-bg {
        display: block;
    }

    .process-cards {
        position: relative;
        /* Not absolute */
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        /* Spacing between cards */
        width: 100%;
        height: auto;
        padding: 0 10px;
    }

    /* Reset override and set relative positioning */
    .process-card,
    .process-card.recycle,
    .process-card.rebuild,
    .process-card.reuse,
    .process-card.reskill {
        position: relative !important;
        /* Grid items */
        width: 100%;
        /* Fill grid cell */
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin: 0;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    /* Remove specific positioning logic since grid handles it */
    .process-card.recycle {
        order: 1;
    }

    .process-card.rebuild {
        order: 2;
    }

    .process-card.reskill {
        order: 3;
    }

    /* Left bottom */
    .process-card.reuse {
        order: 4;
    }

    /* Right bottom */

    /* Hover effects need to keep position - simplified */
    .process-card:hover {
        transform: scale(1.02) !important;
        z-index: 2;
    }

    /* Hover effects need to keep position */
    .process-card.recycle:hover {
        transform: translateX(-50%) scale(1.05);
    }

    .process-card.rebuild:hover {
        transform: translateY(-50%) scale(1.05);
    }

    .process-card.reuse:hover {
        transform: translateX(-50%) scale(1.05);
    }

    .process-card.reskill:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.card-title.green {
    color: var(--cirq-green);
}

.card-title.blue {
    color: var(--cirq-blue);
}

.card-description {
    font-size: 13px;
    color: var(--gray-500);
    line-height: 1.5;
}

/* Side Content */
.circular-side-content {
    padding-left: 40px;
}

.circular-side-content .section-title {
    font-size: clamp(28px, 4vw, 40px);
    color: var(--cirq-dark);
    margin-bottom: 20px;
}

.circular-side-content p {
    color: var(--gray-600);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

/* Responsive Circular Process */
@media (max-width: 1024px) {
    .circular-process .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .circular-layout {
        max-width: 500px;
    }

    .circular-side-content {
        padding-left: 0;
        text-align: center;
    }

    .process-card {
        width: 150px;
        padding: 16px 12px;
    }

    .card-icon {
        width: 50px;
        height: 50px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-description {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .circular-layout {
        max-width: 100%;
        margin-bottom: 80px;
        aspect-ratio: auto;
        /* Prevent width explosion */
        height: auto;
    }

    /* Adjust background circle */
    .process-circle-bg {
        width: 110%;
        /* Make it slightly larger than the grid */
        height: 110%;
        opacity: 0.2;
        /* Subtler */
    }

    .process-cards {
        gap: 20px;
        /* Increased from 16px */
    }

    .process-card {
        width: 100%;
        /* Fill grid cell */
        padding: 12px 8px;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 8px;
    }

    .card-title {
        font-size: 12px;
        margin-bottom: 4px;
    }

    .card-description {
        font-size: 10px;
        line-height: 1.4;
    }
}

/* ============================================
   4 R's Overview Bar
   ============================================ */
.four-rs-bar {
    background: transparent;
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .four-rs-bar {
        display: none;
    }
}

.rs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.rs-item {
    padding: 16px 16px;
    text-align: center;
    color: var(--white);
}

.rs-item h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.rs-item p {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.9;
    margin-bottom: 0;
}

.rs-item.green-bg {
    background: var(--cirq-green);
}

/* Connector Triangles */
.rs-connector {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid;
    z-index: 5;
}

.rs-item.green-bg {
    background: var(--cirq-green);
}

.rs-item.green-bg .rs-connector {
    border-top-color: var(--cirq-green);
}

.rs-item.blue-bg {
    background: var(--cirq-blue);
}

.rs-item.blue-bg .rs-connector {
    border-top-color: var(--cirq-blue);
}

.rs-item.light-blue-bg {
    background: #00A8CC;
}

.rs-item.light-blue-bg .rs-connector {
    border-top-color: #00A8CC;
}

.rs-item.teal-bg {
    background: #00796B;
}

.rs-item.teal-bg .rs-connector {
    border-top-color: #00796B;
}

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

    .rs-connector {
        display: none;
        /* Hide triangles on mobile as they stack */
    }
}

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

    .rs-item {
        padding: 16px;
    }
}

/* ============================================
   R Project Sections
   ============================================ */
/* ============================================
   R Project Sections
   ============================================ */
.r-project {
    padding: 30px 0;
    position: relative;
    overflow: hidden;
}

.r-project::before {
    display: none;
}

/* Section Colors - MASSIVE BORDERS for Visual Connection */
/* Section Colors - Backgrounds removed for card design */
.recycle-section,
.rebuild-section,
.reuse-section,
.reskill-section {
    background: transparent;
    border: none;
    padding-left: 0;
}

/* Adjust project badge to sit inside or near the border */
.r-project-header {
    margin-bottom: 8px;
    margin-left: -20px;
}

@media (max-width: 768px) {

    .recycle-section,
    .rebuild-section,
    .reuse-section,
    .reskill-section {
        border-left-width: 0;
        padding-left: 0;
    }
}

.r-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 1px;
}

.r-badge.green {
    background: var(--cirq-green);
}

.r-badge.blue {
    background: var(--cirq-blue);
}

.r-badge.light-blue {
    background: #00A8CC;
}

.r-badge.teal {
    background: #00796B;
}

.r-project-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    color: var(--cirq-dark);
    margin-bottom: 12px;
}

.r-project-intro {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-600);
    max-width: 900px;
    margin-bottom: 16px;
}

.r-project-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    align-items: center;
}

.r-project-content.reverse {
    grid-template-columns: 1fr 1.5fr;
}

.r-project-content.reverse .r-project-image {
    order: 2;
}

.r-project-content.reverse .r-project-logo {
    order: 1;
}

.r-project-image .image-placeholder.large {
    height: 220px;
    width: 100%;
    border-radius: var(--radius-lg);
}

.r-project-logo .image-placeholder.logo {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    max-width: 160px;
}

@media (max-width: 768px) {
    .rs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .r-project-content,
    .r-project-content.reverse {
        grid-template-columns: 1fr;
    }

    .r-project-content.reverse .r-project-image,
    .r-project-content.reverse .r-project-logo {
        order: unset;
    }

    .r-project-logo .image-placeholder.logo {
        max-width: 100%;
    }
}

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

    .rs-item {
        padding: 16px;
    }
}

/* Image Placeholders */
.image-placeholder {
    background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 14px;
    font-weight: 500;
    border: 2px dashed var(--gray-300);
    transition: var(--transition-base);
}

.image-placeholder:hover {
    border-color: var(--cirq-green);
    background: linear-gradient(135deg, var(--gray-50), var(--gray-100));
}

.image-placeholder span {
    padding: 20px;
    text-align: center;
}

.about-image .image-placeholder {
    aspect-ratio: 4/3;
}

/* ============================================
   Projects Section
   ============================================ */
.projects {
    background: transparent;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    margin-top: 40px;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cirq-green), var(--cirq-blue));
}

.project-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--cirq-green), var(--cirq-green-dark));
    color: var(--white);
    padding: 8px 20px;
    border-radius: var(--radius-xl);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
}

.project-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.project-images .image-placeholder.large {
    aspect-ratio: 16/10;
    margin-bottom: 16px;
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.project-gallery .image-placeholder.small {
    aspect-ratio: 1;
}

.project-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--cirq-dark);
    margin-bottom: 8px;
}

.project-subtitle {
    font-size: 18px;
    color: var(--cirq-green);
    font-weight: 500;
    margin-bottom: 20px;
}

.project-description {
    color: var(--gray-600);
    margin-bottom: 24px;
    line-height: 1.7;
}

.project-features {
    margin-bottom: 30px;
}

.project-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-600);
}

.project-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cirq-green);
    font-weight: 700;
}

/* ============================================
   Partners Section
   ============================================ */
.partners {
    background: transparent;
}

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

.partners-content p {
    color: var(--gray-600);
    margin-bottom: 30px;
    font-size: 17px;
}

.erasmus-badge {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.erasmus-badge .image-placeholder.badge {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
}

.erasmus-badge p {
    font-size: 14px;
    color: var(--gray-500);
    margin: 0;
}

.partners-logos {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.partners-logos .image-placeholder.partner {
    aspect-ratio: 16/9;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

/* ============================================
   Gallery Section
   ============================================ */
.gallery {
    background: transparent;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.gallery-grid .image-placeholder.gallery-item {
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-grid .image-placeholder.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Why CirQ Section
   ============================================ */
.why-cirq {
    background: transparent;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 50px;
}

.pillar-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--gray-100);
}

.pillar-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.pillar-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--cirq-dark);
    margin-bottom: 12px;
}

.pillar-card:nth-child(1) h3,
.pillar-card:nth-child(3) h3 {
    color: var(--cirq-green);
}

.pillar-card:nth-child(2) h3,
.pillar-card:nth-child(4) h3 {
    color: var(--cirq-blue);
}

.pillar-card p {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ============================================
   Roadmap Section
   ============================================ */
/* ============================================
   Roadmap Section (Redesign)
   ============================================ */
.roadmap {
    background: transparent;
    padding: 80px 0;
    overflow: hidden;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 60px auto 0;
    padding: 0 20px;
}

/* Central Green Line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--cirq-green);
    border-radius: 4px;
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    width: 50%;
    padding: 0 40px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Timeline Markers */
.timeline-marker {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--white);
    border: 4px solid var(--cirq-green);
    border-radius: 50%;
    z-index: 2;
}

.timeline-item.left .timeline-marker {
    right: -10px;
}

.timeline-item.right .timeline-marker {
    left: -10px;
}


.timeline-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--cirq-blue);
    margin-bottom: 12px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.6;
}

.timeline-image .image-placeholder.roadmap-img {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.timeline-image .image-placeholder.roadmap-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Decorative Blobs (pseudo-elements or helper classes could be used) */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--cirq-green);
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
}

.timeline-item.left::after {
    top: -20px;
    right: 50px;
}

.timeline-item.right::after {
    bottom: -10px;
    left: 60px;
    width: 30px;
    height: 30px;
    background: var(--cirq-blue);
}

@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 50px;
        padding-right: 0;
        text-align: left;
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
    }

    .timeline-item.left .timeline-marker,
    .timeline-item.right .timeline-marker {
        left: 10px;
        right: auto;
    }
}

/* ============================================
   Impact Stats Section
   ============================================ */
.stats-section {
    background: linear-gradient(135deg, var(--cirq-blue) 0%, #1a5a7a 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--white);
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.stat-icon svg {
    color: var(--white);
}

.stat-item:hover .stat-icon {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

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

    .stat-icon {
        width: 60px;
        height: 60px;
    }

    .stat-icon svg {
        width: 32px;
        height: 32px;
    }

    .stat-label {
        font-size: 0.75rem;
    }
}

/* ============================================
   Partners Section (Redesign)
   ============================================ */
.partners-redesign {
    position: relative;
    padding: 80px 0;
    background: transparent;
    overflow: hidden;
}

.partners-block {
    position: relative;
    margin-top: 40px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.partners-bg-decoration {
    position: absolute;
    top: 50%;
    left: -200px;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: var(--cirq-green);
    display: none;
    opacity: 0.1;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

/* Ensure the hero placeholder is large and nice */
.partners-hero.image-placeholder {
    width: 100%;
    aspect-ratio: 3/1;
    background: var(--white);
    border: 2px dashed var(--gray-200);
}

.footer-links a:hover {
    color: var(--cirq-green);
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--cirq-green);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--gray-500);
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-mobile) 0;
    }

    .nav-links {
        display: flex;
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--white);
        padding: 20px;
        gap: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
        transition: all 0.3s ease-in-out;
        transform: translateY(-10px);
        z-index: 1000;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid,
    .project-grid,
    .partners-grid,
    .contact-card {
        grid-template-columns: 1fr;
    }

    .gallery-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {

    .gallery-grid,
    .events-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 30px 20px;
    }

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

/* ============================================
   Testimonials Section (Trust Section Style)
   ============================================ */
.testimonials-section {
    background: var(--gray-50);
    padding: 80px 0;
}

.testimonials-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 32px;
}

.testimonials-left {
    flex: 0 0 200px;
    position: relative;
}

.testimonials-left .portrait-lg {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.testimonials-right {
    flex: 1;
}

.testimonials-right .trust-card p.quote-text {
    font-style: italic;
    font-size: 17px;
    line-height: 1.7;
    color: var(--gray-700);
}

.testimonials-right .trust-card p.quote-text:first-child::before {
    content: '"';
    font-size: 48px;
    color: var(--cirq-green);
    opacity: 0.4;
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 4px;
}

@media (max-width: 768px) {
    .testimonials-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .testimonials-left {
        flex: 0 0 auto;
    }
}

/* ============================================
   FAQ Section
   ============================================ */
.faq {
    background: transparent;
    padding: 100px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    border-color: var(--cirq-green);
    box-shadow: 0 4px 20px rgba(76, 175, 80, 0.1);
}

.faq-question {
    width: 100%;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: var(--cirq-dark);
    cursor: pointer;
    text-align: left;
}

.faq-question .icon {
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question .icon {
    transform: rotate(45deg);
    color: var(--cirq-green);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(248, 250, 250, 0.4);
}

.faq-item.active .faq-answer {
    max-height: 800px;
}

.faq-answer p {
    padding: 24px;
    padding-top: 0;
    color: var(--gray-600);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 16px;
        padding: 20px;
    }
}

/* ============================================
   Why Trust Us Section
   ============================================ */
.trust {
    background: transparent;
    overflow: hidden;
    /* For floaters */
}

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

.trust-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.trust-image-wrapper {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2px solid var(--cirq-blue);
    padding: 10px;
    /* Space between border and image if needed */
}

.trust-image-wrapper .image-placeholder.profile {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #eee;
}

.trust-image-wrapper::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 340px;
    height: 340px;
    border: 1px solid var(--cirq-blue);
    border-radius: 50%;
    z-index: -1;
}

.trust-caption {
    margin-top: 20px;
}

.trust-caption h4 {
    color: var(--cirq-blue);
    font-weight: 800;
    font-size: 18px;
    margin-bottom: 5px;
}

.trust-content {
    position: relative;
}

.trust-images-scattered {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.trust-images-scattered .small-scatter {
    width: 120px;
    height: 100px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.trust-text-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    position: relative;
}

.trust-text-card p {
    margin-bottom: 16px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   Target Group Section (Students/Company)
   ============================================ */
.section.target-group {
    background: transparent;
    padding: 100px 0;
}

.target-card {
    background: rgba(255, 255, 255, 0.6);
    border: none;
    border-radius: var(--radius-xl);
    padding: 60px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.target-grid-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: start;
}

.target-bottom-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding-top: 60px;
    border-top: 1px solid var(--gray-200);
}

.target-headline {
    color: var(--cirq-blue);
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 24px;
}

.target-headline.green {
    color: var(--cirq-green);
}

.target-col.text p,
.target-bottom-cta p {
    margin-bottom: 16px;
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.6;
}

.target-col.text .highlight {
    font-weight: 700;
    color: var(--cirq-dark);
}

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

    .target-grid-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ============================================
   Flip Cards Target Group Section
   ============================================ */
.section.target-group-flip {
    background: var(--white);
    padding: 100px 0;
}

.flip-cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin: 0 auto;
    max-width: 900px;
    perspective: 1000px;
}

/* Flip Card */
.flip-card {
    background-color: transparent;
    height: 600px;
    perspective: 1000px;
    cursor: pointer;
    border: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s cubic-bezier(0.4, 0.0, 0.2, 1);
    transform-style: preserve-3d;
    transform-origin: center center;
    will-change: transform;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Front Side - Image with Overlay */
.flip-card-front {
    position: relative;
}

.flip-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flip-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    padding: 40px 30px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 150px;
}

.flip-card-overlay h3 {
    color: var(--white);
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.5px;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Back Side - Text Content */
.flip-card-back {
    background: linear-gradient(135deg, var(--cirq-blue), var(--cirq-green));
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: left;
    align-items: center;
    /* Center vertically */
    justify-content: flex-start;
    /* Align content to start horizontally? No, user screenshot shows weird wrapping. Let's try standard block layout */
    flex-direction: column;
    justify-content: center;
}

.flip-card-content {
    color: var(--white);
    color: var(--white);
    text-align: left;
    width: 100%;
}

.flip-card-content h3 {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.flip-card-content p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    line-height: 1.6;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 14px;
}

/* Force white text on back */
.flip-card-back h3,
.flip-card-back h4,
.flip-card-back p,
.flip-card-back {
    color: var(--white) !important;
}

.flip-card-content .highlight {
    font-weight: 700;
    color: var(--white);
    font-size: 16px;
    margin-top: 20px;
}

/* Top CTA (swapped above flip cards) */
.target-bottom-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
}

.target-bottom-cta p {
    margin-bottom: 16px;
    color: var(--gray-600);
    font-size: 16px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px) {
    .flip-cards-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .flip-card {
        height: 500px;
    }

    .flip-card-overlay h3 {
        font-size: 24px;
    }

    .flip-card-content h3 {
        font-size: 20px;
    }

    .flip-card-content p {
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .flip-card {
        height: 450px;
    }

    .flip-card-back {
        padding: 30px 25px;
    }

    .target-bottom-cta {
        padding: 40px 30px;
    }
}


/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    background: transparent;
    padding: 100px 0;
    position: relative;
}

.contact-section::before {
    display: none;
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: linear-gradient(135deg, var(--cirq-green), var(--cirq-blue));
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-card {
    background: rgba(255, 255, 255, 0.6);
    padding: 60px;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    max-width: 900px;
    margin: 0 auto;
}

.contact-content {
    text-align: center;
    margin-bottom: 50px;
}

.contact-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--cirq-dark);
    margin-bottom: 16px;
}

.contact-content p {
    color: var(--gray-600);
    font-size: 17px;
    line-height: 1.6;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .contact-form .form-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-form label {
    font-size: 15px;
    font-weight: 600;
    color: var(--cirq-dark);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
    padding: 16px 20px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition-base);
    resize: vertical;
    background: var(--white);
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cirq-green);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.contact-form textarea {
    min-height: 150px;
}

.privacy-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-200);
}

.privacy-checkbox input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    accent-color: var(--cirq-green);
    cursor: pointer;
}

.privacy-checkbox label {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
    cursor: pointer;
    font-weight: 400;
}

.privacy-checkbox label a {
    color: var(--cirq-blue);
    text-decoration: underline;
    font-weight: 500;
}

.privacy-checkbox label a:hover {
    color: var(--cirq-green);
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 30px;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
}



/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--cirq-darker);
    color: var(--gray-300);
    padding: 60px 0 30px;
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 36px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 14px;
    font-weight: 600;
    text-transform: lowercase;
    transition: var(--transition-base);
}

.social-links a:hover {
    background: var(--cirq-green);
    color: var(--white);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-links a:hover {
    color: var(--cirq-green);
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-contact a {
    color: var(--cirq-green);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.6;
}

@media (max-width: 900px) {
    .contact-card {
        padding: 40px 30px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* ============================================
   Trust Section Redesign
   ============================================ */
.trust-redesign {
    background: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.section-title.italic {
    font-style: italic;
}

.trust-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: start;
}

.trust-portrait-col {
    position: relative;
}

.portrait-wrapper {
    position: relative;
}

.image-placeholder.portrait-large {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
}

.portrait-caption {
    margin-top: 16px;
}

.portrait-caption h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--cirq-blue);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.portrait-caption p {
    font-size: 13px;
    color: var(--gray-500);
}

.decorative-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--cirq-blue);
}

.decorative-dot.blue {
    top: 50%;
    right: -30px;
}

.decorative-dot.small {
    width: 12px;
    height: 12px;
    top: 60%;
    right: -50px;
}

.trust-images-col {
    display: flex;
    align-items: center;
}

.trust-images-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    width: 100%;
}

.image-placeholder.trust-img {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.image-placeholder.trust-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.trust-text-card-fullwidth {
    margin-top: 50px;
    padding: 40px;
    background: rgba(248, 250, 250, 0.6);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--cirq-blue);
}

.trust-text-card-fullwidth p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.trust-text-card-fullwidth p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Vision Section
   ============================================ */
.vision {
    position: relative;
    background: var(--white);
    padding: 80px 0;
    overflow: hidden;
}

.vision-text-card {
    max-width: 800px;
    padding: 40px;
    background: rgba(248, 250, 250, 0.6);
    border-radius: var(--radius-xl);
    border-left: 4px solid var(--cirq-green);
    margin-bottom: 60px;
}

.vision-text-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.vision-text-card p:last-child {
    margin-bottom: 0;
}

.vision-decoration {
    position: absolute;
    right: -150px;
    bottom: 50px;
    width: 400px;
    height: 400px;
    display: none;
    background: var(--cirq-green);
    opacity: 0.15;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.vision-images-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

.image-placeholder.vision-img {
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.image-placeholder.vision-img:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 900px) {
    .trust-layout {
        grid-template-columns: 1fr;
    }

    .trust-images-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* ============================================
   Trust Section (Simplified)
   ============================================ */
.trust {
    background: var(--white);
    padding: 80px 0;
}

.trust-images-row {
    display: flex;
    gap: 16px;
    margin-top: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.trust-portrait-item {
    flex: 0 0 auto;
}

.image-placeholder.portrait {
    width: 180px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
}

.portrait-caption {
    margin-top: 12px;
}

.portrait-caption h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--cirq-blue);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.portrait-caption p {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.4;
}

.image-placeholder.trust-img {
    flex: 1 1 140px;
    max-width: 180px;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
}

.trust-text-card {
    padding: 30px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.trust-text-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 12px;
}

.trust-text-card p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Vision Section (Simplified)
   ============================================ */
.vision {
    background: var(--white);
    padding: 80px 0;
}

.vision-text-card {
    max-width: 900px;
    padding: 30px;
    background: rgba(248, 250, 250, 0.6);
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

.vision-text-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 12px;
}

.vision-text-card p:last-child {
    margin-bottom: 0;
}

.vision-images-row {
    display: flex;
    gap: 24px;
}

.image-placeholder.vision-img {
    flex: 1;
    aspect-ratio: 4/3;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
}

@media (max-width: 768px) {
    .trust-images-row {
        flex-direction: column;
        align-items: center;
    }

    .image-placeholder.trust-img {
        max-width: 100%;
        width: 100%;
    }

    .vision-images-row {
        flex-direction: column;
    }
}

/* ============================================
   Trust Section - Reference Match
   ============================================ */
.trust-section {
    background: transparent;
    padding: 20px 0 80px;
}

.section-title.italic {
    font-style: italic;
}

.trust-layout {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    align-items: flex-start;
}

.trust-left {
    flex: 0 0 200px;
    position: relative;
}

.image-placeholder.portrait-lg {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
}

.portrait-info {
    margin-top: 16px;
}

.portrait-info h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--cirq-blue);
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.portrait-info p {
    font-size: 12px;
    color: var(--gray-500);
    line-height: 1.4;
}

.blue-dots {
    display: flex;
    gap: 8px;
    margin-top: 16px;
}

.blue-dots .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--cirq-blue);
}

.blue-dots .dot.small {
    width: 8px;
    height: 8px;
    opacity: 0.6;
}

.trust-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.collage-row {
    display: flex;
    gap: 16px;
}

.image-placeholder.collage-img {
    border-radius: var(--radius-lg);
    background: var(--gray-100);
}

.collage-img.tall {
    flex: 1;
    min-width: 0;
    aspect-ratio: 3/4;
    max-height: 180px;
}

.collage-img.wide {
    flex: 1.3;
    min-width: 0;
    aspect-ratio: 4/3;
    max-height: 160px;
}

.trust-card {
    margin-top: 50px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.trust-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.trust-card p:last-child {
    margin-bottom: 0;
}

/* ============================================
   Vision Section - Reference Match
   ============================================ */
.vision-section {
    background: transparent;
    padding: 80px 0;
}

.vision-card {
    padding: 30px 40px;
    background: rgba(255, 255, 255, 0.6);
    border-left: 4px solid var(--cirq-blue);
    border-radius: var(--radius-lg);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 60px;
}

.vision-card p {
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 16px;
}

.vision-card p:last-child {
    margin-bottom: 0;
}

.vision-images {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 48px;
}

.image-placeholder.vision-lg {
    flex: 1;
    max-width: 280px;
    aspect-ratio: 3/4;
    border-radius: var(--radius-lg);
    background: var(--gray-100);
}

/* Trust Quote Card - Hidden on desktop in OLD layout, shown on mobile via media query */
/* For the redesigned layout, .styled-quote is always visible */
.trust-quote-card {
    display: none;
}

.trust-quote-card.styled-quote {
    display: block;
    /* Styled quotes are always visible in the new 3-column layout */
}

@media (max-width: 900px) {
    .trust-layout {
        flex-direction: column;
        align-items: center;
    }

    .trust-left {
        flex: 0 0 auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: linear-gradient(135deg, rgba(0, 119, 182, 0.05) 0%, rgba(76, 175, 80, 0.05) 100%);
        padding: 24px;
        border-radius: var(--radius-lg);
        margin-bottom: 24px;
    }

    .trust-left img.portrait-lg {
        max-width: 120px;
        border-radius: 50%;
        border: 4px solid var(--white);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    }

    .trust-left .portrait-info {
        text-align: center;
        margin-top: 12px;
        margin-bottom: 16px;
    }

    /* Show quote card on mobile */
    .trust-quote-card {
        display: block;
        text-align: left;
        background: var(--white);
        border-radius: var(--radius-md);
        padding: 16px 20px;
        margin-top: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .trust-quote-card p {
        font-size: 14px;
        line-height: 1.6;
        margin-bottom: 12px;
    }

    .trust-quote-card p:last-child {
        margin-bottom: 0;
    }

    /* Hide desktop-only content on mobile */
    .trust-desktop-only {
        display: none;
    }

    .trust-right {
        width: 100%;
    }

    .collage-row {
        flex-wrap: wrap;
        justify-content: center;
    }

    .collage-row .collage-img {
        max-width: 45%;
        flex: 0 0 45%;
    }

    .vision-images {
        flex-direction: column;
        align-items: center;
    }

    .image-placeholder.vision-lg {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   Real Image Styling
   ============================================ */
img.portrait-lg {
    width: 100%;
    max-width: 200px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

img.collage-img {
    object-fit: cover;
    border-radius: var(--radius-lg);
    max-height: 180px;
}

img.collage-img.tall {
    flex: 1;
    min-width: 0;
    aspect-ratio: 3/4;
}

img.collage-img.wide {
    flex: 1.3;
    min-width: 0;
    aspect-ratio: 4/3;
}

img.vision-lg {
    flex: 1;
    max-width: 280px;
    aspect-ratio: 3/4;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    img.vision-lg {
        flex: 0 0 auto;
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   Project Logo Images (Real Images)
   ============================================ */
img.project-logo-img {
    width: 100%;
    max-width: 280px;
    height: auto;
    border-radius: var(--radius-lg);
    object-fit: contain;
}

/* Team photos with logos - larger size */
img.project-logo-img.team-photo {
    max-width: 350px;
}

/* Standalone logos without team photos - smaller size */
img.project-logo-img.logo-only {
    max-width: 150px;
}

/* ============================================
   Roadmap Images (Real Images)
   ============================================ */
img.roadmap-img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 200px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

/* ============================================
   Partners Hero Image
   ============================================ */
img.partners-hero-img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: var(--radius-lg);
    margin: 0 auto;
    display: block;
}

/* ============================================
   Decorative Blob Elements
   ============================================ */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.blob {
    position: absolute;
    will-change: transform;
}

/* Main Green Blob - TOP of page, LEFT side */
.blob-green-1 {
    width: 300px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(76, 176, 80, 0.45) 0%, rgba(76, 176, 80, 0.15) 50%, transparent 70%);
    top: 200px;
    left: -80px;
    border-radius: 50%;
    filter: blur(50px);
    animation: floatBlob 25s ease-in-out infinite;
}

/* Green blob - MIDDLE of page, LEFT side */
.blob-green-2 {
    width: 280px;
    height: 380px;
    background: radial-gradient(ellipse at center, rgba(76, 176, 80, 0.4) 0%, rgba(107, 199, 111, 0.15) 50%, transparent 70%);
    top: 1800px;
    left: -70px;
    border-radius: 50%;
    filter: blur(55px);
    animation: floatBlobReverse 22s ease-in-out infinite;
}

/* Green blob - BOTTOM of page, RIGHT side */
.blob-green-3 {
    width: 320px;
    height: 420px;
    background: radial-gradient(ellipse at center, rgba(76, 176, 80, 0.4) 0%, rgba(76, 176, 80, 0.12) 50%, transparent 70%);
    top: 3600px;
    right: -90px;
    border-radius: 50%;
    filter: blur(50px);
    animation: floatBlob 20s ease-in-out infinite 2s;
}

/* Blue Blob - TOP area, RIGHT side */
.blob-blue-1 {
    width: 350px;
    height: 450px;
    background: radial-gradient(ellipse at center, rgba(0, 119, 182, 0.4) 0%, rgba(0, 150, 224, 0.15) 50%, transparent 70%);
    top: 800px;
    right: -100px;
    border-radius: 50%;
    filter: blur(50px);
    animation: floatBlobReverse 28s ease-in-out infinite;
}

/* Blue blob - MIDDLE-BOTTOM, LEFT side */
.blob-blue-2 {
    width: 300px;
    height: 400px;
    background: radial-gradient(ellipse at center, rgba(0, 150, 224, 0.4) 0%, rgba(0, 119, 182, 0.12) 50%, transparent 70%);
    top: 2800px;
    left: -80px;
    border-radius: 50%;
    filter: blur(55px);
    animation: floatBlob 24s ease-in-out infinite;
}

/* Blue blob - BOTTOM, RIGHT side near footer */
.blob-blue-3 {
    width: 380px;
    height: 480px;
    background: radial-gradient(ellipse at center, rgba(0, 119, 182, 0.45) 0%, rgba(0, 90, 140, 0.15) 50%, transparent 70%);
    top: 4400px;
    right: -100px;
    border-radius: 50%;
    filter: blur(50px);
    animation: floatBlobReverse 22s ease-in-out infinite 3s;
}

/* Section-specific blob positioning */
.section {
    position: relative;
    overflow: visible;
}

/* Hero section blob */
.hero::before {
    display: none;
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--blob-green) 0%, transparent 60%);
    top: -15%;
    right: -10%;
    border-radius: 50%;
    filter: blur(80px);
    animation: pulseGlow 8s ease-in-out infinite;
    z-index: -1;
}

.hero::after {
    display: none;
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blob-blue) 0%, transparent 60%);
    bottom: -10%;
    left: -8%;
    border-radius: 50%;
    filter: blur(70px);
    animation: pulseGlow 10s ease-in-out infinite 2s;
    z-index: -1;
}

/* Trust section blobs */
.trust-section::before {
    display: none;
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--blob-green) 0%, transparent 60%);
    top: 10%;
    left: -8%;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatBlob 14s ease-in-out infinite;
    z-index: -1;
}

/* Vision section blobs */
.vision-section::after {
    display: none;
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--blob-blue) 0%, transparent 60%);
    bottom: 5%;
    right: -5%;
    border-radius: 50%;
    filter: blur(50px);
    animation: floatBlobReverse 16s ease-in-out infinite;
    z-index: -1;
}

/* Roadmap section accent */
.roadmap::before {
    display: none;
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--blob-green-light) 0%, transparent 60%);
    top: 20%;
    right: -10%;
    border-radius: 50%;
    filter: blur(70px);
    animation: floatBlob 18s ease-in-out infinite;
    z-index: -1;
}

/* Partners section blobs */
.partners-redesign::before {
    display: none;
    content: '';
    position: absolute;
    width: 300px;
    height: 500px;
    background: radial-gradient(ellipse, var(--blob-green) 0%, transparent 70%);
    top: 0;
    left: -5%;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatBlob 15s ease-in-out infinite;
    z-index: 0;
}

.partners-redesign::after {
    display: none;
    content: '';
    position: absolute;
    width: 280px;
    height: 400px;
    background: radial-gradient(ellipse, var(--blob-blue) 0%, transparent 70%);
    bottom: 0;
    right: -5%;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatBlobReverse 17s ease-in-out infinite;
    z-index: 0;
}

/* Testimonials section blob */
.testimonials-section::before {
    display: none;
    content: '';
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--blob-green-light) 0%, transparent 60%);
    top: 20%;
    right: -8%;
    border-radius: 50%;
    filter: blur(60px);
    animation: floatBlob 16s ease-in-out infinite;
    z-index: -1;
}

/* Mobile responsive blobs - smaller on mobile */
@media (max-width: 768px) {

    .blob-green-1,
    .blob-blue-1 {
        width: 200px;
        height: 200px;
    }

    .blob-green-2,
    .blob-blue-2 {
        width: 180px;
        height: 180px;
    }

    .blob-green-3,
    .blob-blue-3 {
        width: 150px;
        height: 150px;
    }

    .hero::before,
    .hero::after {
        width: 250px;
        height: 250px;
    }

    .trust-section::before,
    .vision-section::after,
    .roadmap::before,
    .testimonials-section::before {
        width: 180px;
        height: 180px;
    }

    .partners-redesign::before,
    .partners-redesign::after {
        width: 150px;
        height: 250px;
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    .blob,
    .hero::before,
    .hero::after,
    .trust-section::before,
    .vision-section::after,
    .roadmap::before,
    .partners-redesign::before,
    .partners-redesign::after,
    .testimonials-section::before {
        animation: none;
    }

    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   Gallery Section - Masonry Grid
   ============================================ */
.gallery-section {
    background: transparent;
    padding: 80px 0;
}

.section-description {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 16px;
    color: var(--gray-600);
    line-height: 1.6;
}

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

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 4/3;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

/* Remove masonry-style sizing for cleaner grid */
.gallery-item[data-size="tall"],
.gallery-item[data-size="wide"],
.gallery-item[data-size="normal"] {
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item.visible {
    display: block;
}

.image-placeholder.gallery-img {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--gray-200) 0%, var(--gray-100) 100%);
    border: 2px dashed var(--gray-300);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-500);
    font-weight: 500;
}

.gallery-cta {
    text-align: center;
    margin-top: 40px;
}

.gallery-toggle {
    position: relative;
    overflow: hidden;
}

/* Mobile Gallery */
@media (max-width: 900px) {
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-auto-rows: 140px;
    }

    .gallery-item[data-size="wide"] {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .gallery-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item[data-size="tall"],
    .gallery-item[data-size="wide"] {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* ============================================
   Project Testimonial (Inside Project Sections)
   ============================================ */
.project-testimonial {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--gray-200);
}

.testimonial-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.testimonial-portrait {
    width: 120px;
    height: 160px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
}

.testimonial-text {
    flex: 1;
}

.testimonial-text .quote-text {
    font-style: italic;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: 16px;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.testimonial-author strong {
    font-size: 14px;
    color: var(--cirq-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .testimonial-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* ============================================
   Trust Section Redesign (3-Column)
   ============================================ */
.trust-layout-redesigned {
    display: grid;
    grid-template-columns: 200px 1fr 350px;
    gap: 40px;
    align-items: start;
}

.trust-layout-redesigned .trust-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-layout-redesigned .trust-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-layout-redesigned .trust-center .collage-row {
    display: flex;
    gap: 12px;
}

.trust-layout-redesigned .trust-center .collage-img {
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.trust-layout-redesigned .trust-center .collage-img.tall {
    width: 100px;
    height: 130px;
}

.trust-layout-redesigned .trust-center .collage-img.wide {
    width: 150px;
    height: 100px;
}

.trust-layout-redesigned .trust-right {
    flex: 0 0 350px;
}

@media (max-width: 900px) {
    .trust-layout-redesigned {
        display: flex;
        /* Stack on mobile */
        flex-direction: column;
    }

    .trust-layout-redesigned .trust-right {
        flex: 1;
        /* Allow to shrink/grow */
        width: 100%;
    }

    .trust-layout-redesigned .trust-left,
    .trust-layout-redesigned .trust-center {
        width: 100%;
    }
}

/* Styled Quote with German Quotation Marks */
.styled-quote {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 4px solid var(--cirq-blue);
}

.styled-quote .quote-text:first-child::before {
    content: '';
    display: none;
    /* Override default " symbol - we use „ directly in text */
}

.styled-quote .quote-text {
    font-style: italic;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.styled-quote .quote-text:last-child {
    margin-bottom: 0;
}

.styled-quote .quote-text strong {
    font-style: italic;
    color: var(--cirq-dark);
}

/* ============================================
   Trust Section 2-Row Layout
   ============================================ */
.trust-row-top {
    display: flex;
    gap: 20px;
    align-items: stretch;
    /* Both columns same height = closed rectangle */
    margin-bottom: 30px;
}

.trust-portrait {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-portrait .portrait-lg {
    width: 100%;
    height: 100%;
    max-width: 180px;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
}

.trust-portrait .portrait-info {
    margin-top: 10px;
}

.trust-photos {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 10px;
}

.trust-photos .collage-img {
    width: 100%;
    height: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    object-position: center 25%;
    /* Show faces properly */
    box-shadow: var(--shadow-sm);
}

.trust-row-bottom {
    width: 100%;
}

.trust-row-bottom .trust-quote-card {
    display: block !important;
}

@media (max-width: 900px) {
    .trust-row-top {
        flex-direction: column;
        align-items: center;
    }

    .trust-portrait {
        flex: 0 0 auto;
        max-width: 200px;
    }

    .trust-portrait .portrait-lg {
        height: auto;
        aspect-ratio: 3/4;
    }

    .trust-photos {
        width: 100%;
        max-width: 400px;
    }

    .trust-photos .collage-img {
        min-height: 70px;
    }
}

/* ============================================
   Universal Section Card Design
   ============================================ */
.section-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-xl);
    padding: 40px 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    margin: 0 auto 40px auto;
    max-width: 100%;
}

@media (max-width: 768px) {
    .section-card {
        padding: 40px 20px;
    }
}

/* Card Accents (Left Border for 4 R's) */
/* Card Accents (Left Border for 4 R's) */
.section-card.accent-green {
    border-left: 20px solid var(--cirq-green);
}

.section-card.accent-blue {
    border-left: 20px solid var(--cirq-blue);
}

.section-card.accent-lightblue {
    border-left: 20px solid var(--cirq-blue-light);
}

.section-card.accent-teal {
    border-left: 20px solid var(--cirq-teal);
}

/* ============================================
   Organic Blob Frames for Images
   ============================================ */
.blob-frame {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.blob-frame::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    z-index: -1;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: blobMorph 10s ease-in-out infinite alternate;
}

/* Color Variants */
.blob-frame.green::before {
    background-color: var(--cirq-green);
}

.blob-frame.blue::before {
    background-color: var(--cirq-blue);
}

.blob-frame.teal::before {
    background-color: var(--cirq-teal);
}

/* Shape Variations */
.blob-frame.shape-1::before {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.blob-frame.shape-2::before {
    border-radius: 68% 32% 43% 57% / 54% 39% 61% 46%;
    animation-direction: alternate-reverse;
}

.blob-frame.shape-3::before {
    border-radius: 46% 54% 34% 66% / 64% 47% 53% 36%;
    width: 130%;
    height: 110%;
}

@keyframes blobMorph {
    0% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }

    100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

/* Image containment within blob */
.blob-frame img {
    position: relative;
    z-index: 2;
    /* Ensure transparent PNGs sit nicely on top */
    border-radius: 0 !important;
    /* Override default radii for these specific images if needed */
}

/* ============================================
   Trust Section Redesign
   ============================================ */
.trust-grid-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

/* Left Column - Portrait */
.trust-column-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.trust-portrait-img {
    width: 250px;
    height: auto;
    object-fit: cover;
    /* Blob frame handles shape */
}

.portrait-caption {
    margin-top: 24px;
}

.portrait-caption h4 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.portrait-caption p {
    font-size: 14px;
    color: var(--gray-600);
}

.blue-text {
    color: var(--cirq-blue);
}

/* Right Column - Collage Grid */
.trust-collage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 16px;
    /* Masonry-ish feel */
}

.collage-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.collage-item:hover {
    transform: scale(1.02);
}

/* Bottom Text */
.trust-text-bottom {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    border-top: 1px solid var(--gray-200);
    padding-top: 40px;
}

.trust-text-bottom p {
    margin-bottom: 16px;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 900px) {
    .trust-grid-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .trust-collage-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   FAQ List Styles
   ============================================ */
.faq-answer ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-top: 10px;
}

/* ============================================
   Trust Section Proposal (Redesign)
   ============================================ */
.trust-proposal-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}

.trust-hero-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 20px;
}

.trust-subline {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-top: 10px;
    font-weight: 500;
}

.trust-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.trust-pillar-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.trust-pillar-content h3 {
    font-size: 1.25rem;
    color: var(--cirq-dark);
    margin-bottom: 12px;
    font-weight: 700;
}

.trust-pillar-content p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.trust-pillar-image {
    width: 100%;
    height: 180px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: auto;
    /* Puts image at bottom if text varies */
}

.trust-pillar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.trust-pillars-grid .trust-pillar-card:nth-child(3) .trust-pillar-image img {
    object-position: top;
}

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

.trust-statement-box {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-lg);
    padding: 60px;
    /* Restored generous padding */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    align-items: stretch;
    /* Strech image and text to same height */
    gap: 60px;
}

.trust-statement-portrait {
    width: 30%;
    max-width: 280px;
    /* Constraint width */
    height: auto;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.trust-statement-content {
    flex: 1;
    padding: 0;
    /* Remove internal padding */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* Ensure content spreads if image is taller, or stays compact */
    /* Internal padding for content */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-quote-large {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--cirq-dark);
    line-height: 1.6;
    margin-bottom: 24px;
    font-family: var(--font-heading);
}

.trust-author-details {
    display: flex;
    flex-direction: column;
    margin-bottom: 30px;
    /* Space before claim */
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    /* Subtle separator */
}

.trust-author-name {
    font-weight: 700;
    color: var(--cirq-primary);
    font-size: 1.1rem;
}

.trust-author-role {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.trust-claim-footer {
    text-align: left;
    /* Aligned with text */
    margin-top: 0;
    font-size: 1.25rem;
    /* Slightly smaller to fit in box */
    font-weight: 700;
    color: var(--cirq-dark);
    letter-spacing: -0.01em;
}

.trust-claim-footer strong {
    color: var(--cirq-primary);
}

/* Responsive */
@media (max-width: 992px) {
    .trust-pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-pillar-card:last-child {
        grid-column: span 2;
    }

    .trust-statement-portrait {
        width: 30%;
    }
}

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

    .trust-pillar-card:last-child {
        grid-column: auto;
    }

    .trust-statement-box {
        flex-direction: column;
        align-items: center;
    }

    .trust-statement-portrait {
        width: 100%;
        height: 300px;
        /* Fixed height on mobile */
    }

    .trust-statement-content {
        padding: 30px;
        text-align: center;
    }

    .trust-claim-footer {
        text-align: center;
    }
}