/* ==========================================================================
   E610IT - Protection Through Integrity
   Color palette derived from logo:
     Dark Green:  #2B5329
     Medium Green:#3A6B38
     Gold:        #C9A84C
     Light Gold:  #E0C872
     White:       #FFFFFF
     Dark BG:     #1E3D1C
   ========================================================================== */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #222;
    line-height: 1.6;
    background: #f9f9f9;
}

a {
    color: #C9A84C;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #E0C872;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---------- Utility ---------- */
.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #2B5329;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2.5rem;
    font-size: 1.05rem;
}

.gold-line {
    width: 60px;
    height: 3px;
    background: #C9A84C;
    margin: 0 auto 1.5rem;
    border: none;
}

/* ---------- Navigation ---------- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #1E3D1C;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 0;
}

nav .nav-logo img {
    height: 48px;
}

nav .nav-links {
    list-style: none;
    display: flex;
    gap: 1.8rem;
}

nav .nav-links a {
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav .nav-links a:hover {
    color: #C9A84C;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: #C9A84C;
    margin: 5px 0;
    border-radius: 2px;
    transition: 0.3s;
}

/* ---------- Hero ---------- */
#hero {
    background: linear-gradient(135deg, #1E3D1C 0%, #2B5329 50%, #3A6B38 100%);
    color: #fff;
    padding: 10rem 0 6rem;
    text-align: center;
}

#hero .hero-logo {
    max-width: 420px;
    margin: 0 auto 2rem;
}

#hero h1 {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

#hero .tagline {
    font-size: 1.25rem;
    color: #C9A84C;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

#hero .verse {
    font-style: italic;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-size: 0.95rem;
}

#hero .cta-btn {
    display: inline-block;
    padding: 0.85rem 2.4rem;
    background: #C9A84C;
    color: #1E3D1C;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s, transform 0.2s;
}

#hero .cta-btn:hover {
    background: #E0C872;
    transform: translateY(-2px);
}

/* ---------- About ---------- */
#about {
    padding: 5rem 0;
    background: #fff;
}

#about p {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.08rem;
    color: #444;
    line-height: 1.8;
}

/* ---------- Services ---------- */
#services {
    padding: 5rem 0;
    background: #f4f4f4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-top: 4px solid #C9A84C;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.service-card .icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2B5329;
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.service-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ---------- Products ---------- */
#products {
    padding: 5rem 0;
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.product-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid #2B5329;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-3px);
}

.product-card h3 {
    color: #2B5329;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.product-card .product-link {
    font-weight: 600;
    color: #C9A84C;
}

/* ---------- Contact ---------- */
#contact {
    padding: 5rem 0;
    background: #f4f4f4;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    color: #2B5329;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    color: #555;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.contact-info .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.contact-info .info-item .label {
    font-weight: 600;
    color: #2B5329;
    min-width: 70px;
}

/* ---------- Contact Form ---------- */
.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.contact-form h3 {
    color: #2B5329;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.4rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2B5329;
}

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

/* Honeypot - hidden from humans */
.hp-field {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
}

/* Human verification */
.verify-group {
    margin-bottom: 1.2rem;
    padding: 1rem;
    background: #f0f7f0;
    border-radius: 4px;
}

.verify-group label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
}

.verify-group .math-question {
    display: block;
    margin-top: 0.6rem;
    font-weight: 500;
    color: #2B5329;
}

.verify-group input[type="text"] {
    width: 100px;
    padding: 0.4rem 0.6rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 0.4rem;
    font-size: 0.95rem;
}

.submit-btn {
    display: inline-block;
    padding: 0.8rem 2.2rem;
    background: #2B5329;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background 0.3s, transform 0.2s;
}

.submit-btn:hover {
    background: #3A6B38;
    transform: translateY(-2px);
}

/* Form messages */
.form-message {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* ---------- Footer ---------- */
footer {
    background: #1E3D1C;
    color: #ccc;
    padding: 2rem 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .footer-logo {
    height: 36px;
    margin-bottom: 0.8rem;
}

footer a {
    color: #C9A84C;
}

.built-by {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.built-by span {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
}

.built-by a {
    display: inline-flex;
    align-items: center;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.built-by a:hover {
    opacity: 1;
}

.built-by img {
    height: 20px;
    width: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    nav .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1E3D1C;
        padding: 1rem 0;
        text-align: center;
    }

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

    nav .nav-links a {
        padding: 0.6rem 0;
        display: block;
    }

    #hero {
        padding: 8rem 0 4rem;
    }

    #hero h1 {
        font-size: 1.8rem;
    }

    #hero .hero-logo {
        max-width: 280px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.6rem;
    }
}
