/* CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #376092;
    --secondary-color: #95b3d7;
    --text-color: #333;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --border-color: #ddd;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    font-size: 16px;
}

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

/* Header and Navigation */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    z-index: 1001;
}

.logo img {
    height: 50px;
    display: block;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

/* Mobile Menu Toggle Button - Hidden on Desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px 10px;
    z-index: 1001;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-media {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-media img,
.video-placeholder img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.hero h1 {
    font-size: 48px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero h2 {
    font-size: 32px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.hero h3 {
    font-size: 18px;
    margin-bottom: 25px;
}

.lead {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.small-text {
    font-size: 14px;
    margin-top: 15px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
}

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

/* Section Divider */
.section-divider {
    width: 150px;
    height: 10px;
    background: var(--secondary-color);
    margin: 30px 0;
}

/* Projects Section */
.projects,
.references,
.services,
.focus-areas {
    padding: 80px 0;
}

.projects h2,
.references h2,
.services h2,
.focus-areas h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.project-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.project-card,
.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

.project-card img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 5px;
}

.project-card h3,
.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.service-card .icon {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
}

.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.link:hover {
    color: var(--secondary-color);
}

/* Logo Grid */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
    justify-items: center;
}

.logo-grid a {
    display: block;
    transition: var(--transition);
}

.logo-grid img {
    max-width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition);
}

.logo-grid a:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Focus Areas */
.focus-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.focus-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.focus-content ul {
    list-style-position: inside;
    margin-bottom: 30px;
}

.focus-content ul li {
    margin-bottom: 10px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.03);
    padding: 40px 0;
    margin-top: 80px;
}

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

.footer-item {
    text-align: left;
}

.footer-item .icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.footer-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.footer-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.footer-item a:hover {
    color: var(--primary-color);
}

/* Page Hero */
.page-hero {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.page-hero h1 {
    font-size: 60px;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* About Page */
.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.tab {
    margin-bottom: 30px;
    cursor: pointer;
}

.tab h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.tab.active h3 {
    border-bottom-color: var(--primary-color);
}

.tab-content {
    display: none;
    margin-top: 15px;
    line-height: 1.8;
}

.tab.active .tab-content {
    display: block;
}

.about-image img,
.vision-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Team Section */
.team {
    padding: 80px 0;
    background: var(--light-bg);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.team-member {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-member img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.team-member h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.team-member .role {
    font-style: italic;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.team-member .contact-info {
    margin-bottom: 15px;
    font-size: 14px;
}

.team-member .bio {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

/* Skills Section */
.skills {
    padding: 80px 0;
}

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

.skills-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.skills-content h3 {
    font-size: 20px;
    margin: 20px 0;
    color: var(--primary-color);
}

.skills-content ul {
    list-style-position: inside;
}

.skills-content ul li {
    margin-bottom: 10px;
}

/* Services Detail Page */
.services-detail {
    padding: 60px 0;
}

.service-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-detail {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.service-detail h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.service-detail img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.service-content h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.service-content ul {
    list-style-position: inside;
    margin: 15px 0;
}

.service-content ul li {
    margin-bottom: 10px;
}

.game-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.game-images img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Projects Detail Page */
.projects-detail {
    padding: 60px 0;
}

.project-detail-grid {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.project-detail {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.project-detail img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 30px;
}

.project-detail h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.project-detail h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin: 25px 0 15px;
}

.project-detail ul {
    list-style-position: inside;
    margin: 15px 0;
}

.project-detail ul li {
    margin-bottom: 10px;
}

/* Contact Page */
.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-section h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-form {
    margin-top: 40px;
}

.contact-form h3 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Circular Vision Page */
.circular-vision {
    padding: 60px 0;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

blockquote {
    background: var(--light-bg);
    padding: 30px;
    border-left: 5px solid var(--primary-color);
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--light-bg);
}

.testimonials h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    font-style: italic;
    font-size: 18px;
    line-height: 1.8;
}

/* Game Info Section */
.game-info {
    padding: 80px 0;
}

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

.game-info-content h2 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.game-info-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Contact CTA Section */
.contact-cta {
    padding: 80px 0;
}

.contact-cta h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--primary-color);
}

.contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 60px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-cta-item {
    text-align: center;
}

.contact-cta-item .icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-cta-item h4 {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-cta-item a {
    color: #2980b9;
    text-decoration: none;
    font-size: 18px;
}

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

/* How to Play Page */
.how-to-play {
    padding: 80px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.step-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.step-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Business Cases Section */
.business-cases {
    padding: 80px 0;
    background: var(--light-bg);
}

.case-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
}

.case-content h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.case-subtitle {
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: bold;
    font-style: italic;
}

.case-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.arrow-divider {
    text-align: center;
    font-size: 60px;
    color: var(--secondary-color);
    margin: 40px 0;
}

/* What You Get Section */
.what-you-get {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.benefits-column h3 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 25px;
}

.benefits-column ul {
    list-style-position: outside;
    padding-left: 25px;
}

.benefits-column li {
    margin-bottom: 15px;
    padding: 10px 0;
    line-height: 1.6;
}

/* FAQ Page */
.faq-content {
    padding: 80px 0;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 50px;
}

.faq-item h2 {
    font-size: 28px;
    color: #000000;
    margin-bottom: 20px;
}

.faq-item p {
    font-size: 20px;
    line-height: 1.8;
    color: var(--primary-color);
}

/* Impressions Gallery */
.impressions-gallery {
    padding: 80px 0;
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
        gap: 0;
    }

    nav ul li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    nav a {
        display: block;
        padding: 20px 0;
        width: 100%;
    }

    nav a.active::after {
        display: none;
    }

    header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hero .container,
    .about-grid,
    .skills-grid,
    .focus-grid,
    .contact-grid,
    .vision-grid {
        grid-template-columns: 1fr;
    }

    .hero .container {
        gap: 20px;
    }

    .hero h1 {
        font-size: 32px;
        text-align: center;
    }

    .hero h2 {
        font-size: 20px;
        text-align: center;
    }

    .hero h3 {
        font-size: 16px;
        text-align: center;
    }

    .hero-media img,
    .hero-media .video-placeholder img {
        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 10px;
    }

    .cta-buttons {
        justify-content: center;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .project-grid,
    .service-grid,
    .logo-grid {
        grid-template-columns: 1fr;
    }

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

    .game-info-grid,
    .benefits-grid,
    .case-item {
        grid-template-columns: 1fr;
    }

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

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

    .case-content h2 {
        font-size: 28px;
    }
}
