:root {
    --primary-color: #2D3748;
    --accent-color: #4299E1;
    --text-color: #2D3748;
    --light-bg: #ffffff;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Header and Navigation */
header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 250px;
    width: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 0rem;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.tagline {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4A5568;
}

/* Buttons */
.cta-button, .contact-button {
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cta-button:hover, .contact-button:hover {
    background-color: #3182CE;
}

/* Sections */
section {
    padding: 1rem 2rem;
}

.game-section {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.about, .services, .contact {
    max-width: 1200px;
    margin: 0 auto;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
    text-align: center;
}

.contact p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

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

    .tagline {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
    }

    section {
        padding: 3rem 1rem;
    }
}

.arrow-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.arrow-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.arrow-btn:hover {
    background-color: #3182CE;
}

.arrow-btn:active {
    transform: scale(0.95);
}

.projects-section {
    background-color: var(--accent-color);
    padding: 4rem 2rem;
    text-align: center;
}

.projects-section h2 {
    margin-bottom: 2rem;
    color: var(--white);
}

/* Carousel Styles */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    position: relative;
}

.carousel-wrapper {
    width: 100%;
    max-width: 1200px;
    overflow: hidden;
    border-radius: 15px;
    position: relative;
}


.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    align-items: center;
}

.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    transition: all 0.5s ease-in-out;
}

/* Desktop: Show 3 items with center focus */
@media (min-width: 1024px) {
    .carousel-wrapper {
        max-width: 1200px;
    }
    
    /* Add fade masks to the left and right edges */
    .carousel-wrapper::before,
    .carousel-wrapper::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 80px;
        z-index: 10;
        pointer-events: none;
    }

    .carousel-wrapper::before {
        left: 0;
        background: linear-gradient(to right, var(--accent-color), transparent);
    }

    .carousel-wrapper::after {
        right: 0;
        background: linear-gradient(to left, var(--accent-color), transparent);
    }
    
    .carousel-track {
        gap: 2rem;
        justify-content: center;
    }
    
    .carousel-slide {
        min-width: 33.333%;
        opacity: 0.4;
        transform: scale(0.85);
        filter: brightness(0.6);
        transition: all 0.5s ease-in-out;
    }
    
    .carousel-slide.center {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
        z-index: 2;
    }
    
    .carousel-slide.side {
        opacity: 0.4;
        transform: scale(0.85);
        filter: brightness(0.6);
    }
    
    /* Ensure the track doesn't move - center slide is always in middle */
    .carousel-track {
        transform: translateX(0%) !important;
    }
}

.carousel-btn {
    background-color: var(--white);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 24px;
    color: var(--accent-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background-color: #f7fafc;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--white);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.project-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 2rem;
    width: 100%;
    max-width: 350px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    margin: 0 auto;
}

.project-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    border-radius: 16px;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.project-card p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.tag {
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-link-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-link-btn:hover {
    background-color: #3182CE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 153, 225, 0.3);
}

.project-link-btn.inactive {
    background-color: #A0AEC0;
    color: #E2E8F0;
    cursor: default;
    pointer-events: none;
}

.project-link-btn.inactive:hover {
    background-color: #A0AEC0;
    transform: none;
    box-shadow: none;
}

/* Responsive Design for Carousel */
@media (max-width: 1023px) {
    .carousel-wrapper {
        max-width: 400px;
    }
    
    .carousel-slide {
        min-width: 100%;
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }
}

@media (max-width: 768px) {
    .carousel-container {
        gap: 0.5rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .carousel-wrapper {
        max-width: 300px;
    }
    
    .project-card {
        padding: 1.5rem;
        max-width: 280px;
    }
    
    .project-card h3 {
        font-size: 1.3rem;
    }
} 