:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --accent-color: #22c55e;
    /* Creotly Green */
    --accent-hover: #16a34a;
    --accent-muted: rgba(34, 197, 94, 0.1);
    --card-bg: #111111;
    --border-color: #222222;
    --container-width: 1200px;
    --container-narrow: 900px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container.narrow {
    max-width: var(--container-narrow);
}

.section-padding {
    padding: 8rem 0;
}

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

.mt-2 {
    margin-top: 2rem;
}

/* Typography */
h1 {
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

h2.section-title {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

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

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    transition: var(--transition);
}

.nav-cta-mobile {
    display: none !important;
}

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

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo img {
    height: 38px;
    width: auto;
    display: block;
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: var(--text-color);
    line-height: 1;
    margin-top: -2px;
    /* Visual centering adjustment */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    justify-content: center;
    flex: 2;
}

.nav-cta {
    display: flex;
    justify-content: flex-end;
    flex: 1;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--accent-color);
}

/* Buttons */
.btn-primary {
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-primary::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-primary:hover::after {
    transform: translateX(4px);
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.125rem;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    padding: 1rem 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary::after {
    content: '→';
    opacity: 0.7;
}

.btn-secondary:hover {
    background: var(--accent-muted);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Hero Slideshow */
.hero-slideshow {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
}

.slideshow-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.slideshow-dots {
    position: absolute;
    bottom: 2rem;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--accent-color);
    width: 24px;
    border-radius: 4px;
}

.hero {
    padding: 8rem 0;
}

/* Latest Game Section (Full-width) */
.latest-game {
    position: relative;
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 6rem 1rem;
    margin: 4rem 0;
}

.latest-game-content {
    max-width: 800px;
    z-index: 2;
}

.latest-game-content .subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.latest-game-content h2 {
    font-size: 4rem;
    margin-bottom: 2rem;
    line-height: 1;
}

.latest-game-content p {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 3rem;
    opacity: 0.9;
}

.btn-play {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-play .icon {
    width: 48px;
    height: 48px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    font-size: 1.25rem;
}

.btn-play:hover {
    color: var(--accent-color);
}

.btn-play:hover .icon {
    transform: scale(1.1);
}

.hero .subtext {
    font-size: 1.25rem;
    line-height: 1.8;
}

.subtitle {
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.discover-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    margin-top: 2rem;
}

.discover-link::after {
    content: '→';
}

.discover-link:hover {
    gap: 1rem;
}

/* Feature Sections (Maliyo Style) */
.feature-section {
    padding: 6rem 0;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 5rem;
    margin-bottom: 2rem;
}

.feature-row.reverse {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
}

.feature-image {
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
}

.feature-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

.feature-content h1,
.feature-content h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.feature-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* NEW Badge */
.new-badge {
    display: inline-block;
    background: var(--accent-color);
    color: var(--bg-color);
    font-size: 0.55rem;
    font-weight: 800;
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-left: 1rem;
    vertical-align: middle;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Download APK Button */
.download-apk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--bg-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
    margin-left: 10px;
    vertical-align: middle;
}

.download-apk-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.download-apk-btn svg {
    width: 20px;
    height: 20px;
}

.store-badges {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Custom Store Badge */
.store-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    border: 1px solid #a6a6a6;
    border-radius: 6px;
    padding: 0.5rem 0.5rem;
    /* Minimal padding to maximize text space */
    text-decoration: none;
    transition: var(--transition);
    min-height: 44px;
    min-width: 150px;
    box-sizing: border-box;
}

.store-badge:hover {
    border-color: #ffffff;
    background: #111;
    transform: translateY(-2px);
}

.store-badge-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1;
    width: 100%;
}

.store-badge-subtitle {
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 0px;
    letter-spacing: 2px;
    /* Wide spacing to fill width */
    width: 100%;
}

.store-badge-title {
    font-size: 1.5rem;
    /* Larger title */
    font-weight: 700;
    letter-spacing: 0.5px;
    background: linear-gradient(90deg, #007cf0 0%, #7928ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: -3px;
    width: 100%;
}





/* About (The text-heavy section) */
.about-text {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* The Studio (Team) Section Slider Polish */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.slider-controls {
    display: flex;
    gap: 1rem;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #222;
    background: transparent;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--bg-color);
}

.team-slider-wrapper {
    position: relative;
    width: 100%;
}

.team-grid.slider-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 2rem;
    -ms-overflow-style: none;
    /* Hide scrollbar IE/Edge */
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.team-grid.slider-container::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.team-card.slider-item {
    flex: 0 0 400px;
    /* Fixed width for slider items */
    scroll-snap-align: start;
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 3rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.05), transparent);
    pointer-events: none;
}

.team-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    background: #0d0d0d;
}

.avatar-container {
    width: 100px;
    height: 100px;
    margin-bottom: 2rem;
    position: relative;
}

.avatar-image {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: cover;
    filter: grayscale(1) contrast(1.1);
    transition: var(--transition);
}

.team-card:hover .avatar-image {
    filter: grayscale(0);
}

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--accent-muted);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    border-radius: 12px;
}

.team-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.team-info .role {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: block;
    margin-bottom: 1.5rem;
}

.team-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* How We Build (Culture) Polish */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.culture-card {
    padding: 3rem;
    background: #050505;
    border: 1px solid #111111;
    border-radius: 12px;
    transition: var(--transition);
}

.culture-card:hover {
    background: #0a0a0a;
    border-color: #222;
}

.culture-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    display: block;
}

.culture-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.culture-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Projects */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 3rem;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.project-card:hover {
    border-color: var(--text-muted);
    transform: translateY(-8px);
}

.project-image-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.project-image-placeholder::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.avatar-placeholder {
    width: 60px;
    height: 60px;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-muted);
}

.team-info .role {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.team-info .bio {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.portfolio-link {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.portfolio-link::after {
    content: '→';
}

.portfolio-link:hover {
    gap: 0.8rem;
}

/* Culture */
.culture-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.culture-card h3 {
    margin-bottom: 1rem;
}

.culture-card p {
    color: var(--text-muted);
}

/* Newsletter Section */
.newsletter {
    background: #000000;
    padding: 8rem 0;
    text-align: center;
}

.newsletter .subtitle {
    margin-bottom: 2rem;
}

.newsletter h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    background: transparent;
    border: 1px solid #333333;
    padding: 1.25rem 2rem;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.newsletter-form input:focus {
    border-color: var(--accent-color);
}

.newsletter-form .btn-primary {
    padding: 0 4rem;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-form .btn-primary {
        padding: 1.25rem 2rem;
        width: 100%;
        justify-content: center;
    }
}

/* Footer Redesign */
.footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid #1a1a1a;
    background: #000000;
}

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

.footer-info p {
    margin-top: 2rem;
}

/* Collaborators Section */
.collaborators {
    background: #050505;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6rem;
    /* Wide gap as seen in reference image 2 */
    padding: 3rem 0;
}

.partner-logo {
    filter: brightness(0) invert(1);
    opacity: 0.4;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.5rem;
    /* Smaller size to match reference image 2 */
    font-weight: 700;
    line-height: 1;
    color: white;
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
}

.partner-logo img {
    height: 50px;
    /* Scaled down logo */
    width: auto;
    transition: transform 0.4s ease, filter 0.4s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo.partner-croovr:hover {
    filter: none !important;
}

.partner-logo.partner-kliiq:hover {
    color: #1a54ff !important;
    filter: none !important;
    opacity: 1 !important;
}

/* Page Headers (Games, Career) */
.page-header {
    padding: 12rem 0 6rem;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('https://images.unsplash.com/photo-1511512578047-dfb367046420?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-position: center;
    text-align: center;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.page-header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
}

/* Job Cards (Career) */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.job-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.job-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.job-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.job-card p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.read-more {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

/* Mobile Responsiveness Improvements */
@media (max-width: 992px) {

    .hero h1,
    .page-header h1 {
        font-size: 3.5rem;
    }

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

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-links {
        display: none;
        /* In a real app we'd add a hamburger menu */
    }

    .hero h1,
    .page-header h1 {
        font-size: 2.5rem;
    }

    .feature-row,
    .feature-row.reverse {
        flex-direction: column;
        text-align: center;
    }

    .feature-content {
        padding: 0;
        margin-bottom: 3rem;
    }

    .team-card.slider-item {
        flex: 0 0 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 1rem;
}

.footer-column ul li a {
    color: var(--text-color);
    font-size: 1.1rem;
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--accent-color);
}

.social-grid {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--accent-color);
    color: var(--bg-color);
    transform: translateY(-4px);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #1a1a1a;
}

.footer-bottom p {
    font-size: 1rem;
    color: var(--text-muted);
}

/* --- Section: Contact Page --- */
.container.narrow {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section {
    background: #000000;
}

.contact-form {
    background: #0a0a0a;
    padding: 5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--accent-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: #050505;
    border: 1px solid #222;
    padding: 1.25rem;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-color);
    background: #080808;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}

.contact-form button.btn-primary {
    width: 100%;
    justify-content: center;
    padding: 1.5rem;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .contact-form {
        padding: 2.5rem 1.5rem;
    }

    .partners-grid {
        gap: 2rem;
    }

    .partner-logo img {
        height: 30px;
    }
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsiveness & Mobile Menu --- */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 2000;
    padding: 0;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.75rem;
        font-weight: 700;
        color: white;
    }

    .nav-cta-mobile {
        display: block !important;
        margin-top: 2rem;
        font-size: 1.1rem !important;
        padding: 1rem 2rem !important;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

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

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-cta {
        display: none;
    }

    h1 {
        font-size: 2.5rem !important;
    }

    .section-padding {
        padding: 4rem 0;
    }

    .culture-grid,
    .project-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .partners-grid {
        gap: 3rem;
    }

    .partner-logo {
        font-size: 1.5rem;
    }
}

/* Global Mobile Fix */
body,
html {
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* --- Section: About Page Specifics --- */
.about-hero {
    padding: 12rem 0 8rem;
    background-color: #3b1e1e;
    /* Fallback */
    background-image: linear-gradient(rgba(59, 30, 30, 0.8), rgba(59, 30, 30, 0.8)), url('images/about/hero_pattern.png');
    background-size: 400px;
    background-repeat: repeat;
    text-align: center;
}

.about-hero h1 {
    font-size: 4.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.1;
}

.about-hero p {
    font-size: 1.25rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.8;
}

.how-we-do-it {
    background: #000;
}

.vision-mission-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vision-card,
.mission-card {
    background: #0a0a0a;
    border: 1px solid #1a1a1a;
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
    position: relative;
}

.vision-card:hover,
.mission-card:hover {
    border-color: var(--accent-color);
    transform: translateX(10px);
}

.vision-card h3,
.mission-card h3 {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.mission-vision-row {
    display: flex;
    gap: 4rem;
    align-items: flex-start;
}

.mission-vision-image {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
}

.mission-vision-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mission-vision-content {
    flex: 1.2;
}

.life-at-creotly {
    padding: 10rem 0;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    text-align: center;
}

.life-at-creotly::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.life-at-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.culture-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.culture-photo-item {
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 4/5;
}

.culture-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.culture-photo-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 992px) {
    .mission-vision-row {
        flex-direction: column;
    }

    .about-hero h1 {
        font-size: 3rem;
    }
}

/* Video Modal Styles */
#video-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    transition: var(--transition);
}

#video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#video-modal .modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    background-color: #000;
    margin: auto;
    padding: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

#video-modal .video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

#video-modal .video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

#video-modal .close-modal {
    position: absolute;
    top: 15px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: var(--transition);
}

#video-modal .close-modal:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Responsiveness for modal */
@media (max-width: 768px) {
    #video-modal .modal-content {
        width: 95%;
    }
}