/* ============================================
   PlantCare.dotiam.com — Global CSS
   ============================================ */

/* ─── VARIABLES ─── */
:root {
    --pc-primary:      #16a34a;
    --pc-primary-dark: #15803d;
    --pc-primary-light:#22c55e;
    --pc-secondary:    #4ade80;
    --pc-accent:       #84cc16;
    --pc-dark:         #14532d;
    --pc-soil:         #92400e;
    --pc-earth:        #d97706;
    --pc-sun:          #fbbf24;
    --pc-bg:           #f0fdf4;
    --pc-surface:      #ffffff;
    --pc-card:         #f8fffe;
    --pc-border:       #bbf7d0;
    --pc-border-dark:  #86efac;
    --pc-text:         #1f2937;
    --pc-text-light:   #374151;
    --pc-muted:        #6b7280;
    --pc-muted-light:  #9ca3af;
    --pc-success:      #10b981;
    --pc-warning:      #f59e0b;
    --pc-error:        #ef4444;
    --pc-info:         #3b82f6;
    --tool-grad-from:  #16a34a;
    --tool-grad-to:    #4ade80;
    --pc-radius:       12px;
    --pc-radius-lg:    20px;
    --pc-shadow:       0 2px 16px rgba(22,163,74,.10);
    --pc-shadow-lg:    0 8px 40px rgba(22,163,74,.15);
    --pc-transition:   all .25s ease;
    --pc-font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --pc-navbar-h:     74px;

    /* Tool aliases — used by all tool CSS files */
    --pi-green:      #16a34a;
    --pi-green-d:    #14532d;
    --pi-green-l:    #4ade80;
    --pi-green-bg:   #f0fdf4;
    --pi-border:     #bbf7d0;
    --pi-border-d:   #86efac;
    --pi-text:       #1f2937;
    --pi-muted:      #6b7280;
    --pi-surface:    #ffffff;
    --pi-card-bg:    #f8fffe;
    --pi-error:      #dc2626;
    --pi-warning:    #d97706;
    --pi-radius:     12px;
    --pi-radius-lg:  18px;
    --pi-shadow:     0 2px 16px rgba(22,163,74,.10);
    --pi-shadow-lg:  0 8px 40px rgba(22,163,74,.15);
    --pi-font:       'Inter', -apple-system, sans-serif;
    --grad-from:     #15803d;
    --grad-to:       #4ade80;
}

/* ─── FONT DISPLAY ─── */
@font-face { font-family: 'Inter'; font-display: swap; }

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--pc-font); background: var(--pc-bg); color: var(--pc-text); line-height: 1.6; -webkit-font-smoothing: antialiased; padding-top: var(--pc-navbar-h); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pc-primary); text-decoration: none; transition: var(--pc-transition); }
a:hover { color: var(--pc-primary-dark); }
ul { list-style: none; }
button { font-family: var(--pc-font); cursor: pointer; border: none; }
input, select, textarea { font-family: var(--pc-font); }

/* ─── NAVBAR ─── */
.pc-navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: #fff; border-bottom: 2px solid var(--pc-border); box-shadow: 0 2px 20px rgba(22,163,74,.08); transition: var(--pc-transition); height: var(--pc-navbar-h); }
.pc-navbar.scrolled { box-shadow: 0 4px 30px rgba(22,163,74,.15); }
.pc-nav-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; height: 100%; }
.pc-nav-wrapper { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.pc-nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; color: var(--pc-primary-dark); }
.pc-nav-logo img { height: 46px; width: auto; }
.pc-logo-text { color: var(--pc-primary-dark); font-weight: 800;     display: none;}
.pc-nav-menu { display: none; align-items: center; gap: 4px; }
@media (min-width: 900px) { .pc-nav-menu { display: flex; } }
.pc-nav-link { padding: 8px 14px; border-radius: 8px; font-size: .875rem; font-weight: 600; color: var(--pc-text-light); transition: var(--pc-transition); }
.pc-nav-link:hover, .pc-nav-link.active { background: var(--pc-bg); color: var(--pc-primary); }
.pc-nav-dropdown { position: relative; }
.pc-dropdown-trigger { cursor: pointer; }
.pc-dropdown-menu { display: none; position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: #fff; border: 1px solid var(--pc-border); border-radius: var(--pc-radius-lg); box-shadow: var(--pc-shadow-lg); padding: 16px; min-width: 380px; z-index: 100; }
.pc-nav-dropdown:hover .pc-dropdown-menu { display: block; }
.pc-dropdown-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.pc-dd-item { display: block; padding: 8px 12px; border-radius: 8px; font-size: .8rem; font-weight: 500; color: var(--pc-text-light); transition: var(--pc-transition); }
.pc-dd-item:hover { background: var(--pc-bg); color: var(--pc-primary); }
.pc-dd-all { grid-column: 1 / -1; text-align: center; background: var(--pc-bg); color: var(--pc-primary); font-weight: 700; margin-top: 4px; border: 1px solid var(--pc-border); }
.pc-dd-all:hover { background: var(--pc-primary); color: #fff; }
.pc-mobile-btn { display: flex; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; cursor: pointer; }
@media (min-width: 900px) { .pc-mobile-btn { display: none; } }
.pc-mobile-btn span { display: block; width: 22px; height: 2px; background: var(--pc-primary-dark); border-radius: 2px; transition: var(--pc-transition); }
.pc-mobile-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pc-mobile-btn.open span:nth-child(2) { opacity: 0; }
.pc-mobile-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.pc-mobile-menu { display: none; background: #fff; border-top: 1px solid var(--pc-border); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.pc-mobile-menu.open { display: block; max-height: 600px; overflow-y: auto; }
.pc-mobile-inner { padding: 12px 16px 20px; display: flex; flex-direction: column; gap: 2px; }
.pc-mob-link { padding: 10px 14px; border-radius: 8px; font-size: .9rem; font-weight: 600; color: var(--pc-text-light); display: block; transition: var(--pc-transition); }
.pc-mob-link:hover { background: var(--pc-bg); color: var(--pc-primary); }
.pc-mob-sub { padding-left: 28px; font-size: .82rem; font-weight: 500; }
.pc-mob-section-title { font-size: .7rem; font-weight: 800; color: var(--pc-primary); text-transform: uppercase; letter-spacing: 1px; padding: 10px 14px 4px; }
.pc-main { min-height: 80vh; }

/* ─── FOOTER ─── */
.pc-footer { background: var(--pc-dark); color: #d1fae5; padding: 48px 0 0; }
.pc-footer-grid { display: grid; grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (min-width: 640px)  { 

.pc-footer-grid { grid-template-columns: 1fr 1fr; }

 }
 @media (max-width: 640px)  { 
	.pc-footer-grid {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 20px 1%;
	}
	.pc-footer-col {
		width: 24%;
	}
 }
@media (min-width: 1000px) { .pc-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; } }
.pc-footer-brand { display: flex; flex-direction: column; gap: 12px; }
.pc-footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.1rem; color: #fff; }
.pc-footer-logo img {
    height: 55px;
    width: auto;
    padding: 5px;
    background: white;
    border-radius: 5px;
}
.pc-footer-logo span { color: #fff;    display: none; }
.pc-footer-desc { font-size: .82rem; color: #86efac; line-height: 1.7; }
.pc-footer-social { display: flex; gap: 10px; }
.pc-social-link { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 8px; background: rgba(255,255,255,.08); color: #86efac; transition: var(--pc-transition); }
.pc-social-link:hover { background: var(--pc-primary); color: #fff; }
.pc-footer-col h4 { font-size: .82rem; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.pc-footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.pc-footer-col a { font-size: .82rem; color: #86efac; transition: var(--pc-transition); }
.pc-footer-col a:hover { color: #fff; padding-left: 4px; }
.pc-footer-bottom { padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: .78rem; color: #6ee7b7; }
.pc-more-sites { padding: 48px 0; background: var(--pc-bg); border-top: 1px solid var(--pc-border); }
.pc-section-header { text-align: center; margin-bottom: 28px; }
.pc-section-header h2 { font-size: 1.4rem; font-weight: 800; color: var(--pc-primary-dark); margin-bottom: 6px; }
.pc-section-header p { color: var(--pc-muted); font-size: .88rem; }
.pc-container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px)  { .pc-container { padding: 0 24px; } }
@media (min-width: 1200px) { .pc-container { padding: 0 32px; } }
.pc-sites-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
@media (min-width: 640px) { .pc-sites-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pc-sites-grid { grid-template-columns: repeat(4, 1fr); } }
.pc-site-card { display: flex; align-items: center; gap: 14px; background: var(--pc-surface); border: 1px solid var(--pc-border); border-radius: var(--pc-radius-lg); padding: 18px; transition: var(--pc-transition); }
.pc-site-card:hover { border-color: var(--pc-primary); box-shadow: var(--pc-shadow); transform: translateY(-2px); }
.pc-site-icon { font-size: 2rem; flex-shrink: 0; }
.pc-site-info h3 { font-size: .9rem; font-weight: 700; color: var(--pc-text); margin-bottom: 2px; }
.pc-site-info p  { font-size: .76rem; color: var(--pc-muted); line-height: 1.4; }
.pc-site-arrow { margin-left: auto; color: var(--pc-primary); font-weight: 700; flex-shrink: 0; }
.pc-share-sidebar { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 500; display: flex; flex-direction: column; gap: 3px; }
.pc-share-btn { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; color: #fff; transition: var(--pc-transition); border-radius: 8px 0 0 8px; opacity: .85; }
.pc-share-btn:hover { opacity: 1; transform: translateX(-4px); width: 44px; }
.pc-share-fb { background: #1877f2; } .pc-share-wa { background: #25d366; }
.pc-share-tw { background: #1da1f2; } .pc-share-li { background: #0a66c2; }
@media (max-width: 640px) { .pc-share-sidebar { display: none; } }
.bs-tool-btn:hover{
	color: white;
}
/* ═══════════════════════════════════════════
   SHARED TOOL PAGE COMPONENTS
   Used by every tool — plant, pest, etc.
   ═══════════════════════════════════════════ */

/* ─── TOOL CONTAINER ─── */
.pi-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── BREADCRUMB ─── */
.pi-breadcrumb { background: #fff; border-bottom: 1px solid var(--pi-border); padding: 10px 0; }
.pi-bc-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 8px; font-size: .8rem; }
.pi-bc-inner a { color: var(--pi-green); font-weight: 500; text-decoration: none; }
.pi-bc-inner a:hover { text-decoration: underline; }
.pi-bc-sep { color: var(--pi-muted); }

/* ─── TOOL HERO ─── */
.pi-hero { padding: 52px 20px 60px; text-align: center; position: relative; overflow: hidden; min-height: 280px; contain: layout; }
.pi-hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E"); pointer-events: none; }
.pi-hero-inner { position: relative; max-width: 760px; margin: 0 auto; }
.pi-hero-tag { display: inline-block; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 30px; padding: 5px 18px; font-size: .74rem; font-weight: 700; letter-spacing: .5px; margin-bottom: 16px; }
.pi-hero-h1 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 900; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,.2); line-height: 1.15; margin: 0 0 6px; }
.pi-hero-h1-hi { display: block; font-size: clamp(.95rem,2.5vw,1.25rem); font-weight: 600; opacity: .88; margin-top: 6px; }
.pi-hero-sub    { font-size: clamp(.88rem,2vw,1rem); color: rgba(255,255,255,.92); margin: 14px 0 4px; line-height: 1.6; }
.pi-hero-sub-hi { font-size: .82rem; color: rgba(255,255,255,.78); margin: 0 0 18px; }
.pi-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.pi-hero-badges span { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.3); color: #fff; border-radius: 20px; padding: 5px 14px; font-size: .75rem; font-weight: 600; }

/* ─── TOOL SECTION ─── */
.pi-tool-section { background: var(--pi-green-bg); padding: 32px 0 48px; }

/* ─── HOW IT WORKS STEPS ─── */
.pi-steps { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid var(--pi-border); border-radius: 50px; padding: 14px 24px; margin-bottom: 28px; box-shadow: var(--pi-shadow); min-height: 58px; }
.pi-step-item { display: flex; align-items: center; gap: 10px; }
.pi-step-num { width: 28px; height: 28px; background: linear-gradient(135deg,var(--pi-green-d),var(--pi-green)); color: #fff; border-radius: 50%; font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 2px 8px rgba(22,163,74,.35); }
.pi-step-text strong { display: block; font-size: .82rem; font-weight: 700; color: var(--pi-text); }
.pi-step-text span   { display: block; font-size: .7rem; color: var(--pi-muted); }
.pi-step-arrow { font-size: 1.1rem; color: var(--pi-green); font-weight: 700; }
@media (max-width: 640px) { .pi-steps { display: none; } }

/* ─── TRUST STRIP ─── */
.pi-trust { display: flex; align-items: center; justify-content: center; padding: 12px 16px; background: var(--pi-green-bg); border-top: 1px solid var(--pi-border); gap: 0; }
.pi-trust-stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; }
.pi-trust-stat span { font-size: 1rem; }
.pi-trust-stat b    { font-size: .8rem; font-weight: 900; color: var(--pi-green-d); display: block; }
.pi-trust-stat small{ font-size: .62rem; color: var(--pi-muted); text-transform: uppercase; letter-spacing: .5px; }
.pi-trust-div { width: 1px; height: 30px; background: var(--pi-border-d); }

/* ─── SECTION HEADING ─── */
.pi-sec-head { text-align: center; margin-bottom: 28px; }
.pi-sec-head h2 { font-size: 1.4rem; font-weight: 800; color: var(--pi-green-d); margin: 0 0 6px; }
.pi-sec-head p  { font-size: .875rem; color: var(--pi-muted); margin: 0; }

/* ─── SEO BILINGUAL SECTION ─── */
.pi-seo-section { background: #fff; padding: 56px 0; border-top: 1px solid var(--pi-border); content-visibility: auto; contain-intrinsic-size: 0 600px; }
.pi-seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .pi-seo-grid { grid-template-columns: 1fr; } }
.pi-seo-card { border-radius: var(--pi-radius); padding: 24px; }
.pi-seo-card.en { background: var(--pi-green-bg); border: 1px solid var(--pi-border); }
.pi-seo-card.hi { background: #fff8f1; border: 1px solid #fed7aa; }
.pi-seo-card h2 { font-size: 1.1rem; font-weight: 800; color: var(--pi-green-d); margin: 0 0 10px; line-height: 1.4; }
.pi-seo-card.hi h2 { color: #9a3412; }
.pi-seo-card p  { font-size: .875rem; color: #374151; line-height: 1.8; margin: 0; }

/* ─── RELATED TOOLS ─── */
.pi-related-section { background: var(--pi-green-bg); padding: 56px 0; border-top: 1px solid var(--pi-border); content-visibility: auto; contain-intrinsic-size: 0 500px; }
.pi-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
@media (max-width: 900px) { .pi-related-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .pi-related-grid { grid-template-columns: 1fr 1fr; } }
.pi-rt-card { display: block; text-decoration: none; background: #fff; border: 1px solid var(--pi-border); border-radius: var(--pi-radius-lg); padding: 18px 14px; text-align: center; transition: all .2s ease; }
.pi-rt-card:hover { border-color: var(--pi-green); box-shadow: var(--pi-shadow); transform: translateY(-3px); }
.pi-rt-icon { font-size: 2rem; margin-bottom: 8px; display: block; }
.pi-rt-name { font-size: .85rem; font-weight: 700; color: var(--pi-text); margin-bottom: 5px; display: block; }
.pi-rt-desc { font-size: .72rem; color: var(--pi-muted); line-height: 1.4; display: block; }

/* ─── FAQ BILINGUAL ─── */
.pi-faq-section { background: #fff; padding: 56px 0; border-top: 1px solid var(--pi-border); content-visibility: auto; contain-intrinsic-size: 0 800px; }
.pi-faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 768px) { .pi-faq-grid { grid-template-columns: 1fr; } }
.pi-faq-col-title { font-size: .9rem; font-weight: 800; color: var(--pi-green-d); margin: 0 0 14px; padding-bottom: 10px; border-bottom: 2px solid var(--pi-border); }
.pi-faq-item { border: 1px solid var(--pi-border); border-radius: var(--pi-radius); overflow: hidden; margin-bottom: 10px; }
.pi-faq-q { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; background: var(--pi-green-bg); border: none; cursor: pointer; font-size: .85rem; font-weight: 700; color: var(--pi-text); text-align: left; transition: background .2s; font-family: var(--pi-font); }
.pi-faq-q:hover { background: rgba(22,163,74,.08); }
.pi-faq-icon { font-size: 1.1rem; color: var(--pi-green); flex-shrink: 0; transition: transform .3s; }
.pi-faq-item.open .pi-faq-icon { transform: rotate(45deg); }
.pi-faq-a { display: none; padding: 14px 16px; font-size: .84rem; color: #374151; line-height: 1.75; border-top: 1px solid var(--pi-border); }
.pi-faq-item.open .pi-faq-a { display: block; }

/* ─── DISCLAIMER ─── */
.pi-disclaimer { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--pi-radius); padding: 14px 18px; font-size: .82rem; color: #92400e; line-height: 1.6; margin: 20px 0 28px; }

/* ─── MOBILE GLOBAL ─── */
@media (max-width: 480px) {
	.pc-footer-grid {
        display: flex;
        grid-template-columns: 1fr;
        gap: 24px 2%;
        grid-auto-flow: row;
        align-content: start;
        justify-items: start;
        flex-direction: row;
        flex-wrap: wrap;
    }
	.pc-footer-col {
		width: 48%;
	}
    .pc-footer-brand { grid-column: 1 / -1; }
    .pi-seo-section  { padding: 36px 0; }
    .pi-related-section { padding: 36px 0; }
    .pi-faq-section  { padding: 36px 0; }
}