:root {
    /* Core brand */
    --primary-color:   #C00000; /* Crimson */

    /* A deeper, moodier shade of the primary for headers, nav bars, hovers */
    --secondary-color: #7A001A; /* Deep wine */

    /* A warm, energetic highlight that pops against crimson without clashing */
    --accent-color:    #FFB400; /* Amber gold */
    --cta-end:   #FF9500;  
    /* Quiet canvas for backgrounds and cards—leans slightly warm to balance the red family */
    --neutral-color:   #F7F4F3; /* Soft off‑white */

    /* High‑contrast text that’s softer than pure black */
    --text-color:      #2D2D2D; /* Charcoal */

    /* Action/confirmation color: keeps the familiar green but deepens it so it pairs better with crimson */
    --button-green:    #2E7D32; /* Forest green */
}


/* Example usage */
body {
    background-color: var(--neutral-color);
    color: var(--text-color);
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    overflow-x: hidden; /* Prevent horizontal scrolling */
    padding-top: 70px; /* Add padding to account for the fixed header height */
}




.footer {
    color: var(--neutral-color);
}

eader {
		text-align: center;
	}

		header p {
			position: relative;
			top: -1em;
			color: #888888;
			text-transform: uppercase;
			letter-spacing: 0.075em;
		}

		header.major {
			border-bottom-width: 1px;
			border-color: rgba(224, 224, 224, 0.75);
			border-style: solid;
			border-top-width: 1px;
			margin-bottom: 6em;
			padding: 4em 0;
			position: relative;
		}

			header.major:before, header.major:after {
				background: rgba(224, 224, 224, 0.75);
				content: '';
				display: block;
				height: 1px;
				left: 0;
				position: absolute;
				width: 100%;
			}

			header.major:before {
				top: 10px;
			}

			header.major:after {
				bottom: 10px;
			}

			header.major h2 {
				margin: 0;
			}

			header.major p {
				top: 0;
				margin: 1.5em 0 0 0;
				padding: 1.5em 1.5em 0 1.5em;
				font-size: 1.5em;
				line-height: 1.75em;
				border-top: solid 1px rgba(224, 224, 224, 0.75);
				display: inline-block;
			}

			header.major.last {
				border-bottom: 0;
				margin-bottom: 0;
				padding-bottom: 0;
			}

				header.major.last:after {
					display: none;
				}

				header.major.last h2 {
					margin-bottom: 1em;
				}

/* Header */

	#header {
    background: 
        url("images/top-3200.svg") repeat-x bottom center, /* SVG as a repeating background */
        var(--primary-color); /* Solid primary color background */
    background-size: auto, cover; /* Ensure proper sizing for the SVG */
    position: relative;
    text-align: center;
    z-index: 1; /* Ensure it appears above other elements */
    padding: 10em 0 20em 0;
    color: var(--neutral-color); /* Text color for contrast */
}

#header:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none; /* Remove any gradient overlay */
    z-index: 0;
}

#header .logo {
    display: none; /* Hide the inline SVG logo since it's now part of the background */
}

#header h1 {
    font-size: 2.5em;
    margin: 0;
    color: var(--neutral-color);
    position: relative;
    z-index: 1; /* Ensure text appears above the background */
}

#header p {
    font-size: 1.5em;
    line-height: 1.5em;
    margin: 0.25em 0 0 0;
    color: var(--neutral-color);
    position: relative;
    z-index: 1; /* Ensure text appears above the background */
}

#header a {
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    text-decoration: none;
    position: relative;
    z-index: 1; /* Ensure link appears above the background */
}

#header a:hover {
    color: var(--primary-color);
    border-bottom-color: transparent;
}

#header .cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 2; /* Ensure the button is above the background */
    width: 50%;
}

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




.footer {
    background-color: var(--secondary-color);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 20px;
    background-color: var(--primary-color);
    color: var(--neutral-color);
    text-align: center;
}

.hero-content {
    flex: 1;
    max-width: 50%;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

.header-content .cta-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--neutral-color);
    background: var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px var(--cta-end);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.header-content .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--cta-end);
}

.hero-illustration {
    flex: 1;
    max-width: 50%;
    
}

.hero-illustration img {
    width: 100%;
    height: auto;
    max-width: 300px;
}

.main-title, .subtitle, .generated-icebreaker h2, .previous-entry h3 {
    text-align: center;
    color: var(--primary-color);

}

.main-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem); /* Responsive text scaling */
    font-weight: 700;
    text-transform: uppercase;
    margin: 20px 0 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
}

form {
    background-color: var(--neutral-color);
    border-radius: 15px;
    padding: 30px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    margin: 20px auto;
    /* Removed box-shadow from here */
}

.generated-icebreaker {
background-color: var(--neutral-color);
border-radius: 15px;
padding: 30px;
width: 90%;
max-width: 600px;
text-align: center;
margin: 20px auto;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
}

.previous-entry {
    background-color: var(--neutral-color);
    border-radius: 15px;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
    margin: 20px auto;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5);
    }


#icebreakerForm {
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.5); /* Apply box-shadow only to this form */
}

#icebreakerForm2 {
    background-color: var(--neutral-color);
    border-radius: 15px;
    padding: 30px;
    width: 80%;
    max-width: 1000px;
    text-align: center;
}

label, input[type="text"], input[type="text"]::placeholder, button, .download-button button {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 15px 0;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    background: var(--neutral-color);
    color: var(--text-color);
    box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
}

button, .download-button button {
    background: var(--primary-color);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;

    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

button:hover, .download-button button:hover {
    transform: translateY(-3px);

}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.overlay-content h2, .overlay-content p, .overlay-content .cta-button {
    margin-bottom: 20px;
}

.overlay-content .cta-button {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #4CAF50, #34D399);
    border-radius: 50px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.overlay-content .cta-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, #34D399, #4CAF50);
}

.logo-container {
    margin: 20px 0 10px;
}

.logo-container img {
    max-width: 150px;
    height: auto;
}

.top-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: rgba(40, 40, 60, 0.95);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.top-menu .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4CAF50;
    text-transform: uppercase;
}

.top-menu .menu-container {
    display: flex;
    gap: 20px;
    margin-right: 30px;
}

.top-menu a, .top-menu .training-button {
    font-size: 1.3rem;
    color: #fff;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.2s ease;
}

.top-menu a:hover, .top-menu .training-button:hover {
    background-color: #4CAF50;
    transform: translateY(-2px);
}

.top-menu .training-button {
    background-color: #4CAF50;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.index-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 20px;
    flex-wrap: nowrap;
    background-color: var(--neutral-color);
}

.index-content .left-section {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
    color: var(--text-color);
    font-size: 1.5rem;
    line-height: 1.6;
}

.index-content .right-section {
    flex: 0 0 50%;
    max-width: 50%;
    text-align: left;
}

.index-content .right-section form {
    display: flex;
    flex-direction: column;
    background: none; /* Remove card background */
    box-shadow: none; /* Remove card shadow */
    padding: 0; /* Remove card padding */
    border-radius: 0; /* Remove card border radius */
}

.index-content .right-section label {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.index-content .right-section input[type="text"] {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.index-content .right-section button {
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    background: var(--accent-color);
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 15px var(--cta-end);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.index-content .right-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--cta-end);
}

@media (max-width: 768px) {
    .index-content {
        flex-direction: column;
        align-items: center;
    }

    .index-content .left-section,
    .index-content .right-section {
        max-width: 100%;
        text-align: center;
    }

    .index-content .right-section form {
        align-items: center;
    }

    .index-content .right-section label,
    .index-content .right-section input[type="text"],
    .index-content .right-section button {
        width: 100%;
    }
}

.previous-entries {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 20px;
    padding: 20px;
}

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

.previous-entry small {
    display: block;
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 10px;
}

.social-proof {
    padding: 40px 20px;
    background-color: var(--accent-color);
    text-align: center;
}

.social-proof h2 {
    font-size: 2.5rem;
    color: var(--neutral-color);
    margin-bottom: 20px;
}

.testimonials {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.testimonial {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: center;
    background-color: var(--neutral-color);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
}

.testimonial p {
    font-size: 1.2rem;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .testimonials {
        flex-direction: column;
        align-items: center;
    }

    .testimonial {
        max-width: 100%;
    }
}

.faq {
    padding: 40px 20px;
    background-color: var(--neutral-color);
    text-align: center;
    align-items: center;
}

.faq h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.faq-item {
    width: 80%;            /* Adjust width for better responsiveness */
    max-width: 600px;      /* Keep it from overflowing on smaller screens */
    margin-bottom: 15px;   /* Spacing between FAQ items */
    margin: auto;
}

.faq-question {
    width: 100%;
    padding: 15px;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--text-color);
    background-color: var(--neutral-color);
    border: none;
    border-radius: 5px;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    margin-bottom: 10px; /* Add margin to separate questions */
    padding-right: 40px; /* Add padding to create space for the arrow */
}

.faq-question .arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    border: solid var(--text-color);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 5px;
    transition: transform 0.3s ease;
}

.faq-question .arrow.down {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question .arrow.up {
    transform: translateY(-50%) rotate(-135deg);
}

.faq-question.active .arrow {
    transform: translateY(-50%) rotate(-135deg);
}

.faq-answer {
    padding: 15px;
    text-align: left;
    font-size: 1rem;
    color: var(--text-color);
    max-height: 0;
    overflow: hidden;
    border: none;
    border-radius: 5px;
    transition: max-height 0.3s ease;
    width: 100%;
}

.faq-question.active + .faq-answer {
    max-height: 500px; /* Adjust as needed */
}


@media (max-width: 768px) {
    .faq-item {
        width: 90%; /* Increase width for better mobile experience */
    }

    .faq-question {
        font-size: 1rem; /* Adjust font size for better readability on smaller screens */
        padding: 10px;   /* Adjust padding for better spacing on smaller screens */
    }

    .faq-answer {
        font-size: 0.9rem; /* Adjust font size for better readability on smaller screens */
        padding: 10px;     /* Adjust padding for better spacing on smaller screens */
    }
}

.centered {
    display: flex;           /* enable flexbox */
    flex-direction: column;  /* stack items vertically */
    align-items: center;     /* center them horizontally in the container */
    justify-content: center; /* optional: center them vertically if there's extra space */
    /* You could also set a max-width or a specific width if you want a narrower column */
    margin: 0 auto;          /* often used to center if there's a set width */
    padding: 20px;           /* optional spacing */
    width: 75%;
}

.carousel-container {
    position: relative;
    max-width: 800px;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    flex: 0 0 100%; /* Ensure each item takes up the full width of the container */
    opacity: 0.5;
    transform: scale(0.8);
    transition: transform 0.5s, opacity 0.5s;
    text-align: center;
}

.carousel-item.active {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.carousel-item.prev,
.carousel-item.next {
    z-index: 0;
}

.carousel-card {
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    margin: auto;
    max-width: 90%; /* Ensure the card fits within the container */
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 10;
    font-size: 1.5rem;
    line-height: 1;
}

.carousel-nav.prev {
    left: 10px;
}

.carousel-nav.next {
    right: 10px;
}

.carousel-nav:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.carousel-button {
    margin-top: 10px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-button:hover {
    background: var(--secondary-color);
}

.menu-container {
    display: flex; /* Default for desktop */
    gap: 15px;
    pointer-events: auto; /* Allow interaction on desktop */
}

.menu-container.active {
    display: flex; /* Ensure menu is visible when active */
    pointer-events: auto; /* Allow interaction when active */
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    position: absolute; /* Position it relative to the top menu */
    top: 20px; /* Align vertically within the top menu */
    right: 60px; /* Push it further to the right */
    z-index: 1001; /* Ensure it stays above other elements */
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: #fff;
}

@media (max-width: 768px) {
    .menu-container {
        display: none; /* Hide menu by default on mobile */
        flex-direction: column;
        background-color: #333;
        position: absolute;
        top: 70px; /* Adjusted to align below the top menu */
        right: 10px; /* Add padding to bring it onto the screen */
        width: 200px;
        padding: 15px; /* Add padding inside the menu */
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); /* Add shadow for better visibility */
        opacity: 0; /* Start hidden */
        transform: translateY(-10px); /* Slightly move up */
        transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
        pointer-events: none; /* Prevent interaction when hidden */
    }

    .menu-container.active {
        display: flex; /* Show menu when active */
        opacity: 1; /* Fully visible */
        transform: translateY(0); /* Reset position */
        pointer-events: auto; /* Allow interaction when active */
    }

    .hamburger {
        display: flex; /* Show hamburger icon on mobile */
    }
}