/* =====================================================
   PlantZone - Main Stylesheet
   Colors: #fdbe33 (yellow), #030f27 (dark navy), #666 (body)
   Font: Poppins
   ===================================================== */

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

body {
    color: #666666;
    background: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 { color: #030f27; font-weight: 700; }
a { color: #666666; transition: .3s; }
a:hover, a:active, a:focus { color: #fdbe33; outline: none; text-decoration: none; }

.btn:focus { box-shadow: none; }

.wrapper {
    position: relative;
    width: 100%;
    background: #ffffff;
    overflow-x: hidden;
}

/* Utility button styles */
.btn {
    transition: .3s;
    font-weight: 600;
    border-radius: 4px;
    padding: 10px 24px;
}

/**********************************/
/********** Top Bar CSS ***********/
/**********************************/
.top-bar {
    position: relative;
    background: #fdbe33;
    padding: 0 40px;
    min-height: 80px;
    width: 100%;
}

.top-bar .logo {
    padding: 10px 0;
    text-align: left;
}

.top-bar .logo h1 {
    margin: 0;
    color: #030f27;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

/* if using an image logo, ensure it fits within the bar */
.top-bar .logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.top-bar .logo a { text-decoration: none; }

.top-bar .top-bar-item {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 80px;
}

.top-bar .top-bar-icon {
    width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #030f27;
}

.top-bar .top-bar-text { padding-left: 12px; }
.top-bar .top-bar-text h3 { margin: 0 0 2px 0; color: #030f27; font-size: 15px; font-weight: 600; }
.top-bar .top-bar-text p  { margin: 0; color: #030f27; font-size: 13px; }

@media (max-width: 991.98px) {
    .top-bar { padding: 14px 20px; text-align: center; min-height: auto; }
    .top-bar .logo { text-align: center; }
    .top-bar .logo h1 { font-size: 36px; }
}


/**********************************/
/*********** Nav Bar CSS **********/
/**********************************/
.nav-bar {
    position: relative;
    background: #fdbe33;
    transition: .3s;
    z-index: 100;
}

.nav-bar .container-fluid { padding: 0; }

.nav-bar.nav-sticky {
    position: fixed;
    top: 0;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    z-index: 999;
}

.nav-bar .navbar {
    background: #030f27 !important;
    padding: 0 40px;
    min-height: 60px;
    width: 100%;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus {
    padding: 18px 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active { color: #fdbe33; }

.nav-bar .btn {
    color: #030f27;
    background: #fdbe33;
    border: 2px solid #fdbe33;
    border-radius: 4px;
    font-weight: 700;
    padding: 8px 22px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.nav-bar .btn:hover { background: #fff; border-color: #fff; }

@media (max-width: 991.98px) {
    .nav-bar .navbar { padding: 12px 20px; }
    .navbar-dark .navbar-nav .nav-link { padding: 8px 4px; }
}


/**********************************/
/*********** Hero CSS *************/
/**********************************/
.hero-section {
    position: relative;
    min-height: 620px;
    background: url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1600') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 15, 39, 0.75);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 20px;
}

.hero-eyebrow {
    color: #fdbe33;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    font-size: 13px;
    margin-bottom: 16px;
}

.hero-title {
    font-size: clamp(1.8rem, 4.5vw, 3.2rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-lead {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.85);
    max-width: 620px;
    margin: 0 auto 28px;
}

.hero-rating {
    margin-bottom: 28px;
}

.hero-rating .stars { color: #fdbe33; font-size: 14px; }
.hero-rating .rating-text { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-left: 8px; }
.hero-rating strong { color: #fff; }

/* hero-search-box should use a high‑contrast black & white palette per design request */
.hero-search-box {
    background: #ffffff;               /* solid white background */
    color: #030f27;                    /* dark text for inputs/labels */
    border: 1px solid #ccc;            /* light grey border for clarity */
    border-radius: 8px;
    padding: 28px 32px;
    max-width: 760px;
    margin: 0 auto;
}

.hero-search-box .form-control {
    border-radius: 4px;
    border: 1px solid #999;            /* visible border in black/white theme */
    height: 52px;
    font-size: 0.95rem;
    padding: 8px 16px;
    color: #030f27;
    background: #fff;
}

/* button becomes dark with white text for B/W theme */
.btn-search {
    background: #030f27;
    color: #ffffff;
    font-weight: 700;
    border: 1px solid #030f27;
    border-radius: 4px;
    height: 52px;
    font-size: 0.95rem;
}

.btn-search:hover {
    background: #000;
    color: #ffffff;
}

.hero-trust-line {
    color: rgba(255,255,255,0.6);
        color: #333333; /* dark text since the box background is now white */
    font-size: 0.82rem;
    margin: 14px 0 0;
}

.hero-trust-line i {
    color: #fdbe33;
    margin-right: 4px;
}

.hero-popular-searches {
    margin-top: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.85rem;
}

.hero-popular-searches a {
    color: #fdbe33;
}

.hero-popular-searches a:hover {
    color: #fff;
    text-decoration: none;
}

@media (max-width: 767px) {
    .hero-section { min-height: auto; }
    .hero-search-box { padding: 20px 16px; }
}


/**********************************/
/******** Feature Bar CSS *********/
/**********************************/
.feature-bar {
    background: #fdbe33;
    padding: 28px 60px;
}

.feature-bar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.feature-bar-item i { color: #030f27; flex-shrink: 0; }
.feature-bar-item h5 { color: #030f27; font-weight: 700; margin: 0 0 2px; font-size: 15px; }
.feature-bar-item p { color: #030f27; margin: 0; font-size: 13px; }

@media (max-width: 767px) {
    .feature-bar { padding: 20px; }
    .feature-bar-item { justify-content: flex-start; text-align: left; }
}


/**********************************/
/********** Section Header ********/
/**********************************/
.section-header { margin-bottom: 48px; }

.section-header p {
    color: #fdbe33;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #030f27;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 16px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #fdbe33;
    border-radius: 2px;
}

.section-header.text-left h2::after { left: 0; transform: none; }


/**********************************/
/*********** About CSS ************/
/**********************************/
.about { background: #ffffff; }

.about img { border-radius: 8px; }

.about-check {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: #030f27;
    font-weight: 500;
    font-size: 14px;
}

.about-check i {
    color: #fdbe33;
    margin-right: 10px;
    font-size: 13px;
    flex-shrink: 0;
}

.about .btn {
    background: #fdbe33;
    color: #030f27;
    border: none;
    font-weight: 700;
    padding: 12px 30px;
}

.about .btn:hover { background: #030f27; color: #fdbe33; }


/**********************************/
/*********** Stats CSS ************/
/**********************************/
.stats-section {
    background: #030f27;
    padding: 70px 20px;
}

.stat-icon { color: #fdbe33; margin-bottom: 12px; }

.stat-number {
    color: #ffffff !important;
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label { color: rgba(255,255,255,0.65); font-size: 14px; margin: 0; }


/**********************************/
/*********** Service CSS **********/
/**********************************/
.service { background: #f8f9fa; }

.service-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform .3s, box-shadow .3s;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.service-card-icon {
    width: 72px;
    height: 72px;
    background: #fdbe33;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: #030f27;
}

.service-card h5 {
    font-weight: 700;
    color: #030f27;
    font-size: 1rem;
    margin-bottom: 10px;
}

.service-card p { color: #888; font-size: 13.5px; margin-bottom: 20px; }

.service-card-btn {
    background: #fdbe33;
    color: #030f27;
    border: none;
    font-weight: 700;
    border-radius: 4px;
    padding: 8px 20px;
    font-size: 13px;
}

.service-card-btn:hover { background: #030f27; color: #fdbe33; }


/**********************************/
/******** How It Works CSS ********/
/**********************************/
.how-it-works {
    background: #ffffff;
    padding: 80px 20px;
}

.step-circle {
    width: 72px;
    height: 72px;
    background: #030f27;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: #fdbe33;
    font-size: 1.5rem;
    font-weight: 800;
}

.how-it-works h5 { font-weight: 700; color: #030f27; margin-bottom: 12px; }
.how-it-works p { color: #888; font-size: 14px; max-width: 280px; margin: 0 auto; }


/**********************************/
/*********** CTA CSS **************/
/**********************************/
.cta-section {
    background: #fdbe33;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    color: #030f27;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.cta-section p {
    color: #030f27;
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto 32px;
}

.btn-cta-dark {
    background: #030f27;
    color: #fdbe33;
    border: 2px solid #030f27;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 15px;
    display: inline-block;
    transition: .3s;
}

.btn-cta-dark:hover { background: transparent; color: #030f27; text-decoration: none; }

.btn-cta-outline {
    background: transparent;
    color: #030f27;
    border: 2px solid #030f27;
    font-weight: 700;
    padding: 14px 36px;
    border-radius: 4px;
    font-size: 15px;
    display: inline-block;
    transition: .3s;
}

.btn-cta-outline:hover { background: #030f27; color: #fdbe33; text-decoration: none; }


/**********************************/
/*********** Footer CSS ***********/
/**********************************/
.footer {
    background: #030f27;
    color: rgba(255,255,255,0.65);
    padding: 70px 0 0;
}

.footer-logo {
    color: #fdbe33 !important;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.footer p { color: rgba(255,255,255,0.65); font-size: 14px; margin-bottom: 8px; }

.footer-social { margin-top: 20px; }
.footer-social a {
    color: rgba(255,255,255,0.6);
    font-size: 1.1rem;
    margin-right: 14px;
    transition: .3s;
}
.footer-social a:hover { color: #fdbe33; }

.footer-heading {
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fdbe33;
    display: inline-block;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 14px; transition: .3s; }
.footer-links a:hover { color: #fdbe33; padding-left: 4px; text-decoration: none; }

.footer-icon { color: #fdbe33; margin-right: 8px; }

.footer-bottom {
    background: rgba(0,0,0,0.35);
    padding: 20px 0;
    margin-top: 40px;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.45);
    font-size: 13px;
}


/**********************************/
/********* Back-to-Top ************/
/**********************************/
.back-to-top {
    position: fixed;
    display: none;
    background: #fdbe33;
    color: #030f27;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 44px;
    font-size: 18px;
    right: 20px;
    bottom: 20px;
    border-radius: 4px;
    transition: .3s;
    z-index: 9999;
    cursor: pointer;
}

.back-to-top:hover { background: #030f27; color: #fdbe33; }


/**********************************/
/******** Responsive Fixes ********/
/**********************************/
@media (max-width: 991.98px) {
    .feature-bar { padding: 20px; }
    .hero-section { min-height: auto; }
    .hero-content { padding: 60px 16px; }
}

@media (max-width: 575.98px) {
    .hero-title { font-size: 1.7rem; }
    .cta-section .btn-cta-dark,
    .cta-section .btn-cta-outline { display: block; width: 100%; margin: 0 0 12px 0; }
}


/**********************************/
/********** Auth Pages CSS ********/
/**********************************/
.auth-split {
    display: flex;
    min-height: calc(100vh - 140px);  /* fill space below top-bar + nav */
}

/* Left branded panel */
.auth-split-left {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42%;
    background: #030f27;
    padding: 60px 48px;
    flex-shrink: 0;
}

.auth-brand-content { color: #fff; max-width: 360px; }
.auth-brand-content h2 { color: #fff; font-size: 1.8rem; font-weight: 800; margin-bottom: 14px; }
.auth-brand-content p  { color: rgba(255,255,255,0.75); font-size: 15px; margin-bottom: 28px; line-height: 1.6; }

.auth-perks { list-style: none; padding: 0; margin: 0; }
.auth-perks li {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}
.auth-perks li:last-child { border-bottom: none; }
.auth-perks li i { color: #fdbe33; font-size: 16px; flex-shrink: 0; }

/* Right form panel */
.auth-split-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 48px 24px;
}

.auth-form-wrap {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 40px 44px;
    width: 100%;
    max-width: 440px;
}

/* Back link + headings */
.auth-form-header { margin-bottom: 28px; }
.auth-back {
    display: inline-block;
    font-size: 13px;
    color: #888;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color .2s;
}
.auth-back:hover { color: #030f27; text-decoration: none; }
.auth-form-header h2 { font-size: 1.65rem; font-weight: 800; color: #030f27; margin-bottom: 4px; }
.auth-form-header p  { font-size: 14px; color: #888; margin: 0; }

/* Input groups */
.auth-form { margin-bottom: 0; }
.auth-input-group { margin-bottom: 20px; }
.auth-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #030f27;
    margin-bottom: 6px;
}
.auth-input-group label i { margin-right: 5px; color: #fdbe33; }
.auth-input {
    height: 48px;
    border-radius: 6px;
    border: 1.5px solid #dde0e6;
    font-size: 14px;
    padding: 8px 14px;
    transition: border-color .2s, box-shadow .2s;
}
.auth-input:focus {
    border-color: #fdbe33;
    box-shadow: 0 0 0 3px rgba(253,190,51,0.18);
    outline: none;
}
.auth-input.is-invalid { border-color: #dc3545; }

/* Forgot password inline */
.auth-forgot {
    font-size: 12px;
    color: #888;
    text-decoration: none;
}
.auth-forgot:hover { color: #030f27; text-decoration: underline; }

/* Submit button */
.auth-submit-btn {
    height: 50px;
    background: #030f27;
    color: #fdbe33;
    font-weight: 700;
    font-size: 15px;
    border: 2px solid #030f27;
    border-radius: 6px;
    transition: .3s;
}
.auth-submit-btn:hover { background: transparent; color: #030f27; }

/* Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 16px;
    color: #aaa;
    font-size: 13px;
}
.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}

/* Register link button */
.auth-register-btn {
    height: 48px;
    background: transparent;
    color: #030f27;
    font-weight: 600;
    font-size: 14px;
    border: 1.5px solid #dde0e6;
    border-radius: 6px;
    transition: .3s;
}
.auth-register-btn:hover { border-color: #030f27; background: #030f27; color: #fdbe33; }

/* Responsive: stack on mobile */
@media (max-width: 767.98px) {
    .auth-split { flex-direction: column; min-height: auto; }
    .auth-split-left { width: 100%; padding: 36px 24px; }
    .auth-split-right { padding: 32px 16px; }
    .auth-form-wrap { padding: 28px 20px; }
}
