
/* ==========================================================
   BIZSTARTZ REUSABLE WEBSITE TEMPLATE
   MAIN.CSS - GLOBAL STYLES
   ========================================================== */

/* ----------------------------------------------------------
   1. FONTS AND BRAND COLOURS
   ---------------------------------------------------------- */

:root {
    --default-font: "Lato", sans-serif;
    --heading-font: "Playfair Display", Georgia, serif;
    --nav-font: "Lato", sans-serif;
    --decorative-font: "Allura", cursive;

    --background-color: #ffffff;
    --surface-color: #ffffff;
    --light-background-color: #f5f3ec;

    --default-color: #465047;
    --heading-color: #243c27;
    --muted-color: #737a72;

    --accent-color: #2e511f;
    --accent-dark-color: #213d19;
    --accent-light-color: #8dae7b;

    --secondary-color: #577a3f;
    --sage-color: #8dae7b;
    --earth-color: #a05a3a;
    --sand-color: #d8c9b5;
    --cream-color: #f5f3ec;
    --mountain-color: #6b7d8f;

    --dark-color: #182b1c;
    --dark-secondary-color: #263e2b;

    --contrast-color: #ffffff;
    --border-color: #e5e8e0;

    --nav-color: #263a2a;
    --nav-hover-color: #577a3f;
    --nav-mobile-background-color: #ffffff;
    --nav-dropdown-background-color: #ffffff;
    --nav-dropdown-color: #344338;
    --nav-dropdown-hover-color: #2e511f;

    --shadow-sm: 0 5px 20px rgba(22, 43, 27, 0.06);
    --shadow-md: 0 14px 38px rgba(22, 43, 27, 0.10);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;

    scroll-behavior: smooth;
}

/* ----------------------------------------------------------
   2. BACKGROUND PRESETS
   ---------------------------------------------------------- */

.light-background {
    --background-color: var(--cream-color);
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: var(--dark-color);
    --default-color: rgba(255, 255, 255, 0.82);
    --heading-color: #ffffff;
    --surface-color: var(--dark-secondary-color);
    --contrast-color: #ffffff;
}

/* ----------------------------------------------------------
   3. GENERAL
   ---------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 95px;
}

body {
    margin: 0;
    color: var(--default-color);
    background: var(--background-color);
    font-family: var(--default-font);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--sage-color);
    outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--heading-color);
    font-family: var(--heading-font);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-top: 0;
}

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

::selection {
    color: #ffffff;
    background: var(--accent-color);
}

/* ----------------------------------------------------------
   4. GENERIC SECTIONS
   ---------------------------------------------------------- */

section,
.section {
    padding: 85px 0;
    color: var(--default-color);
    background: var(--background-color);
    scroll-margin-top: 95px;
}

.section-title {
    max-width: 780px;
    margin: 0 auto;
    padding-bottom: 42px;
    text-align: center;
}

.section-title .section-eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
}

.section-title h2 {
    margin-bottom: 15px;
    font-size: clamp(30px, 3.5vw, 46px);
    line-height: 1.2;
}

.section-title p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--default-color);
    font-size: 16px;
    line-height: 1.8;
}

/* ----------------------------------------------------------
   5. GENERIC BUTTONS
   ---------------------------------------------------------- */

.site-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 26px;
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-sm);
    background: var(--accent-color);
    color: #ffffff;
    font-family: var(--nav-font);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1.3;
    text-align: center;
    cursor: pointer;
    transition:
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.site-btn:hover {
    color: #ffffff;
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.site-btn:focus {
    color: #ffffff;
}

.site-btn-outline {
    background: transparent;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.site-btn-outline:hover {
    color: #ffffff;
    background: var(--accent-color);
    border-color: var(--accent-color);
}

.site-btn-light {
    color: var(--accent-color);
    background: #ffffff;
    border-color: #ffffff;
}

.site-btn-light:hover {
    color: var(--accent-color);
    background: var(--cream-color);
    border-color: var(--cream-color);
}

.site-btn-outline-light {
    color: #ffffff;
    background: transparent;
    border-color: rgba(255, 255, 255, 0.8);
}

.site-btn-outline-light:hover {
    color: var(--accent-color);
    background: #ffffff;
    border-color: #ffffff;
}

/* ----------------------------------------------------------
   6. OPTIONAL TOP BAR
   ---------------------------------------------------------- */

.site-topbar {
    background: var(--dark-color);
    color: #ffffff;
    font-size: 12px;
}

.site-topbar .container-xl {
    display: flex;
    align-items: center;
    min-height: 36px;
}

.site-topbar .container-xl > .d-flex {
    width: 100%;
    align-items: center;
}

.site-topbar-item,
.site-topbar-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.88);
}

.site-topbar-link:hover {
    color: var(--sage-color);
}

.site-topbar i {
    color: var(--sage-color);
}

/* ----------------------------------------------------------
   7. HEADER
   ---------------------------------------------------------- */

.header {
    padding: 12px 0;
    color: var(--default-color);
    background: #ffffff;
    transition:
        padding 0.3s ease,
        box-shadow 0.3s ease;
    z-index: 997;
}

.site-header {
    background: #ffffff;
}

.header .logo {
    flex-shrink: 0;
    line-height: 1;
}

.header .logo img,
.site-logo-img {
    display: block;
    width: auto;
    max-width: 190px;
    max-height: 72px;
    object-fit: contain;
}

.scrolled .header {
    box-shadow: 0 5px 25px rgba(22, 43, 27, 0.10);
}

/* ----------------------------------------------------------
   8. DESKTOP NAVIGATION
   ---------------------------------------------------------- */

@media (min-width: 1200px) {

    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        display: flex;
        align-items: center;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu a,
    .navmenu a:focus {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        padding: 17px 9px;
        color: var(--nav-color);
        font-family: var(--nav-font);
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
        transition: color 0.3s ease;
    }

    .navmenu a i {
        margin-left: 2px;
        font-size: 10px;
        line-height: 1;
        transition: transform 0.3s ease;
    }

    .navmenu li:hover > a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    .navmenu > ul > li:not(.site-nav-cta) > a::after {
        content: "";
        position: absolute;
        right: 9px;
        bottom: 9px;
        left: 9px;
        height: 2px;
        background: var(--accent-color);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 0.3s ease;
    }

    .navmenu > ul > li:not(.site-nav-cta):hover > a::after,
    .navmenu > ul > li:not(.site-nav-cta) > a.active::after {
        transform: scaleX(1);
    }

    /* Dropdowns */

    .navmenu .dropdown ul {
        position: absolute;
        top: 130%;
        left: 0;
        display: block;
        min-width: 225px;
        margin: 0;
        padding: 10px 0;
        visibility: hidden;
        opacity: 0;
        background: var(--nav-dropdown-background-color);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-md);
        transition:
            top 0.3s ease,
            opacity 0.3s ease,
            visibility 0.3s ease;
        z-index: 99;
    }

    .navmenu .dropdown ul li {
        min-width: 225px;
    }

    .navmenu .dropdown ul a {
        padding: 10px 18px;
        color: var(--nav-dropdown-color);
        font-size: 13px;
        font-weight: 600;
        white-space: normal;
    }

    .navmenu .dropdown ul a::after {
        display: none;
    }

    .navmenu .dropdown ul a:hover,
    .navmenu .dropdown ul li:hover > a {
        color: var(--nav-dropdown-hover-color);
        background: var(--cream-color);
    }

    .navmenu .dropdown:hover > ul,
    .navmenu .dropdown:focus-within > ul {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }

    /* Header CTA */

    .navmenu .site-nav-cta {
        margin-left: 10px;
    }

    .navmenu .site-nav-cta > a,
    .navmenu .site-nav-cta > a:focus {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 17px;
        color: #ffffff;
        background: var(--accent-color);
        border-radius: var(--radius-sm);
        font-size: 12px;
    }

    .navmenu .site-nav-cta > a:hover {
        color: #ffffff;
        background: var(--secondary-color);
    }

}

/* ----------------------------------------------------------
   9. MOBILE NAVIGATION
   ---------------------------------------------------------- */

@media (max-width: 1199px) {

    .header {
        padding: 10px 0;
    }

    .header .logo img,
    .site-logo-img {
        max-width: 175px;
        max-height: 60px;
    }

    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 30px;
        line-height: 0;
        cursor: pointer;
        transition: color 0.3s ease;
    }

    .mobile-nav-toggle:hover {
        color: var(--accent-color);
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        position: absolute;
        inset: 65px 20px 20px;
        display: none;
        margin: 0;
        padding: 10px 0;
        overflow-y: auto;
        list-style: none;
        background: var(--nav-mobile-background-color);
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-md);
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px 20px;
        color: var(--nav-color);
        font-family: var(--nav-font);
        font-size: 15px;
        font-weight: 700;
        transition: color 0.3s ease;
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-hover-color);
    }

    .navmenu a i {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        margin-left: 8px;
        color: var(--accent-color);
        background: var(--cream-color);
        border-radius: 50%;
        font-size: 12px;
    }

    .navmenu .dropdown ul {
        position: static;
        display: none;
        inset: auto;
        margin: 0 15px 10px;
        padding: 7px 0;
        background: var(--cream-color);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-sm);
        box-shadow: none;
    }

    .navmenu .dropdown > .dropdown-active {
        display: block;
    }

    .navmenu .dropdown ul a {
        padding: 10px 16px;
        font-size: 14px;
        font-weight: 500;
    }

    .navmenu .site-nav-cta {
        padding: 10px 20px;
    }

    .navmenu .site-nav-cta > a {
        display: inline-flex;
        justify-content: center;
        padding: 13px 22px;
        color: #ffffff;
        background: var(--accent-color);
        border-radius: var(--radius-sm);
    }

    .navmenu .site-nav-cta > a:hover {
        color: #ffffff;
        background: var(--secondary-color);
    }

    .navmenu .site-nav-cta > a i {
        color: #ffffff;
        background: transparent;
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
        margin: 0;
        color: #ffffff;
        font-size: 32px;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        inset: 0;
        overflow: hidden;
        background: rgba(17, 38, 22, 0.97);
        transition: background 0.3s ease;
    }

    .mobile-nav-active .navmenu > ul {
        display: block;
    }

}

/* ----------------------------------------------------------
   10. GENERIC INFORMATION STRIP
   ---------------------------------------------------------- */

.site-newsletter {
    padding: 35px 0;
    background: var(--dark-secondary-color);
    color: #ffffff;
}

.site-newsletter h4 {
    margin: 0 0 6px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 21px;
}

.site-newsletter p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
}

.site-newsletter-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    color: var(--sage-color);
    border: 1px solid var(--sage-color);
    border-radius: 50%;
}

.site-newsletter-icon i {
    font-size: 22px;
}

/* ----------------------------------------------------------
   11. FOOTER
   ---------------------------------------------------------- */

.footer {
    margin: 0;
}

.site-footer {
    position: relative;
    padding: 75px 0 0;
    color: rgba(255, 255, 255, 0.78);
    background-color: var(--dark-color);
    background-image:
        linear-gradient(
            rgba(19, 42, 25, 0.94),
            rgba(19, 42, 25, 0.96)
        ),
        var(--footer-background-image, none);
    background-size: cover;
    background-position: center;
    font-size: 14px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.80);
}

.site-footer a:hover {
    color: var(--sage-color);
}

.site-footer-widget h4 {
    margin-bottom: 24px;
    color: #ffffff;
    font-family: var(--heading-font);
    font-size: 19px;
    font-weight: 600;
}

.site-footer-widget p {
    margin-bottom: 14px;
    line-height: 1.85;
}

.site-footer-widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer-widget ul li {
    margin-bottom: 10px;
}

.site-footer-widget ul li a {
    transition:
        color 0.3s ease,
        padding-left 0.3s ease;
}

.site-footer-widget ul li a:hover {
    padding-left: 4px;
}

.site-footer-logo {
    display: inline-block;
    background: transparent;
}

.site-footer-logo-img {
    display: block;
    width: auto;
    max-width: 205px;
    max-height: 100px;
    object-fit: contain;
    border-radius: 4px;
}

.site-footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.site-footer-contact i {
    margin-top: 5px;
    color: var(--sage-color);
    font-size: 16px;
}

/* ----------------------------------------------------------
   12. SOCIAL LINKS
   ---------------------------------------------------------- */

.site-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: var(--secondary-color);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    font-size: 16px;
    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.site-social-links a:hover {
    color: #ffffff;
    background: var(--sage-color);
    transform: translateY(-2px);
}

/* ----------------------------------------------------------
   13. FOOTER BOTTOM
   ---------------------------------------------------------- */

.site-footer-bottom {
    margin-top: 60px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
}

.site-footer-bottom p,
.site-footer-legal {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.65);
}

/* ----------------------------------------------------------
   14. OPTIONAL WHATSAPP BUTTON
   ---------------------------------------------------------- */

.site-whatsapp {
    position: fixed;
    right: 15px;
    bottom: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    color: #ffffff;
    background: #25d366;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 9998;
}

.site-whatsapp i {
    color: #ffffff;
    font-size: 23px;
}

.site-whatsapp:hover {
    color: #ffffff;
    background: #1ebe5d;
    transform: translateY(-2px);
}

/* ----------------------------------------------------------
   15. SCROLL TO TOP
   ---------------------------------------------------------- */

.scroll-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    visibility: hidden;
    opacity: 0;
    color: #ffffff;
    background: var(--accent-color);
    border-radius: var(--radius-sm);
    transition: all 0.4s ease;
    z-index: 9999;
}

.scroll-top i {
    color: #ffffff;
    font-size: 24px;
    line-height: 0;
}

.scroll-top:hover {
    background: var(--secondary-color);
}

.scroll-top.active {
    visibility: visible;
    opacity: 1;
}

/* ----------------------------------------------------------
   16. RESPONSIVE
   ---------------------------------------------------------- */

@media (max-width: 1399px) and (min-width: 1200px) {

    .header .logo img,
    .site-logo-img {
        max-width: 145px;
        max-height: 60px;
    }

    .navmenu a,
    .navmenu a:focus {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 11px;
    }

    .navmenu .site-nav-cta {
        margin-left: 6px;
    }

    .navmenu .site-nav-cta > a {
        padding: 11px 13px;
    }

}

@media (max-width: 991px) {

    section,
    .section {
        padding: 65px 0;
    }

    .section-title {
        padding-bottom: 32px;
    }

    .site-footer {
        padding-top: 60px;
    }

    .site-footer-bottom {
        margin-top: 45px;
    }

}

@media (max-width: 767px) {

    body {
        font-size: 15px;
    }

    section,
    .section {
        padding: 55px 0;
    }

    .section-title h2 {
        font-size: 30px;
    }

    .site-btn {
        padding: 12px 21px;
    }

    .site-footer {
        padding-top: 50px;
    }

    .site-footer-logo-img {
        max-width: 185px;
    }

    .site-footer-bottom {
        margin-top: 35px;
        text-align: center;
    }

}

/* ----------------------------------------------------------
   17. AOS ACCESSIBILITY
   ---------------------------------------------------------- */

@media screen and (max-width: 768px) {

    [data-aos-delay] {
        transition-delay: 0ms !important;
    }

}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

}
