body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.7;
    background-color: #f8f8f8;
}

header {
    padding: 24px 0;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Spinning animation for menu icon */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Transform the menu icon into a cross when active */
@keyframes toggleMenuIcon {
    0% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(45deg);
    }
    100% {
        transform: rotate(90deg);
    }
}

.logo {
    margin-left: 20px;
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Header Section */
header {
    height: auto; /* Adjusted height to be flexible */
    min-height: 99px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 32px; /* Adjusted padding */
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
    box-sizing: border-box; /* Include padding in height calculation */
}

.icon {
    width: 40px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent icon from shrinking */
}

.icon svg {
    width: 100%;
    height: 100%;
    color: #4CAF50; /* Example: Green icon */
}

/* Desktop Navigation Styles */
.desktop-nav {
    display: flex; /* Show desktop nav by default */
    align-items: center;
    flex-wrap: wrap; /* Allow pills to wrap on smaller screens if needed before breakpoint */
    justify-content: center; /* Center pills if they wrap */
    gap: 12px; /* Added gap for spacing */
}

.navigation-pill {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 12px 24px; /* Increased padding */
    border-radius: 25px; /* Fully rounded corners */
    background-color: #f0f4c3; /* Light yellow */
    /* margin-right: 12px; Removed margin, using gap now */
    white-space: nowrap;
    transition: background-color 0.3s ease, transform 0.2s ease; /* Added transform */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border: 1px solid #d4e157;
    text-decoration: none; /* Remove underline from potential links */
}

.navigation-pill:last-child {
    /* margin-right: 0; No longer needed */
}

.navigation-pill:hover {
    background-color: #d4e157; /* Darker yellow on hover */
    transform: translateY(-2px); /* Slight lift on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.navigation-pill a, .navigation-pill span { /* Style both links and spans inside pills */
    font-size: 18px; /* Increased font size */
    font-weight: 600;  /* Medium font weight */
    line-height: 1;
    letter-spacing: normal;
    text-align: left;
    color: #558B2F; /* Darker green text */
    text-decoration: none; /* Ensure links inside aren't underlined */
}

/* Mobile Menu Icon Styles */
.menu-icon {
    display: none; /* Hide hamburger menu by default */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 8px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-left: 20px; /* Space it from the edge or logo */
    flex-shrink: 0; /* Prevent shrinking */
    z-index: 11; /* Ensure it's above other header content if overlapping */
}

.menu-icon:hover {
    background-color: #f0f0f0;
}

.line {
    width: 100%;
    height: 3px;
    background-color: #333;
    margin: 4px 0; /* Slightly adjusted margin */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Added opacity transition */
}

/* Hamburger to 'X' animation */
.menu-icon.active .line:nth-child(1) {
    transform: translateY(7px) rotate(45deg); /* Adjusted transform */
}

.menu-icon.active .line:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg); /* Adjusted transform */
}

/* Optional spin animation */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(180deg); } /* Spin 180deg for X */
}

.menu-icon.active {
     /* animation: spin 0.4s ease-in-out; /* Optional animation */
}

/* Mobile Navigation Menu Panel Styles */
.nav-menu {
    display: none; /* Hide mobile menu panel by default */
    flex-direction: column;
    position: fixed; /* Changed from fixed to absolute if you want it relative to header */
    top: 80px; /* Adjust based on actual header height */
    right: 20px; /* Position from right */
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    z-index: 10; /* Below menu-icon if it needs to be clicked */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px); /* Start slightly higher */
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    align-items: flex-start;
    /* margin-top: 10px; /* Removed margin, using top positioning */
}

.nav-menu.active {
    display: flex; /* Show mobile menu panel when active */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu a {
    margin: 10px 0;
    color: #558B2F;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease; /* Added background transition */
    padding: 10px 15px; /* Adjusted padding */
    border-radius: 8px;
    white-space: nowrap;
    width: 100%; /* Make links take full width */
    box-sizing: border-box; /* Include padding in width */
}

.nav-menu a:hover {
    color: #388E3C;
    background-color: #f0f4c3;
}







.hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px;
    background-color: #f0f4c3;
    border-radius: 12px;
    margin-bottom: 40px;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #4b5563;
    margin-bottom: 32px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.button {
    padding: 14px 32px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.button.primary {
    background-color: #4CAF50;
    color: white;
}

.button.primary:hover {
    background-color: #388E3C;
}

.button.secondary {
    background-color: #f0f4c3;
    color: #558B2F;
    border: 1px solid #d4e157;
}

.button.secondary:hover {
    background-color: #d4e157;
    color: #558B2F;
}

.newsletter {
    background-color: #fff;
    padding: 60px 24px;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-container {
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.newsletter-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.8;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.newsletter-input {
    padding: 14px 20px;
    border: 1px solid #d4e157;
    border-radius: 25px;
    width: 100%;
    max-width: 400px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.newsletter-input:focus {
    outline: none;
    border-color: #4CAF50;
}

.subscribe-button {
    padding: 14px 32px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    background-color: #4CAF50;
    color: white;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    width: fit-content;
}

.subscribe-button:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.portfolio {
    padding: 60px 24px;
    text-align: center;
}

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

.portfolio-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.portfolio-description {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 40px;
    line-height: 1.8;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.portfolio-item {
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.caption {
    padding: 20px;
    font-size: 1.1rem;
    color: #333;
    text-align: center;
}

footer {
    background-color: #2c3e50;
    color: #fff;
    padding: 25px 0;
    text-align: center;
    margin-top: 40px;
}

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}


/* need help page */
/* Hero Image Section */
.hero-image {
    height: 400px; /* Increased height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px; /* Adjusted gap */
    padding: 40px 24px; /* Adjusted padding */
    background-color: rgba(80, 80, 80, 0.6); /* Darker overlay */
    margin-bottom: 32px;
    border-radius: 12px; /* More rounded corners */
    box-sizing: border-box;
    background-image: url('placeholder-image.jpg'); /* Make sure you have a placeholder */
    background-size: cover;
    background-position: center;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Stronger shadow */
    transition: transform 0.2s ease, box-shadow 0.2s ease; /* Added box-shadow transition */
    color: #fff; /* Ensure text is white */
}

.hero-image:hover {
   transform: translateY(-4px);
   box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25); /* Slightly stronger shadow on hover */
}

.hero-image h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem); /* Responsive font size */
    font-weight: bold;
    line-height: 1.1;  /* Adjusted line height */
    letter-spacing: -1.5px; /* Adjusted spacing */
    color: inherit; /* Inherit color from parent */
    margin: 0; /* Removed default margin */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); /* Stronger text shadow */
}

/* Combined .hero-image p and .subtitle styles */
.hero-image .subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem); /* Responsive font size */
    font-weight: 400;
    line-height: 1.3; /* Adjusted line height */
    letter-spacing: normal;
    color: #eee; /* Slightly off-white */
    margin: 0; /* Removed default margin */
    max-width: 600px; /* Limit width for readability */
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6); /* Stronger text shadow */
    display: block; /* Ensure it behaves as a block */
    text-align: center;
}

/* Main Content Section */
.need-help-page {
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
    padding-bottom: 32px;
    box-sizing: border-box;
}

.pink-studios-screenshot {
    width: 100%;
    max-width: 779.3px; /* Keep max width */
    height: auto;
    /* aspect-ratio: 779.3 / 440; Removed fixed aspect ratio */
    margin-bottom: 32px; /* Increased margin */
    border-radius: 12px; /* More rounded corners */
    background-color: #edf2f7; /* Placeholder background */
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Added box-shadow transition */
    overflow: hidden; /* Ensure image stays within bounds */
}

.pink-studios-screenshot:hover {
    transform: translateY(-4px) scale(1.02); /* Add slight scale effect */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.pink-studios-screenshot img {
    display: block; /* Remove extra space below image */
    width: 100%; /* Make image fill container width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Cover the container area */
    border-radius: 12px; /* Match container rounding */
}

.content-text { /* Wrapper for text content */
     max-width: 800px; /* Limit text width for readability */
     width: 100%;
     text-align: center; /* Center headings and paragraphs */
     margin-bottom: 48px; /* Space below text block */
}

.heading {
    font-size: clamp(2rem, 6vw, 3rem); /* Responsive font size */
    font-weight: 700;
    color: #2c3e50; /* Dark blue heading */
    margin-bottom: 1rem; /* Adjusted margin */
    letter-spacing: -0.02em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.subheading {
    font-size: clamp(1.5rem, 5vw, 2rem); /* Responsive font size */
    font-weight: 600;
    color: #34495e; /* Darker blue subheading */
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.content-text p { /* Style paragraphs within the text block */
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8; /* Improve readability */
    margin-bottom: 1.5rem; /* Space between paragraphs */
    text-align: left; /* Justify or left-align paragraph text */
}


/* Media query for mobile devices */
@media (max-width: 768px) {
    .desktop-nav {
        display: none; /* Hide desktop navigation pills */
    }

    .menu-icon {
        display: flex; /* Show the hamburger menu icon */
    }

    header {
        padding: 15px 20px; /* Adjust header padding */
        min-height: 80px; /* Adjust min-height */
    }

    .hero-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-input {
        max-width: 100%;
    }

    .nav-menu {
        display: none;
    }

    .nav-menu.active{
        display: flex;
    }
}