@font-face {
    font-family: 'Nunito';
    src: url('lib/webfonts/Nunito-VariableFont_wght.ttf') format('woff2-variations');
    src: url('lib/webfonts/Nunito-VariableFont_wght.ttf') format('woff2') tech('variations');
    font-weight: 100 1000;
    font-stretch: 25% 151%;
}

:root {
    --pc-primary: #005a39;
    --pc-secondary: #00945f;
    --pc-success: #4caf50;
    --pc-info: #2196f3;
    --pc-warning: #ff9800;
    --pc-danger: #f44336;
    --pc-light: #f8f9fa;
    --pc-dark: #1a4d1a;
    --pc-muted: #6c757d;
    
    /* Plant-specific colors */
    --pc-leaf-green: #8bc34a;
    --pc-earth-brown: #8d6e63;
    --pc-water-blue: #03a9f4;
    --pc-sun-yellow: #ffeb3b;
    
    /* UI spacing */
    --pc-border-radius: 0.5rem;
    --pc-box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    --pc-transition: all 0.3s ease;

    --green: #2fa870; /* main brand green */
    --green-secondary: #40ca8a;
    --green-dark: #005a39;
    --muted: #6c757d;
    --card-bg: #f7fff9;
    --glass: rgba(255,255,255,0.65);
    --radius: 14px;
    --accent: linear-gradient(90deg,#2fa870,#27b36a 60%);
}


/* General styles */
html{height:100%;}

body{
    font-family: 'Nunito', sans-serif;
    background: #f6fff9;
    color: #233;
    -webkit-font-smoothing:antialiased;
}

a {
    color: var(--pc-primary) !important;
}
a:hover {
    color: var(--pc-secondary);
}

h1 { 
    letter-spacing: -0.4px 
}

.link-copy:hover {
  text-decoration: underline !important;
  cursor: pointer;
}

.link-none {
  text-decoration: none !important;
}

.link-none:hover {
  text-decoration: underline !important;
}


/* Override Bootstrap */
.bg-primary {
    background-color: var(--pc-primary) !important;
    border-color: var(--pc-primary) !important;
}

.bg-secondary {
    background-color: var(--green) !important;
    border-color: var(--green) !important;
}

a.btn-primary , a.btn-success, a.btn-secondary {
    color: #fff !important;
}

.btn-primary {
    background-color: var(--pc-primary);
    border-color: var(--pc-primary);
}

.btn-primary:hover {
    background-color: var(--pc-secondary);
    border-color: var(--pc-secondary);
}

.btn-secondary {
    background-color: var(--green);
    border-color: var(--green);
}

.btn-secondary:hover {
    background-color: var(--green-secondary);
    border-color: var(--green-secondary);
}

.btn-outline-primary {
    border-color: var(--pc-primary) !important;
    color: var(--pc-primary) !important;
}

.btn-outline-primary:hover {
    border-color: var(--pc-secondary) !important;
    background-color: var(--pc-secondary) !important;
    color: #fff !important;
}

.btn-outline-primary-hover {
    color: var(--pc-primary) !important;
}

.btn-outline-primary-hover:hover {
    border-color: var(--pc-secondary) !important;
    background-color: var(--pc-secondary) !important;
    color: #fff !important;
}

.btn-outline-secondary {
    border-color: var(--green) !important;
    color: var(--green) !important;
}

.btn-outline-secondary:hover {
    border-color: var(--green-secondary) !important;
    background-color: var(--green-secondary) !important;
    color: #fff !important;
}

.btn-check:checked+.btn {
    background-color: var(--pc-secondary);
    border-color: var(--pc-secondary);
    color: #ffffff !important; 
}

.btn-check:checked+.btn-outline-primary {
    background-color: var(--pc-secondary) !important;
    border-color: var(--pc-secondary) !important;
    color: #ffffff !important; 
}

.btn-check:checked+.btn-outline-secondary {
    background-color: var(--green-dark) !important;
    border-color: var(--green-dark) !important;
    color: #ffffff !important; 
}

.text-primary {
    color: var(--pc-primary) !important;
}

.text-secondary {
    color: var(--pc-secondary) !important;
}

.bg-primary {
    background-color: var(--pc-primary) !important;
}

.lead{ 
    color:var(--muted); 
}

/* custom colors */
.bg-brown {
    background-color: #9c4e15;
}

.border-brown {
  border-color: #8b4513 !important;
}

.border-dark-brown {
  border-color: #572b0c !important;
}


/* Custom components */
/* NAV */
.navbar-brand{ 
    font-weight:700; 
    color:var(--green); 
    letter-spacing:0.2px 
}
.navbar-brand:hover{ 
    color:var(--pc-secondary); 
}

.pc-avatar {
  max-height: 36px;
}

.logo-mark{ 
    width:40px; 
    height:40px; 
    border-radius:10px; 
    background:var(--green); 
    display:inline-block; 
    margin-right:10px; 
    box-shadow:0 6px 20px rgba(47,168,112,0.12); 
}

/* HERO */
.search-card{ 
    border-radius:20px; 
    box-shadow:0 12px 40px rgba(47,168,112,0.06); 
    background:linear-gradient(180deg, rgba(255,255,255,0.9), var(--card-bg)); 
    padding:1rem; 
    transition:transform .28s ease, box-shadow .28s ease; 
}

.search-card:hover{ transform:translateY(-4px); 
    box-shadow:0 18px 60px rgba(47,168,112,0.08); 
}

.search-card .form-control, .search-card .form-select{
    border-radius:12px; border:none; box-shadow:inset 0 -1px 0 rgba(0,0,0,0.03);
    padding:.6rem .75rem;
}

.search-btn{
    border-radius:12px; padding:.5rem .75rem; min-width:48px; display:flex; align-items:center; justify-content:center;
    background:var(--accent); border:none; color:white; box-shadow:0 8px 22px rgba(47,168,112,0.12);
}

/* subliminal how */
.subliminal{ margin-top:1.25rem; padding:1rem; }
.how-card{ background:linear-gradient(180deg, #fff, #fbfff9); border-radius:12px; padding:1rem; transition:transform .22s ease, box-shadow .22s ease; }
.how-card:hover{ transform:translateY(-6px); box-shadow:0 18px 40px rgba(47,168,112,0.06); }
.how-icon{ width:56px; height:56px; border-radius:12px; display:flex; align-items:center; justify-content:center; background:var(--green); color:white; font-size:1.15rem; box-shadow:0 8px 28px rgba(47,168,112,0.08); }
.how-title{ font-weight:600; margin-bottom:.25rem; }
.how-copy{ font-size:.9rem; color:var(--muted); margin:0; }

/* CARDS */
.sitter-card{ border-radius:14px; background:linear-gradient(180deg,#ffffff,#f8fff5); box-shadow:0 10px 30px rgba(34,51,34,0.06); overflow:hidden; transition:transform .22s ease, box-shadow .22s ease; }
.sitter-card:hover{ transform:translateY(-8px); box-shadow:0 28px 60px rgba(34,51,34,0.08); }
.sitter-img{ height:160px; object-fit:cover; }

.rating-badge{ display:inline-flex; align-items:center; gap:.35rem; background:linear-gradient(90deg,#fff,#f2fff6); border-radius:999px; padding:.25rem .6rem; border:1px solid rgba(0,0,0,0.04); font-weight:600; }

.btn-profile{ border-radius:10px; padding:.45rem .6rem; }

/* HEART */
.fav{ color:var(--muted); cursor:pointer; transition:transform .18s ease, color .18s ease; }
.fav.active{ color:var(--green); transform:scale(1.1); }

/* small UI touches */
.chip { 
    display:inline-flex;
    align-items:center;
    gap:.4rem;
    padding:.28rem .6rem;
    border-radius:999px;
    border:1px solid rgba(47,168,112,0.08);
    background:#fff;
    font-size:.85rem;
 }

/* modal tweaks */
.modal-content{ border-radius:12px; }

/* Filter specific styling */
#filterCollapse .search-card {
    border: 1px solid rgba(47,168,112,0.08);
}

#filterCollapse .btn-group .btn,
#filterCollapse .btn-group-vertical .btn {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

#filterCollapse .form-label {
    font-size: 0.9rem;
    color: var(--bs-gray-700);
    margin-bottom: 0.5rem;
}

.filter-count {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
}

.active-filters .chip {
    margin: 0.1rem;
    font-size: 0.8rem;
    background: rgba(47,168,112,0.1);
    border-color: rgba(47,168,112,0.2);
}

.active-filters .chip:hover {
    background: rgba(47,168,112,0.15);
}

/* how it works page styles */
/* Small, intentional overrides & new component styles that piggyback on your existing style.css classes */
.seed-anim { width:140px; height:140px; display:block; margin:auto; }
.spotlight-card { border-radius:18px; background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(250,250,250,0.55)); box-shadow:0 10px 30px rgba(12,20,10,0.06); }
.mosaic .card { border-radius:12px; overflow:hidden; transition: transform .28s ease, box-shadow .28s ease; }
.mosaic .card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12,20,10,0.09); }
.timeline .step { position:relative; padding-left:56px; }
.timeline .step:before { content:''; position:absolute; left:28px; top:4px; width:12px; height:12px; border-radius:50%; background:#fff; border:3px solid #2f8f4a; }
.timeline .step:after { content:''; position:absolute; left:34px; top:28px; bottom:0; width:2px; background:linear-gradient(#2f8f4a, rgba(47,143,74,0.2)); }
.tiny-note { font-size:.9rem; color:#6b6b6b; }
.spotlight-quote { font-style:italic; color:#3b3b3b; }
@keyframes sprout { 0%{transform:translateY(18px) scaleY(.2); opacity:0} 100%{transform:none; opacity:1} }
.sprout-in { animation: sprout .6s cubic-bezier(.2,.9,.3,1) both; }
  

/* become styles */
.bg-become {
  background-image: url("../img/slides/bg-become.jpg");
  background-size: cover;
  min-height: 420px;
  background-position: 50% 50%;
}
.bg-welcome-1 {
  margin-bottom: auto;
  margin-right: -25px;
  z-index: 999;
}
.bg-welcome-2 {
  margin-top: auto;
  margin-right: -25px;
  z-index: 999;
}
.col-services {
  background: #fff;
  margin-top: -250px;
}


/* footer styles */
footer {
  flex-shrink: 0;
}

.footer {
  color: #fff;
}

.footer-trees {
  margin-bottom: -5px;
}

.footer-group {
  list-style: none;
  margin: 0px;
  padding: 0px;
}

.footer-link a {
  color: #fff;
  font-size: 70%;
  text-decoration: none;
}

/* search page styles */
.main-search{flex:1 1 auto; overflow:hidden}
/* Layout container that becomes full-height */
.search-layout{display:flex; height:100%; gap:1rem; padding:1rem; box-sizing:border-box}

/* Columns */
.map-column{flex:1 1 60%; min-width:0; display:flex; flex-direction:column}
.list-column{width:420px; flex:0 0 420px; display:flex; flex-direction:column; overflow:hidden}
.form-column{width:360px; flex:0 0 360px; display:flex; flex-direction:column; overflow:auto}

/* Map appearance */
.map-container{flex:1 1 auto; border-radius:.5rem; overflow:hidden; box-shadow:0 6px 18px rgba(15,23,42,.06); position:relative}
#map{width:100%; height:100%}
.geolocate-btn{position:absolute; z-index:1000; right:1rem; top:1rem}

/* Results list - ensure full height is maintained */
.list-column .card{height:100%; display:flex; flex-direction:column}
.list-column .card-body{flex:1; display:flex; flex-direction:column; min-height:0}
.results-wrap{flex:1 1 auto; overflow:auto; padding:0.5rem; min-height:0}
.controls-card{position:sticky; top:1rem}

/* Mobile adjustments: stack and make list scrollable while map + form stay put */
@media (max-width: 991px){
  .search-layout{flex-direction:column; padding:0}
  .map-column{height:50vh; flex:0 0 50vh}
  .map-container{height:100%; border-radius:0}
  .list-column{width:100%; flex:1 1 auto}
  .results-wrap{padding:1rem}
  .form-column{width:100%; flex:0 0 auto; position:sticky; bottom:0; z-index:1200; background:#fff; padding:0.75rem; box-shadow:0 -6px 18px rgba(15,23,42,0.06)}
  .controls-card{position:static; top:auto}
}

.badge-service{background:linear-gradient(90deg,var(--accent),#00b4d8); color:white}
.cura-card{cursor:pointer}



/* cura profile page styles */
.bg-cura-profile {
    background:  var(--pc-primary); min-height: 300px;
}

.bg-cura-highlights {
    background:  var(--pc-secondary) !important;
}


/* ================================================== */
/* SETTINGS PAGE STYLES */
/* ================================================== */

.bg-settings {
  background-image: url("../img/slides/bg-home-3.jpg");
  background-size: cover;
  min-height: 27px;
  background-position: 0% 0%;
}

/* Settings Avatar Preview */
.settings-avatar-container {
    position: relative;
    display: inline-block;
}

.settings-avatar {
    width: 120px;
    height: 120px;
    border-radius: var(--pc-border-radius);
    object-fit: cover;
    border: 3px solid rgba(47, 168, 112, 0.1);
    transition: var(--pc-transition);
}

.settings-avatar:hover {
    border-color: var(--pc-primary);
    transform: scale(1.02);
}

.settings-avatar-placeholder {
    background: var(--pc-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 600;
}

/* Gallery Thumbnails */
.settings-gallery-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--pc-border-radius);
    border: 2px solid rgba(47, 168, 112, 0.1);
    transition: var(--pc-transition);
}

.settings-gallery-thumb:hover {
    border-color: var(--pc-primary);
    transform: scale(1.05);
}

/* Service Toggle Containers */
.service-toggle-container {
    background: linear-gradient(135deg, #ffffff, #f8fff9);
    border: 2px solid rgba(47, 168, 112, 0.08) !important;
    transition: var(--pc-transition);
}

.service-toggle-container:hover {
    border-color: rgba(47, 168, 112, 0.15) !important;
    box-shadow: var(--pc-box-shadow);
}

.service-toggle-container.service-enabled {
    border-color: var(--pc-primary) !important;
    background: linear-gradient(135deg, #ffffff, #f0fff4);
}

.service-quick-list {
    max-height: 420px;
    overflow: scroll;
}

/* Service Toggle Switches */
.form-check-input.service-toggle {
    width: 3rem;
    height: 1.5rem;
    background-color: var(--pc-muted);
    border: none;
    transition: var(--pc-transition);
}

.form-check-input.service-toggle:checked {
    background-color: var(--pc-primary);
    border-color: var(--pc-primary);
}

.form-check-input.service-toggle:focus {
    border-color: var(--pc-secondary);
    box-shadow: 0 0 0 0.25rem rgba(47, 168, 112, 0.25);
}

/* Service Price Inputs */
.service-price:disabled {
    background-color: var(--pc-light);
    border-color: rgba(47, 168, 112, 0.1);
    color: var(--pc-muted);
}

.service-price:enabled {
    border-color: var(--pc-primary);
}

.service-price:enabled:focus {
    border-color: var(--pc-secondary);
    box-shadow: 0 0 0 0.25rem rgba(47, 168, 112, 0.25);
}



/* Chat and inbox page styles */
.conversation-item {
    transition: all 0.2s ease;
    cursor: pointer;
    border-left: 3px solid transparent;
}

.conversation-item:hover {
    background-color: #f8f9fa;
    border-left-color: #dee2e6;
}

.conversation-item.active {
    background-color: #e3f2fd;
    border-left-color: var(--bs-primary);
}

.conversation-item:last-child {
    border-bottom: none !important;
}

.messages-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#messageInput {
    border: 1px solid #dee2e6 !important;
    border-radius: 20px;
    padding: 8px 16px;
}

#messageInput:focus {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.1) !important;
}


/* Chat message animations and styles */
.message-bubble {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.message-bubble.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.message-own .message-body {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0056b3 100%);
}

.message-other .message-body {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.attachment-item.expanded img {
    max-width: none !important;
    width: 100%;
}

.message-content {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Messages Container Height Fix */
.messages-container-wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.chat-header {
    flex-shrink: 0;
}

.messages-area {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
}

.message-input {
    flex-shrink: 0;
}


/* Ensure messages stay within bounds and don't overflow */
#messagesContainer {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

#messagesContainer::-webkit-scrollbar {
    width: 6px;
}

#messagesContainer::-webkit-scrollbar-track {
    background: transparent;
}

#messagesContainer::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

#messagesContainer::-webkit-scrollbar-thumb:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Prevent text selection on mobile for better UX */
@media (max-width: 767.98px) {
    .message-bubble .message-content {
        -webkit-user-select: text;
        -moz-user-select: text;
        -ms-user-select: text;
        user-select: text;
    }
    
    .chat-header {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
}

/* Service Request Card Styles */
.service-request-bubble {
    animation: slideInFromCenter 0.3s ease-out;
}

.service-request-card {
    background: var(--card-bg) !important;
    transition: all 0.2s ease;
}

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

.service-request-card .card-header {
    background: var(--pc-light) !important;
    border-bottom: 1px solid rgba(13, 110, 253, 0.1) !important;
}

.service-request-card .service-icon {
    width: 40px;
    height: 40px;
    background: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.service-request-card .participant-avatar .bg-primary,
.service-request-card .participant-avatar .bg-success {
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-request-card .detail-item {
    padding: 4px 0;
    border-left: 3px solid transparent;
    padding-left: 8px;
    transition: all 0.2s ease;
}

.service-request-card .detail-item:hover {
    border-left-color: var(--bs-primary);
    background: rgba(13, 110, 253, 0.05);
    border-radius: 4px;
}

@keyframes slideInFromCenter {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* System Message Styles */
.system-message-bubble {
    animation: fadeInUp 0.3s ease-out;
}

.system-message-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 20px;
    padding: 8px 16px;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.system-message-body {
    color: #6c757d;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.system-message-time {
    opacity: 0.7;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 767.98px) {
    /* Full height layout for mobile */
    .container-chat {
        height: calc(100vh - 60px) !important;
        padding: 0 !important;
    }
    
    .row.g-0 {
        height: 100%;
    }
    
    /* Chat Sidebar - hidden by default on mobile */
    .chat-sidebar {
        position: fixed !important;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        z-index: 1000;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        background: white;
    }

    .chat-sidebar.show {
        transform: translateX(0);
    }
    
    /* Main chat area takes full space on mobile */
    .col-md-8 {
        width: 100% !important;
        flex: none !important;
        height: 100%;
    }
    
    /* Mobile chat header */
    .chat-header {
        position: relative;
        padding: 0.75rem !important;
    }
    
    .chat-header::before {
        content: '';
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        width: 24px;
        height: 24px;
        background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="15,18 9,12 15,6"></polyline></svg>') center/contain no-repeat;
        cursor: pointer;
        z-index: 10;
    }
    
    .chat-header .d-flex:first-child {
        margin-left: 2rem;
    }
    
    /* Mobile message area adjustments */
    .messages-area {
        padding: 1rem 0.75rem !important;
    }
    
    .message-bubble {
        margin-bottom: 1rem !important;
    }
    
    .message-content {
        max-width: 85% !important;
    }
    
    /* Mobile input area */
    .message-input {
        padding: 0.75rem !important;
    }
    
    #messageInput {
        font-size: 16px;
        border-radius: 25px !important;
        padding: 0.75rem 1rem !important;
    }
    
    /* Mobile action buttons - make them smaller/hidden */
    .chat-header .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
    
    .chat-header .btn .me-1 {
        display: none;
    }
    
    .chat-header .dropdown {
        order: -1;
    }
}

/* Tablet adjustments */
@media (max-width: 991.98px) and (min-width: 768px) {
    .chat-header .btn {
        font-size: 0.875rem;
        padding: 0.375rem 0.5rem;
    }
}

/* Calendar Styles */
.settings-calendar {
    background: white;
    border-radius: var(--pc-border-radius);
    border: 2px solid rgba(47, 168, 112, 0.1);
    padding: 1.5rem;
    min-height: 300px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(47, 168, 112, 0.1);
}

.calendar-nav-btn {
    background: var(--pc-primary);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-nav-btn:hover {
    background: var(--pc-secondary);
    transform: scale(1.05);
}

.calendar-title {
    font-weight: 600;
    color: var(--pc-dark);
    margin: 0;
    font-size: 1.1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-top: 1rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    color: var(--pc-muted);
    padding: 0.75rem 0;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    background: transparent;
    font-weight: 500;
    color: var(--pc-dark);
    position: relative;
    min-height: 42px;
}

.calendar-day:hover:not(.disabled) {
    background-color: rgba(47, 168, 112, 0.1);
    border-color: var(--pc-primary);
    transform: scale(1.05);
}

.calendar-day.unavailable {
    background-color: var(--pc-danger);
    color: white;
    border-color: var(--pc-danger);
}

.calendar-day.unavailable::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: white;
    transform: translate(-50%, -50%) rotate(45deg);
}

.calendar-day.today {
    border-color: var(--pc-primary);
    font-weight: 700;
    color: var(--pc-primary);
    background-color: rgba(47, 168, 112, 0.05);
}

.calendar-day.disabled {
    color: var(--pc-muted);
    cursor: not-allowed;
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 0.5;
}

.calendar-day.disabled:hover {
    transform: none;
    background-color: rgba(0, 0, 0, 0.05);
    border-color: transparent;
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(47, 168, 112, 0.1);
    font-size: 0.875rem;
}

.calendar-legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 2px solid transparent;
}

.calendar-legend-color.today {
    border-color: var(--pc-primary);
    background-color: rgba(47, 168, 112, 0.05);
}

.calendar-legend-color.unavailable {
    background-color: var(--pc-danger);
}

.calendar-legend-color.disabled {
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 0.5;
}

/* Compact Service Quick List */
.service-quick-item {
    background: linear-gradient(135deg, #ffffff, #f8fff9);
    border: 2px solid rgba(47, 168, 112, 0.08) !important;
    transition: var(--pc-transition);
}

.service-quick-item:hover {
    border-color: rgba(47, 168, 112, 0.15) !important;
    box-shadow: var(--pc-box-shadow);
}

.service-quick-item.service-enabled {
    border-color: var(--pc-primary) !important;
    background: linear-gradient(135deg, #ffffff, #f0fff4);
}

.service-quick-item.service-enabled .service-price-display {
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 3px;
    transition: var(--pc-transition);
}

.service-quick-item.service-enabled .service-price-display:hover {
    background-color: rgba(47, 168, 112, 0.1);
}

.service-price-input {
    animation: fadeIn 0.3s ease-in;
}

/* Responsive Design */
@media (max-width: 768px) {
    .settings-calendar {
        padding: 1rem;
    }
    
    .calendar-day {
        min-height: 36px;
        font-size: 0.875rem;
    }
    
    .calendar-legend {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .calendar-title {
        font-size: 1rem;
    }
}

/* Form Enhancements */
.settings-section {
    margin-bottom: 2rem;
}

.form-label {
    font-weight: 600;
    color: var(--pc-dark);
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--pc-primary);
    box-shadow: 0 0 0 0.25rem rgba(47, 168, 112, 0.25);
}

.form-text {
    color: var(--pc-muted);
    font-size: 0.875rem;
}

.text-danger {
    color: var(--pc-danger) !important;
}

/* Character Counters */
.char-counter {
    font-size: 0.8rem;
    color: var(--pc-muted);
    text-align: right;
    margin-top: 0.25rem;
}

.char-counter.near-limit {
    color: var(--pc-warning);
    font-weight: 600;
}

.char-counter.over-limit {
    color: var(--pc-danger);
    font-weight: 600;
}

/* Loading Overlay */
.settings-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(2px);
}

/* Toast Notifications */
.settings-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    min-width: 300px;
}

.toast-success {
    border-left: 4px solid var(--pc-success);
}

.toast-error {
    border-left: 4px solid var(--pc-danger);
}

.toast-warning {
    border-left: 4px solid var(--pc-warning);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .settings-avatar {
        width: 100px;
        height: 100px;
    }
    
    .settings-gallery-thumb {
        width: 80px;
        height: 80px;
    }
    
    .service-toggle-container .row {
        text-align: center;
    }
    
    .service-toggle-container .col-md-3 {
        margin-top: 1rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Connected Accounts Styling */
.settings-social-buttons .btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    font-size: 0.875rem;
}

.settings-social-buttons .btn i {
    font-size: 1.1rem;
}

/* Settings Card Hover Effects */
.card:hover {
    box-shadow: 0 8px 25px rgba(47, 168, 112, 0.08);
    transition: var(--pc-transition);
}

.card-header {
    background: transparent;
    border-bottom: 1px solid rgba(47, 168, 112, 0.1);
}

/* Settings Success State */
.settings-success .form-control,
.settings-success .form-select {
    border-color: var(--pc-success);
    background-color: rgba(76, 175, 80, 0.05);
}

/* Settings Error State */
.settings-error .form-control,
.settings-error .form-select {
    border-color: var(--pc-danger);
    background-color: rgba(244, 67, 54, 0.05);
}

/* Improved Focus States */
.form-control:focus-visible,
.form-select:focus-visible,
.btn:focus-visible {
    outline: 2px solid var(--pc-primary);
    outline-offset: 2px;
}

/* Image Cropper Styles */
#imageCropperModal .modal-dialog {
    max-width: 900px;
}

.crop-container {
    max-height: 400px;
    overflow: hidden;
}

.crop-preview {
    width: 120px;
    height: 120px;
    border: 2px solid var(--pc-primary);
    margin: 0 auto;
    overflow: hidden;
    background: #f8f9fa;
}

.crop-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.crop-info {
    font-size: 0.875rem;
}

/* Override cropper.js styles to match theme */
.cropper-container .cropper-crop-box {
    border-color: var(--pc-primary);
}

.cropper-container .cropper-view-box {
    outline-color: var(--pc-primary);
}

.cropper-container .cropper-face {
    background-color: rgba(var(--pc-primary-rgb, 0, 90, 57), 0.1);
}

.cropper-container .cropper-line,
.cropper-container .cropper-point {
    background-color: var(--pc-primary);
}

.cropper-container .cropper-point.point-se {
    background-color: var(--pc-primary);
    width: 8px;
    height: 8px;
}

/* ================================================== */
/* DASHBOARD STYLES - Social Media Inspired */
/* ================================================== */

/* Dashboard Cards */
.dashboard-card {
    background: var(--card-bg);
    border: none;
    box-shadow: var(--pc-box-shadow);
    transition: var(--pc-transition);
    overflow: hidden;
}

.dashboard-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transform: translateY(-1px);
}

/* Stat Cards */
.stat-card {
    background: var(--card-bg);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--pc-box-shadow);
    transition: var(--pc-transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Quick Actions */
.quick-actions-bar {
    background: var(--card-bg);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--pc-box-shadow);
    padding: 1.5rem;
}

.quick-action-btn {
    border-radius: 50px;
    padding: 0.5rem 1rem;
    transition: var(--pc-transition);
    border: 2px solid var(--pc-primary);
    color: var(--pc-primary);
    background: transparent;
    font-weight: 600;
    text-decoration: none;
}

.quick-action-btn:hover {
    background: var(--pc-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 90, 57, 0.3);
}

/* Feed Items */
.feed-item {
    background: white;
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--pc-box-shadow);
    transition: var(--pc-transition);
    margin-bottom: 0rem;
    overflow: hidden;
}

.feed-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.feed-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--pc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Sidebar Widgets */
.sidebar-widget {
    background: var(--card-bg);
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--pc-box-shadow);
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.sidebar-widget .card-header {
    background: var(--glass);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.5rem;
    font-weight: 600;
}

/* Plant Items */
.plant-item {
    transition: var(--pc-transition);
    padding: 0.75rem 0;
    border-radius: var(--pc-border-radius);
}

.plant-item:hover {
    background: rgba(var(--pc-leaf-green-rgb, 139, 195, 74), 0.1);
}

.plant-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

/* Welcome Header */
.dashboard-welcome {
    margin-bottom: 2rem;
}

.dashboard-welcome h1 {
    color: var(--pc-dark);
    font-weight: 700;
}

.dashboard-welcome .lead {
    color: var(--pc-muted);
}

/* Activity Feed Items */
.activity-item {
    transition: var(--pc-transition);
    border-radius: var(--pc-border-radius);
}

.activity-item:hover {
    background-color: rgba(var(--pc-primary-rgb, 0, 90, 57), 0.05) !important;
}

/* Booking Items */
.booking-item {
    transition: var(--pc-transition);
    border: 1px solid rgba(0,0,0,0.1);
}

.booking-item:hover {
    border-color: var(--pc-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Care Task Items */
.care-task {
    transition: var(--pc-transition);
    border-radius: var(--pc-border-radius);
}

.care-task:hover {
    background-color: rgba(var(--pc-leaf-green-rgb, 139, 195, 74), 0.1);
}

.care-task-urgent {
    border-left: 3px solid var(--pc-danger);
    background-color: rgba(244, 67, 54, 0.05);
}

.care-task-medium {
    border-left: 3px solid var(--pc-warning);
    background-color: rgba(255, 152, 0, 0.05);
}

.care-task-low {
    border-left: 3px solid var(--pc-success);
    background-color: rgba(76, 175, 80, 0.05);
}

/* Weather Widget */
.weather-widget {
    background: linear-gradient(135deg, var(--pc-water-blue) 0%, var(--pc-sun-yellow) 100%);
    color: white;
}

.weather-widget .card-header {
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Earnings Widget */
.earnings-widget {
    background: linear-gradient(135deg, var(--pc-primary) 0%, var(--green) 100%);
    color: white;
}

.earnings-widget .card-header {
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Badge Styles */
.status-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Star Rating */
.star-rating {
    color: var(--pc-sun-yellow);
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Focus States for Accessibility */
.quick-action-btn:focus,
.btn:focus {
    outline: 2px solid var(--pc-primary);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(var(--pc-primary-rgb, 0, 90, 57), 0.2);
}

.feed-item:focus-within,
.activity-item:focus-within,
.booking-item:focus-within,
.care-task:focus-within,
.plant-item:focus-within {
    outline: 1px solid var(--pc-primary);
    outline-offset: 2px;
}

/* Smooth Scrolling for Dashboard */
.container {
    scroll-behavior: smooth;
}

/* Empty States */
.empty-state {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Improved card animations */
.dashboard-card,
.stat-card,
.sidebar-widget {
    animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .dashboard-card,
    .stat-card,
    .sidebar-widget {
        margin-bottom: 1rem;
    }

    .quick-actions-bar {
        padding: 1rem;
    }

    .quick-action-btn {
        margin-bottom: 0.5rem;
        width: 100%;
        font-size: 0.875rem;
    }

    .feed-item {
        margin-bottom: 0.75rem;
    }

    .feed-avatar {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .stat-card .card-body {
        padding: 0.75rem !important;
    }

    .stat-card h5 {
        font-size: 1.1rem;
    }

    .stat-card small {
        font-size: 0.75rem;
    }

    .dashboard-welcome h1 {
        font-size: 1.5rem;
    }

    .plant-item {
        padding: 0.5rem 0;
    }

    .activity-item,
    .booking-item {
        margin-bottom: 0.75rem;
        padding: 0.75rem !important;
    }

    .care-task {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }
}

/* ================================================== */
/* PLANT FORM STYLES - Modernized Add/Edit Plant */
/* ================================================== */

/* Drag & Drop Photo Zone */
.plant-photo-dropzone {
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-style: dashed !important;
    border-width: 2px !important;
    border-color: rgba(47, 168, 112, 0.3) !important;
    transition: all 0.3s ease;
}

.plant-photo-dropzone:hover {
    border-color: var(--pc-primary) !important;
    background: linear-gradient(135deg, #f0fff4, #e3f2ed) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(47, 168, 112, 0.1);
}

.plant-photo-dropzone.dragover {
    border-color: var(--pc-success) !important;
    background: linear-gradient(135deg, #d4edda, #c3e6cb) !important;
    border-width: 3px !important;
    box-shadow: 0 6px 20px rgba(47, 168, 112, 0.2);
}

/* Section Toggle Buttons */
.plant-section-toggle {
    color: var(--pc-dark);
    font-size: 1rem;
    transition: var(--pc-transition);
}

.plant-section-toggle:hover {
    color: var(--pc-primary);
    background-color: rgba(47, 168, 112, 0.05);
    border-radius: var(--pc-border-radius);
    padding: 0.25rem 0.5rem;
    margin: -0.25rem -0.5rem;
}

.plant-section-toggle .fa-chevron-down {
    color: var(--pc-muted);
}

.plant-section-toggle:not(.collapsed) .fa-chevron-down {
    color: var(--pc-primary);
}

/* Collapsible Sections */
.collapse {
    transition: height 0.35s ease;
}

/* Template Button Animation */
#templateButtonContainer {
    animation: slideInUp 0.4s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-check:checked + .btn-outline-secondary {
    background-color: var(--pc-primary) !important;
    border-color: var(--pc-primary) !important;
    color: white !important;
}

/* Form Check Enhancements */
.form-check-label {
    cursor: pointer;
    user-select: none;
}

.form-check-input:checked {
    background-color: var(--pc-primary);
    border-color: var(--pc-primary);
}

.form-check-input:focus {
    border-color: var(--pc-secondary);
    box-shadow: 0 0 0 0.25rem rgba(47, 168, 112, 0.25);
}

/* Mobile Camera Button */
#cameraBtn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

#cameraBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(13, 110, 253, 0.3);
}

/* Gallery Preview Enhancements */
#gallery_preview .col-6,
#existing_gallery .col-6 {
    animation: fadeIn 0.3s ease-out;
}

/* Light & Water Icons Spacing */
.form-check-label small {
    display: inline-block;
    margin-left: 0.25rem;
}

/* Plant Form Card Hover Effects */
.plant-form .card:hover {
    box-shadow: 0 6px 20px rgba(47, 168, 112, 0.08);
}

/* Responsive Adjustments for Plant Form */
@media (max-width: 768px) {
    .plant-photo-dropzone {
        min-height: 200px;
    }

    #cameraBtn {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .plant-section-toggle h5 {
        font-size: 0.95rem;
    }

    .badge {
        font-size: 0.65rem !important;
    }
}

/* Accessibility - Focus States */
.plant-section-toggle:focus-visible {
    outline: 2px solid var(--pc-primary);
    outline-offset: 2px;
    border-radius: var(--pc-border-radius);
}

.plant-photo-dropzone:focus-within {
    border-color: var(--pc-primary) !important;
    box-shadow: 0 0 0 0.25rem rgba(47, 168, 112, 0.15);
}

/* Browse Button in Drop Zone */
#browseBtn {
    pointer-events: none;
}

/* ============================================
   MOBILE HAMBURGER MENU STYLES
   ============================================ */

#mobileMenu {
    width: 85% !important;
    max-width: 320px;
}

#mobileMenu .offcanvas-header {
    padding: 1.5rem;
    border-bottom: 2px solid var(--pc-primary);
    background: linear-gradient(135deg, #f8fff9 0%, #fafafa 100%);
}

#mobileMenu .offcanvas-header .fw-bold {
    font-size: 1rem;
    color: #333;
}

#mobileMenu .offcanvas-header .text-muted {
    font-size: 0.85rem;
}

#mobileMenu .offcanvas-body {
    padding: 0;
    overflow-y: auto;
    background: #fff;
}

.menu-section {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e8e8e8;
}

.menu-section:first-child {
    padding-top: 0;
}

.menu-section:last-child {
    border-bottom: none;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
}

.menu-title {
    padding: 1rem 1.25rem 0.5rem 1.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin: 0;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.25rem;
    color: #333;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    position: relative;
}

.menu-item i {
    width: 20px;
    margin-right: 1rem;
    text-align: center;
    color: var(--pc-primary);
    font-size: 0.95em;
    transition: color 0.2s ease;
}

.menu-item:hover {
    background-color: rgba(0, 90, 57, 0.05);
    color: var(--pc-primary);
    padding-left: 1.5rem;
}

.menu-item:hover i {
    color: var(--pc-secondary);
}

.menu-item.text-danger {
    color: var(--danger) !important;
}

.menu-item.text-danger i {
    color: var(--danger);
}

.menu-item.text-danger:hover {
    background-color: rgba(220, 53, 69, 0.08);
    padding-left: 1.5rem;
}

/* Touch feedback for mobile menu items */
@media (hover: none) and (pointer: coarse) {
    .menu-item:active {
        background-color: rgba(0, 90, 57, 0.1);
    }

    .menu-item.text-danger:active {
        background-color: rgba(220, 53, 69, 0.12);
    }
}

/* ============ HOME PAGE MOBILE OPTIMIZATIONS ============ */

/* Hero Section Mobile */
@media (max-width: 991.98px) {
    /* Adjust hero section spacing for mobile */
    .hero {
        margin-top: 2rem !important;
        position: relative;
    }

    /* Mobile hero image wrapper - full width background */
    .hero-image-wrapper {
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        overflow: hidden;
    }

    .hero-image-wrapper img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 320px;
        object-fit: cover;
    }

    /* Hero content overlaps the image */
    .hero-content {
        position: relative;
        margin-top: -100px;
        z-index: 10;
    }

    /* Add semi-transparent background to text for readability */
    .hero-text-section {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
        padding: 2rem 1.5rem;
        border-radius: 12px;
        backdrop-filter: blur(10px);
    }

    .hero-title {
        font-size: 1.75rem !important;
        line-height: 1.2;
        margin-bottom: 0.75rem !important;
        color: #233;
    }

    .hero-title + .lead {
        margin-bottom: 1.5rem !important;
        font-size: 0.95rem;
    }

    /* Search card inside overlapping text */
    .hero-text-section .search-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    /* Ensure proper spacing after hero section for cards below */
    .hero {
        padding-bottom: 3rem;
        margin-bottom: 2rem;
    }
}

/* How Cards Mobile - Find Local Green Thumbs */
@media (max-width: 767.98px) {
    .home-cards {
        padding-top: 2rem !important;
        margin-top: 0 !important;
        position: relative;
        z-index: 5;
        background: #f6fff9;
    }

    .home-cards .container {
        position: relative;
        z-index: 5;
    }

    .home-cards h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        font-weight: 700;
    }

    .how-card {
        padding: 1.5rem !important;
        margin-bottom: 1rem;
    }

    .how-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem !important;
    }

    .how-title {
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.75rem;
    }

    .how-copy {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Reduce section title spacing */
    .home-cards .row:first-child {
        margin-bottom: 1.5rem;
    }
}

/* Get Started Cards Mobile - Stack Layout */
@media (max-width: 767.98px) {
    .get-started {
        padding-top: 3rem !important;
        margin-top: 2rem !important;
    }

    .get-started > .container > .row:first-child {
        margin-bottom: 1.5rem;
    }

    /* Make inline styled cards responsive */
    .get-started > .container > .row > .col-12 > div {
        flex-direction: column !important;
        display: flex !important;
    }

    /* Style the image divs to be full width on mobile */
    .get-started > .container > .row > .col-12 > div > div:first-child {
        width: 100% !important;
        min-width: 100% !important;
        height: 200px !important;
        background-size: cover !important;
        background-position: center !important;
    }

    /* Adjust card content padding */
    .get-started > .container > .row > .col-12 > div > div:not(:first-child) {
        padding: 1.5rem !important;
    }

    .get-started h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .get-started .small {
        font-size: 0.9rem !important;
    }

    .get-started .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .get-started .d-flex {
        flex-direction: column;
    }
}

/* Section spacing optimization */
@media (max-width: 767.98px) {
    /* Reduce excessive vertical spacing on mobile */
    .pt-5 {
        padding-top: 2rem !important;
    }

    .mt-5 {
        margin-top: 2rem !important;
    }

    /* Maintain some spacing for sections */
    section {
        margin-top: 1rem !important;
        padding-top: 2rem !important;
    }
}

/* CTA Section Mobile */
@media (max-width: 767.98px) {
    .bg-primary.text-white {
        padding: 2.5rem 1rem !important;
    }

    .bg-primary.text-white h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem !important;
    }

    .bg-primary.text-white p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem !important;
    }

    .bg-primary.text-white .d-flex {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .bg-primary.text-white .btn {
        width: 100%;
    }
}

/* Community & Guides Section Mobile */
@media (max-width: 767.98px) {
    .pc-card {
        margin-bottom: 1rem;
    }

    .pc-plant-image {
        max-height: 200px;
        object-fit: cover;
    }

    .pc-avatar {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.8rem !important;
    }

    /* Stack header actions on mobile */
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }

    .d-flex.justify-content-between .btn {
        width: 100%;
    }
}
/* ========================================================================
   MVP Landing Page Styles
   ======================================================================== */

.mvp-hero {
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.mvp-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1;
    pointer-events: none;
}

.mvp-hero > .container {
    position: relative;
    z-index: 2;
}

.email-capture-box {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border: 2px solid color-mix(in srgb, var(--pc-primary) 20%, transparent);
    max-width: 500px;
    margin: 0 auto;
}

.feature-card-mvp {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: var(--pc-transition);
    border: 1px solid rgba(0,0,0,0.08);
    cursor: pointer;
}

.feature-card-mvp:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--pc-primary) 15%, transparent);
    border-color: var(--green);
}

.feature-icon-mvp {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.waitlist-count {
    background: linear-gradient(135deg, var(--green) 0%, var(--pc-leaf-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    font-size: 2.5rem;
}

.mystery-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--pc-warning) 0%, var(--pc-warning) 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(251,191,36,0.3);
}

.section-badge {
    display: inline-block;
    background: color-mix(in srgb, var(--green) 10%, transparent);
    color: var(--green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}
