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

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header & Navigation */
header {
    background: white;
    padding: 1.5rem 5%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-blocks {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 60px;
}

.block {
    width: 50px;
    height: 50px;
    position: relative;
    transform-style: preserve-3d;
}

.block-container {
    width: 50px;
    height: 50px;
    position: relative;
    transform: rotateX(60deg) rotateZ(45deg);
    transform-style: preserve-3d;
}

.block-top {
    position: absolute;
    width: 50px;
    height: 50px;
    transform: translateZ(25px);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
}

.stud {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.2);
}

.block-front {
    position: absolute;
    width: 50px;
    height: 25px;
    transform: rotateX(-90deg) translateZ(0);
    transform-origin: bottom;
}

.block-right {
    position: absolute;
    width: 25px;
    height: 25px;
    transform: rotateY(90deg) translateZ(25px);
    transform-origin: right;
    right: 0;
}

/* LEGO Block Colors */
.block-red .block-top { 
    background: linear-gradient(135deg, #FF4444 0%, #EE3333 100%);
    border: 1px solid #CC2222;
}
.block-red .block-front { 
    background: linear-gradient(180deg, #DD3333 0%, #BB2222 100%);
}
.block-red .block-right { 
    background: linear-gradient(90deg, #CC2222 0%, #AA1111 100%);
}

.block-blue .block-top { 
    background: linear-gradient(135deg, #4455FF 0%, #3344EE 100%);
    border: 1px solid #2233CC;
}
.block-blue .block-front { 
    background: linear-gradient(180deg, #3344DD 0%, #2233BB 100%);
}
.block-blue .block-right { 
    background: linear-gradient(90deg, #2233CC 0%, #1122AA 100%);
}

.block-yellow .block-top { 
    background: linear-gradient(135deg, #FFEE44 0%, #FFDD33 100%);
    border: 1px solid #DDBB22;
}
.block-yellow .block-front { 
    background: linear-gradient(180deg, #FFDD33 0%, #DDBB22 100%);
}
.block-yellow .block-right { 
    background: linear-gradient(90deg, #DDBB22 0%, #BBAA11 100%);
}

.logo-text {
    font-size: 2.2rem;
    font-weight: 200;
    color: #000;
    letter-spacing: 0.5px;
}

.logo-text strong {
    font-weight: 700;
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    transition: color 0.3s;
}

nav a:hover {
    color: #FF3B3B;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #FF3B3B 0%, #3B3BFF 50%, #FFEB3B 100%);
    padding: 6rem 5%;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cta-button {
    display: inline-block;
    background: white;
    color: #333;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5%;
}

.section {
    margin-bottom: 4rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
    text-align: center;
}

/* Feature Images */
.feature-image {
    margin: 3rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.image-caption {
    background: #f8f9fa;
    padding: 1rem;
    text-align: center;
    font-style: italic;
    color: #666;
}

/* Services Grid */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #FF3B3B;
}

.color-blocks {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.color-block {
    width: 30px;
    height: 30px;
    border-radius: 5px;
}

.red { background: #FF3B3B; }
.blue { background: #3B3BFF; }
.yellow { background: #FFEB3B; }

/* About/Team Section */
.about {
    background: #f8f9fa;
    padding: 4rem 5%;
}

.team-info {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-info h3 {
    font-size: 1.8rem;
    color: #3B3BFF;
    margin: 2rem 0 1rem;
}

.team-info p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Contact Section */
.contact-content {
    text-align: center;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-emphasis {
    margin-top: 1rem;
}

.contact-form {
    margin: 3rem 0;
    text-align: left;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #3B3BFF;
}

.contact-direct {
    margin-top: 2rem;
}

.contact-direct a {
    color: #3B3BFF;
    text-decoration: none;
    font-weight: bold;
}

.contact-direct a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 5%;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

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

    .logo-blocks {
        height: 50px;
        gap: 3px;
    }

    .block {
        width: 40px;
        height: 40px;
    }

    .block-container {
        width: 40px;
        height: 40px;
    }

    .block-top {
        width: 40px;
        height: 40px;
        transform: translateZ(20px);
        padding: 6px;
        gap: 3px;
    }

    .stud {
        width: 6px;
        height: 6px;
    }

    .block-front {
        width: 40px;
        height: 20px;
    }

    .block-right {
        width: 20px;
        height: 20px;
        transform: rotateY(90deg) translateZ(20px);
    }

    .logo-text {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .contact-content {
        font-size: 1rem;
    }
}