:root {
    --primary-gold: #eebb54;
    --primary-gold-hover: #d4a036;
    --bg-dark: #2d2d2d;
    --bg-darker: #1f1f1f;
    --bg-footer: #141b2d;
    --text-white: #ffffff;
    --text-grey: #b3b3b3;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition-speed: 0.3s;
}

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

body {
    font-family: "Open Sans", sans-serif;
    background-color: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "Montserrat", sans-serif;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}
ul {
    list-style: none;
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Start hidden */
}

.delay-1 {
    animation-delay: 0.2s;
}
.delay-2 {
    animation-delay: 0.4s;
}
.delay-3 {
    animation-delay: 0.6s;
}

/* --- HEADER --- */
header {
    background-color: var(--bg-dark);
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.logo-container h2 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.logo-container span {
    color: var(--text-white);
    font-size: 0.8rem;
    font-weight: 400;
    display: block;
    margin-top: 5px;
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-white);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
}

nav a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-gold);
    transition: var(--transition-speed);
}

nav a:hover {
    color: var(--primary-gold);
}
nav a:hover::after {
    width: 100%;
}

.search-icon {
    color: var(--primary-gold);
    font-size: 1.2rem;
    cursor: pointer;
}

/* --- HERO SECTION --- */
.hero {
    background-color: var(--bg-dark);
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5% 2rem 5%; /* Extra bottom padding for overlap */
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    z-index: 2;
}

.hero h1 {
    color: #e0e0e0; /* Off-white for contrast */
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero h1 span {
    color: var(--primary-gold);
}

.hero p {
    color: var(--text-grey);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.btn-gold {
    background-color: var(--primary-gold);
    color: var(--bg-darker);
    padding: 1rem 2rem;
    font-weight: 700;
    font-family: "Montserrat", sans-serif;
    border-radius: 4px;
    display: inline-block;
    border: 2px solid var(--primary-gold);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(238, 187, 84, 0.4);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--primary-gold);
    box-shadow: 0 6px 20px rgba(238, 187, 84, 0.2);
    transform: translateY(-2px);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Placeholder for the "Badger King" Illustration */
.illustration-placeholder {
    width: 450px;
    height: 450px;
    background: radial-gradient(
        circle,
        rgba(238, 187, 84, 0.03) 0%,
        rgba(45, 45, 45, 0) 70%
    );
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.illustration-placeholder img {
    width: 100%;
    height: auto;
    /* Filter to match theme if using generic image, remove for real image */
    drop-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

/* Money icon floating animation */
.floating-money {
    position: absolute;
    font-size: 3rem;
    color: var(--primary-gold);
    animation: float 3s ease-in-out infinite;
    z-index: 10;
}
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Hero Character Image Styling */
.hero-character-img {
    max-width: 100%;
    max-height: 400px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(238, 187, 84, 0.2)) 
            drop-shadow(0 0 10px rgba(238, 187, 84, 0.15))
            brightness(1.05);
    animation: heroFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    z-index: 1;
}

.hero-character-img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 25px rgba(238, 187, 84, 0.3)) 
            drop-shadow(0 0 12px rgba(238, 187, 84, 0.2))
            brightness(1.08);
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* --- SOLUTIONS SECTION (Overlapping) --- */
.solutions-wrapper {
    background-color: #e0e0e0; /* Light grey backdrop */
    padding: 0 5% 5rem 5%;
    position: relative;
    top: 50px;
}

.solutions-container {
    margin-top: -80px; /* Negative margin creates overlap */
    position: relative;
    z-index: 10;
    padding-top: 40px; /* Space for the absolute positioned header */
}

.solutions-header {
    position: absolute;
    top: 10px;
    left: 0;
    color: #555;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.solutions {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2rem;
}

.card {
    background: white;
    padding: 2.5rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--card-shadow);
    border: 2px solid transparent;
    transition: var(--transition-speed);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(238, 187, 84, 0.2);
}

.card-icon {
    font-size: 3rem;
    color: var(--primary-gold); /* Gold icons */
    margin-bottom: 1.5rem;
    /* Optional: Add a stroke effect similar to image */
    -webkit-text-stroke: 1px #333;
}

.card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* --- CONTACT FORM SECTION --- */
.contact-section {
    background-color: var(--bg-darker);
    padding: 4rem 5%;
    margin: 3rem 5%;
    border-radius: 15px;
    color: white;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.contact-section h2 {
    color: var(--primary-gold);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

label {
    display: none; /* Hidden labels for cleaner look as per image */
}

input,
textarea {
    width: 100%;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #444;
    background-color: #ffffff;
    font-family: "Open Sans", sans-serif;
    font-size: 1rem;
    transition: var(--transition-speed);
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 10px rgba(238, 187, 84, 0.3);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    grid-column: span 2;
    background-color: var(--primary-gold);
    color: var(--bg-darker);
    border: none;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    border-radius: 6px;
    text-transform: uppercase;
    transition: var(--transition-speed);
    margin-top: 1rem;
}

.btn-submit:hover {
    background-color: var(--primary-gold-hover);
    letter-spacing: 1px;
}

/* --- FOOTER --- */
footer {
    background-color: var(--bg-footer);
    color: white;
    padding: 3rem 0;
    border-top: 3px solid var(--primary-gold);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
    width: 100%;
    padding: 0 5%;
}

.footer-left h4 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

.footer-info p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.footer-info strong {
    color: white;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons i {
    font-size: 1.5rem;
    color: white;
    cursor: pointer;
    transition: var(--transition-speed);
}

.social-icons i:hover {
    color: var(--primary-gold);
    transform: scale(1.2);
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 1rem;
    }
    nav ul {
        gap: 1rem;
    }

    .hero {
        flex-direction: column-reverse;
        text-align: center;
        padding-top: 2rem;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .solutions-container {
        margin-top: 0;
    }

    .solutions-wrapper {
        padding-top: 10px;
    }
    .solutions-header {
        display: none;
    } /* Hide label on mobile for space */

    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group.full-width {
        grid-column: span 1;
    }
    .btn-submit {
        grid-column: span 1;
    }

    .illustration-placeholder {
        width: 300px;
        height: 300px;
        margin-bottom: 2rem;
    }

    .hero-character-img {
        max-height: 280px;
    }
}
