:root {
    --color-primary: #825415;
    /* brand primary */
    --color-primary-hover: #A0561A;
    /* hover for primary buttons/links */
    --color-background: #F2F2F2;
    /* page background */
    --color-light: #FFFFFF;
    /* light surface */
    --color-text: #1A1A1A;
    /* main text */
    --color-muted: #000000;
    /* secondary text */
    --color-heading: #111111;
    /* headings */
    --color-accent: #FFD580;
    /* accent highlight */
    --color-section-alt: #FBFBFB;
    /* for alternating backgrounds */
    --max-width: 1200px;
    --transition-speed: 0.3s;
}

/* --------------------------------------
       2) Base Reset
    -------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: background-color var(--transition-speed),
        color var(--transition-speed),
        transform var(--transition-speed),
        box-shadow var(--transition-speed);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--color-background);
    color: var(--color-text);
    overflow-x: hidden;
}

/* --------------------------------------
       3) Utility & Global Classes
    -------------------------------------- */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
}

h1,
h2,
h3,
h4 {
    margin-bottom: 0.5rem;
    color: var(--color-heading);
}

p {
    margin-bottom: 1rem;
    color: var(--color-muted);
}

a {
    text-decoration: none;
    color: var(--color-primary);
}

a:hover {
    color: var(--color-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color var(--transition-speed),
        transform var(--transition-speed),
        box-shadow var(--transition-speed);
    font-family: inherit;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: var(--color-text);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-primary);
    outline: none;
}

/* --------------------------------------
       4) Header / Navbar
    -------------------------------------- */
header {
    background-color: var(--color-light);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

nav li a {
    font-weight: 500;
    color: var(--color-text);
}

nav li a:hover {
    color: var(--color-primary);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        bottom: 0;
        width: 220px;
        background-color: var(--color-light);
        flex-direction: column;
        transform: translateX(100%);
        visibility: hidden;
        z-index: 200;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    nav ul.open {
        display: flex;
        transform: translateX(0);
        visibility: visible;
    }

    nav li {
        padding: 1rem;
        border-bottom: 1px solid #e0e0e0;
    }

    nav {
        width: 100%;
    }
}

/* --------------------------------------
       5) Support Banner
    -------------------------------------- */
.support-banner {
    background-color: var(--color-primary);
    background-image: url('https://via.placeholder.com/1200x300?text=Support+Banner');
    background-size: cover;
    background-position: center;
    color: var(--color-light);
    padding: 5rem 0;
    text-align: center;
}

.support-banner h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.support-banner p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* --------------------------------------
       6) Contact Info Section
    -------------------------------------- */
.contact-info {
    padding: 4rem 0;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.contact-card p {
    font-size: 1rem;
    color: var(--color-text);
}

.contact-card a {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* --------------------------------------
       7) Support Form Section
    -------------------------------------- */
.support-form-section {
    background-color: var(--color-section-alt);
    padding: 4rem 0;
}

.support-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.support-form-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.support-form-container form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

.support-form-container textarea {
    resize: vertical;
    min-height: 120px;
}

.support-form-container .btn-primary {
    display: block;
    margin: 1.5rem auto 0;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

/* --------------------------------------
       8) Knowledge Base Section
    -------------------------------------- */
.kb-section {
    padding: 4rem 0;
}

.kb-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.kb-card {
    background-color: var(--color-light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kb-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.kb-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: var(--color-muted);
}

.kb-card a {
    color: var(--color-primary);
    font-weight: 500;
}

.kb-card a:hover {
    text-decoration: underline;
}

/* --------------------------------------
       9) Live Chat CTA Section
    -------------------------------------- */
.live-chat-cta {
    background-color: var(--color-primary);
    color: var(--color-light);
    text-align: center;
    padding: 4rem 0;
}

.live-chat-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.live-chat-cta p {
    font-size: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    opacity: 0.9;
}

.live-chat-cta .btn-primary {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
}

/* --------------------------------------
       10) Footer
    -------------------------------------- */
footer {
    background-color: var(--color-primary);
    color: var(--color-light);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-about,
.footer-links,
.footer-contact {
    flex: 1 1 200px;
}

.footer-about img.footer-logo {
    display: block;
    margin-top: 1rem;
    max-width: 120px;
    height: auto;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: var(--color-light);
    font-size: 0.9rem;
    transition: color var(--transition-speed);
}

.footer-links ul li a:hover {
    color: var(--color-light);
    opacity: 0.8;
}

.footer-contact h3 {
    margin-bottom: 0.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.social-icons a {
    margin-right: 0.5rem;
    font-size: 1.2rem;
    color: var(--color-light);
    transition: color var(--transition-speed);
}

.social-icons a:hover {
    opacity: 0.8;
}

.download-buttons img {
    max-width: 120px;
    margin-right: 0.5rem;
    margin-top: 0.5rem;
}

/* --------------------------------------
       Responsive Adjustments
    -------------------------------------- */
@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: 1fr;
    }

    .kb-grid {
        grid-template-columns: 1fr;
    }

    .support-form-container {
        padding: 1rem;
    }

    .live-chat-cta h2 {
        font-size: 1.75rem;
    }

    .live-chat-cta p {
        font-size: 0.95rem;
    }
}