
/* =========================================
   KUTUSCONNECT - MAIN WEBSITE STYLESHEET
   Mt. Kenya inspired green and gold theme
========================================= */

/* 1. Define the main website colours. */
:root {
    --primary-green: #14532d;
    --dark-green: #0b3020;
    --light-green: #e8f5e9;
    --gold: #d4a017;
    --white: #ffffff;
    --light-bg: #f5f7f5;
    --text-dark: #263238;
}

/* 2. Apply basic styling to the entire website. */
body {
    font-family: Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* 3. Style the main navigation bar. */
.navbar {
    background-color: var(--dark-green) !important;
    padding: 15px 0;
}

/* Style the website name in the navbar. */
.navbar-brand {
    color: var(--gold) !important;
    font-size: 24px;
}

/* Style navigation links. */
.navbar .nav-link {
    color: var(--white) !important;
    transition: color 0.3s ease;
}

/* Change link colour when the mouse hovers over it. */
.navbar .nav-link:hover {
    color: var(--gold) !important;
}

/* 4. Style the main buttons. */
.btn-warning {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--dark-green);
    font-weight: bold;
}

/* Add hover effect to buttons. */
.btn-warning:hover {
    background-color: #b8860b;
    border-color: #b8860b;
    color: var(--white);
}

/* 5. Style service cards. */
.service-card {
    background-color: var(--white);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Lift cards slightly when hovered over. */
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* 6. Style section headings. */
.section-title {
    color: var(--primary-green);
    font-weight: bold;
    margin-bottom: 20px;
}

/* 7. Style the website footer. */
.site-footer {
    background-color: var(--dark-green);
    color: var(--white);
}

/* Style footer headings. */
.site-footer h5 {
    color: var(--gold);
}

/* Style footer links. */
.site-footer a {
    color: var(--white);
    text-decoration: none;
}

/* Change footer links on hover. */
.site-footer a:hover {
    color: var(--gold);
}

/* 8. Style form inputs. */
.form-control,
.form-select {
    border-radius: 8px;
    padding: 10px;
}

/* Highlight inputs when selected. */
.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(20, 83, 45, 0.15);
}

/* 9. Style badges. */
.badge {
    border-radius: 20px;
}

/* 10. Responsive adjustments for smaller screens. */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 20px;
    }

    .section-title {
        font-size: 22px;
    }

    .service-card {
        margin-bottom: 15px;
    }
}

/* 11. Print styles for receipts and reports. */
@media print {
    .navbar,
    .site-footer,
    .no-print,
    button {
        display: none !important;
    }

    body {
        background-color: white;
        color: black;
    }

    .service-card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
