/* =========================================
   VARIABLES & THEME SETUP
   ========================================= */
:root {
    /* Color Palette */
    --plastic-blue: #4A90E2;
    --plastic-blue-dark: #357ABD;
    --plastic-orange: #FF8C42;
    --plastic-orange-dark: #E67E3C;
    --plastic-red: #FF5E5B;
    --plastic-green: #00CECB;
    --plastic-yellow: #FFED66;

    /* Grays & Whites */
    --base-white: #F4F7F9;
    --pure-white: #FFFFFF;
    --plastic-grey: #E0E5EC;
    --text-dark: #2D3436;
    --text-light: #636E72;

    /* Shadows - Neumorphism/Claymorphism */
    --shadow-light: rgba(255, 255, 255, 0.6);
    --shadow-dark: rgba(163, 177, 198, 0.4);
    --shadow-depth: 8px 8px 16px var(--shadow-dark), -8px -8px 16px var(--shadow-light);
    --shadow-pressed: inset 6px 6px 12px var(--shadow-dark), inset -6px -6px 12px var(--shadow-light);
    --shadow-float: 12px 12px 24px var(--shadow-dark), -12px -12px 24px var(--shadow-light);

    /* Spacing & Sizing */
    --radius-small: 10px;
    --radius-main: 20px;
    --radius-large: 40px;
    --header-height: 80px;
}

/* =========================================
   RESET & BASE STYLES
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background-color: var(--base-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Fredoka', sans-serif;
    /* Rounded heading font */
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

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;
    position: relative;
}

/* =========================================
   UTILITIES & ANIMATIONS
   ========================================= */
.text-center {
    text-align: center;
}

.section-padding {
    padding: 80px 0;
}

.full-width {
    width: 100%;
}

/* Keyframes */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes jiggle {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.05) rotate(2deg);
    }

    50% {
        transform: scale(1.05) rotate(-2deg);
    }

    75% {
        transform: scale(1.05) rotate(1deg);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    60% {
        transform: scale(1.05);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes rotateStud {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.block-hover:hover {
    animation: jiggle 0.4s ease forwards;
    cursor: pointer;
}

.snap-in {
    animation: popIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header-block {
    position: fixed;
    top: 20px;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    transition: all 0.3s ease;
}

.header-block.scrolled {
    top: 0;
    background: rgba(244, 247, 249, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
    background: var(--pure-white);
    border-radius: var(--radius-large);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: var(--shadow-depth);
    margin-top: 5px;
}

.header-block.scrolled .header-container {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    margin-top: 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 50px;
    filter: invert(1);
}

.logo-text {
    font-family: 'Fredoka', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--plastic-blue-dark);
}

.nav-puzzle {
    display: block;
}

.nav-list {
    display: flex;
    gap: 5px;
    background: var(--plastic-grey);
    padding: 5px;
    border-radius: 30px;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-piece {
    position: relative;
}

.nav-link {
    display: block;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.5);
    color: var(--plastic-blue);
}

.nav-link.active {
    background: var(--pure-white);
    color: var(--plastic-blue);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* =========================================
   BUTTONS (TOY STYLE)
   ========================================= */
.btn-toy {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.1s;
    border: none;
    cursor: pointer;
    font-family: 'Nunito', sans-serif;
}

.btn-primary {
    background: var(--plastic-blue);
    color: white;
    box-shadow: 0 6px 0 var(--plastic-blue-dark),
        0 10px 10px rgba(0, 0, 0, 0.15);
}

.btn-primary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 var(--plastic-blue-dark),
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--plastic-orange);
    color: white;
    box-shadow: 0 6px 0 var(--plastic-orange-dark),
        0 10px 10px rgba(0, 0, 0, 0.15);
}

.btn-secondary:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 var(--plastic-orange-dark),
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-white {
    background: var(--pure-white);
    color: var(--plastic-blue);
    box-shadow: 0 6px 0 #d1d1d1,
        0 10px 10px rgba(0, 0, 0, 0.1);
}

.btn-white:active {
    transform: translateY(6px);
    box-shadow: 0 0 0 #d1d1d1;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), transparent);
    pointer-events: none;
}

/* Mobile Toggle - Lego Brick */
.mobile-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--plastic-red);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 1.2rem;
    position: relative;
    box-shadow: 0 4px 0 #cc4b49;
    cursor: pointer;
}

.mobile-toggle:active {
    transform: translateY(4px);
    box-shadow: none;
}

.stud {
    position: absolute;
    width: 8px;
    height: 8px;
    background: inherit;
    border-radius: 50%;
    box-shadow: inset -1px -1px 2px rgba(0, 0, 0, 0.2);
}

.stud.top-left {
    top: -3px;
    left: 6px;
}

.stud.top-right {
    top: -3px;
    right: 6px;
}

.stud.bottom-left {
    bottom: -3px;
    left: 6px;
}

.stud.bottom-right {
    bottom: -3px;
    right: 6px;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 990;
    pointer-events: none;
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: var(--base-white);
    padding: 100px 30px;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: auto;
}

.mobile-drawer.active .drawer-content {
    right: 0;
}

.drawer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-drawer.active .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

.drawer-list li {
    margin-bottom: 20px;
}

.drawer-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding-top: 140px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--plastic-grey) 20%, transparent 20%),
        radial-gradient(var(--plastic-grey) 20%, transparent 20%);
    background-size: 40px 40px;
    background-position: 0 0, 20px 20px;
    opacity: 0.5;
    z-index: -1;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-text-block {
    max-width: 550px;
    z-index: 2;
}

.tag-pill {
    display: inline-block;
    background: var(--plastic-green);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    box-shadow: 3px 3px 10px rgba(0, 206, 203, 0.3);
}

.display-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.highlight-text {
    color: var(--plastic-blue);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background: rgba(74, 144, 226, 0.2);
    border-radius: 5px;
    z-index: -1;
}

.hero-desc {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
}

/* 3D Toy Composition */
.toy-composition {
    position: relative;
    width: 500px;
    height: 500px;
    /* perspective: 1000px; Remove perspective to keep it flat-ish 3D */
}

.floating-cube {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.1),
        inset 2px 2px 5px rgba(255, 255, 255, 0.4);
    animation: float 6s ease-in-out infinite;
}

.cube-1 {
    top: 50px;
    left: 50px;
    background: var(--plastic-blue);
    animation-delay: 0s;
    z-index: 3;
}

.cube-2 {
    top: 150px;
    right: 80px;
    background: var(--plastic-orange);
    width: 120px;
    height: 120px;
    animation-delay: 1s;
    z-index: 2;
}

.cube-3 {
    bottom: 80px;
    left: 120px;
    background: var(--plastic-red);
    width: 90px;
    height: 90px;
    animation-delay: 2s;
    z-index: 4;
}

.base-plate {
    position: absolute;
    bottom: 50px;
    right: 50px;
    width: 300px;
    height: 300px;
    background: var(--pure-white);
    border-radius: 30px;
    transform: rotate(-10deg) skewX(10deg);
    box-shadow: 20px 20px 0 var(--plastic-grey);
    z-index: 1;
}

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-brick {
    background: var(--plastic-blue);
    color: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 0 var(--plastic-blue-dark), 0 15px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.stat-brick.color-alt {
    background: var(--plastic-orange);
    box-shadow: 0 8px 0 var(--plastic-orange-dark), 0 15px 20px rgba(0, 0, 0, 0.1);
}

.stat-brick.color-alt-2 {
    background: var(--plastic-green);
    box-shadow: 0 8px 0 #00a6a3, 0 15px 20px rgba(0, 0, 0, 0.1);
}

.stat-brick:active {
    transform: translateY(8px);
    box-shadow: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Fredoka', sans-serif;
}

.stat-symbol {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    display: block;
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 5px;
}

/* =========================================
   SECTIONS: ABOUT (PUZZLE)
   ========================================= */
.plastic-card {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-depth);
}

.big-padding {
    padding: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 50px;
    height: 10px;
    background: var(--plastic-yellow);
    border-radius: 5px;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.check-list {
    margin-top: 20px;
}

.check-list li {
    font-size: 1.1rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-list i {
    color: var(--plastic-green);
    font-size: 1.3rem;
}

.puzzle-visual {
    position: relative;
    height: 400px;
    width: 100%;
}

.puzzle-piece {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 10px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1), 5px 5px 15px rgba(0, 0, 0, 0.1);
}

.p1 {
    background: var(--plastic-blue);
    top: 20px;
    left: 50px;
    mask: radial-gradient(30px at 180px 90px, transparent 98%, black 100%) -30px 0;
    -webkit-mask: radial-gradient(30px at 180px 90px, transparent 98%, black 100%) -30px 0;
}

.p2 {
    background: var(--plastic-orange);
    top: 20px;
    right: 50px;
}

.p3 {
    background: var(--plastic-yellow);
    bottom: 40px;
    left: 50px;
}

.p4 {
    background: var(--plastic-red);
    bottom: 40px;
    right: 50px;
}

/* =========================================
   SERVICES GRID
   ========================================= */
.bg-soft {
    background: #f0f4f8;
}

.section-subtitle {
    max-width: 600px;
    margin: 0 auto 50px;
    color: var(--text-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-block {
    background: var(--pure-white);
    padding: 40px 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-depth);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.tilt-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: var(--shadow-float);
}

.block-studs {
    position: absolute;
    top: 0;
    left: 20px;
    display: flex;
    gap: 10px;
}

.block-studs span {
    width: 20px;
    height: 10px;
    background: inherit;
    border-radius: 4px 4px 0 0;
    margin-top: -10px;
    display: block;
    background-color: #eee;
}

.service-block.color-1 .service-icon {
    background: rgba(74, 144, 226, 0.1);
    color: var(--plastic-blue);
}

.service-block.color-2 .service-icon {
    background: rgba(255, 140, 66, 0.1);
    color: var(--plastic-orange);
}

.service-block.color-3 .service-icon {
    background: rgba(0, 206, 203, 0.1);
    color: var(--plastic-green);
}

.service-block.color-4 .service-icon {
    background: rgba(255, 94, 91, 0.1);
    color: var(--plastic-red);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-block h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.link-arrow {
    display: inline-block;
    margin-top: 15px;
    font-weight: 700;
    color: var(--plastic-blue);
}

.link-arrow i {
    transition: transform 0.2s;
}

.link-arrow:hover i {
    transform: translateX(5px);
}

/* =========================================
   CALCULATOR
   ========================================= */
.calculator-frame {
    background: #333;
    border-radius: 30px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.calc-header {
    background: #444;
    color: white;
    padding: 15px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.led-light {
    width: 15px;
    height: 15px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ff00;
    animation: blink 2s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.calc-body {
    background: #e6e6e6;
    padding: 40px;
    border-radius: 0 0 20px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.slider-group {
    margin-bottom: 25px;
}

.slider-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    color: #555;
}

.toy-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #ccc;
    outline: none;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.toy-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--plastic-blue);
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    margin-top: -6px;
    /* center thumb */
    border: 2px solid white;
}

.toy-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 12px;
    cursor: pointer;
    background: #bbb;
    border-radius: 6px;
}

.digital-display {
    display: block;
    font-family: 'Courier New', monospace;
    color: var(--plastic-blue-dark);
    font-weight: 900;
    margin-top: 5px;
    text-align: right;
}

.result-box {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #ddd;
}

.result-box.highlight {
    background: var(--plastic-green);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 206, 203, 0.3);
}

.big-number {
    font-size: 1.8rem;
    font-weight: 800;
    font-family: 'Fredoka', sans-serif;
}

/* =========================================
   LIVE CHAT DEMO
   ========================================= */
.chat-interface {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-depth);
    max-width: 400px;
}

.chat-header {
    background: var(--plastic-blue);
    padding: 15px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.avatar {
    width: 30px;
    height: 30px;
    background: white;
    border-radius: 50%;
}

.chat-body {
    padding: 20px;
    height: 300px;
    background: #f9f9f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.msg {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 0.9rem;
    max-width: 80%;
}

.from-agent {
    background: var(--plastic-grey);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
}

.from-user {
    background: var(--plastic-blue);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #bbb;
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
    margin-right: 3px;
}

@keyframes bounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

.chat-input-area {
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
}

.fake-input {
    flex-grow: 1;
    background: #eee;
    padding: 8px 15px;
    border-radius: 20px;
    color: #999;
    font-size: 0.9rem;
}

.send-btn {
    width: 35px;
    height: 35px;
    background: var(--plastic-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.plastic-list li {
    background: white;
    padding: 10px 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-weight: 600;
    border-left: 5px solid var(--plastic-orange);
}

/* =========================================
   FIXED: PLASTIC LIST STYLES
   ========================================= */

.plastic-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Spacing between bricks */
    margin-top: 30px;
}

.p-brick {
    position: relative;
    padding: 15px 20px;
    border-radius: 12px;
    background: var(--pure-white);
    box-shadow: 0 6px 0 rgba(0, 0, 0, 0.1), 0 10px 15px rgba(0, 0, 0, 0.05);
    /* 3D Depth */
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
}

/* Hover Effect: Push down like a button */
.p-brick:hover {
    transform: translateY(4px);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.05);
    cursor: default;
}

/* Stud Connector (The bumpy part on the left) */
.stud-connector {
    width: 12px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.stud-connector::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: inset 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Brick Content Layout */
.brick-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    /* Space for the stud */
    width: 100%;
}

.brick-content i {
    font-size: 1.2rem;
    width: 30px;
    display: flex;
    justify-content: center;
}

.brick-content span {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-dark);
}

/* Color Variations */
.p-brick.brick-blue {
    border-left: 5px solid var(--plastic-blue);
}

.p-brick.brick-blue i {
    color: var(--plastic-blue);
}

.p-brick.brick-orange {
    border-left: 5px solid var(--plastic-orange);
}

.p-brick.brick-orange i {
    color: var(--plastic-orange);
}

.p-brick.brick-green {
    border-left: 5px solid var(--plastic-green);
}

.p-brick.brick-green i {
    color: var(--plastic-green);
}

/* Optional: Make the background slightly tinted on hover */
.p-brick.brick-blue:hover {
    background: #f0f7ff;
}

.p-brick.brick-orange:hover {
    background: #fff8f0;
}

.p-brick.brick-green:hover {
    background: #f0fffe;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.testimonial-carousel {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 10px 40px;
    scroll-snap-type: x mandatory;
}

.t-card {
    min-width: 300px;
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-depth);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

.t-quote {
    font-size: 2rem;
    color: var(--plastic-grey);
    margin-bottom: 15px;
}

.t-card p {
    flex-grow: 1;
    font-style: italic;
    margin-bottom: 20px;
}

.t-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.t-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
}

.t-avatar.color-1 {
    background: var(--plastic-blue);
}

.t-avatar.color-2 {
    background: var(--plastic-orange);
}

.t-avatar.color-3 {
    background: var(--plastic-green);
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
    background: var(--plastic-blue);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 10%, transparent 10%);
    background-size: 30px 30px;
    opacity: 0.3;
}

.cta-block {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.cta-block h2 {
    color: white;
    margin-bottom: 15px;
}

.cta-block p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* =========================================
   FOOTER
   ========================================= */
.footer-block {
    background: #2c3e50;
    color: white;
    padding-top: 60px;
    padding-bottom: 30px;
    position: relative;
    margin-top: 50px;
}

.footer-studs {
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
}

.footer-studs span {
    width: 60px;
    height: 15px;
    background: #2c3e50;
    border-radius: 10px 10px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    height: 50px;
    filter: invert(1);
}

.brand-col h3 {
    color: white;
    margin-top: 15px;
}

.footer-col h4 {
    color: var(--plastic-orange);
    margin-bottom: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bdc3c7;
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-bricks {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.s-brick {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
}

.s-brick:hover {
    background: var(--plastic-blue);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
.page-header {
    background: var(--plastic-blue);
    color: white;
    padding: 160px 0 80px;
    text-align: center;
}

.page-header h1 {
    color: white;
    margin-bottom: 10px;
}

.contact-info-card {
    height: 100%;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 15px;
}

.icon-brick {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--plastic-blue);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.form-container {
    background: var(--pure-white);
    border: 4px solid var(--plastic-grey);
}

.form-header {
    text-align: center;
    border-bottom: 2px dashed #ddd;
    padding-bottom: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.screw {
    width: 15px;
    height: 15px;
    background: #bbb;
    border-radius: 50%;
    position: relative;
}

.screw::after {
    content: '+';
    position: absolute;
    top: -4px;
    left: 2px;
    color: #888;
    font-size: 1.2rem;
}

.toy-form .form-group {
    margin-bottom: 20px;
}

.toy-form label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.toy-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #eee;
    background: #fcfcfc;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.05);
}

.toy-input:focus {
    border-color: var(--plastic-blue);
    outline: none;
    background: white;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.2);
}

/* =========================================
   LEGAL PAGES
   ========================================= */
.legal-page .header-block {
    position: sticky;
    top: 0;
    margin-bottom: 30px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: auto;
    padding: 10px 0;
}

.legal-page .header-container {
    box-shadow: none;
    margin-top: 0;
}

.legal-doc-container p {
    margin-bottom: 1.5rem;
    color: #555;
}

.legal-doc-container h3 {
    color: var(--plastic-blue-dark);
    margin-top: 2rem;
    border-left: 5px solid var(--plastic-orange);
    padding-left: 15px;
}

.legal-doc-container ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 1.5rem;
}

/* =========================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-text-block {
        margin-bottom: 50px;
    }

    .hero-btns {
        justify-content: center;
    }

    .nav-puzzle {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .calculator-frame .calc-body {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .row {
        flex-direction: column;
    }

    .col-half {
        width: 100%;
        margin-bottom: 30px;
    }

    .reverse-mobile {
        flex-direction: column-reverse;
    }
}

@media (max-width: 600px) {
    .display-title {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .toy-composition {
        transform: scale(0.6);
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}