:root {
    --brand-primary: #10b981;
    --brand-secondary: #3b82f6;
    --brand-accent: #8b5cf6;
    --bg-primary: #263c28;
    --border-subtle: #e5e7eb;
    --text-primary: #f1cf69;
    --text-secondary: #6b7280;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.our-team {
    min-height: 100vh;
}

.meet-team-one {
    position: relative;
    display: block;
    padding: 20px 0px 29px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 0;
    background-color: #334b35;
}

.max-w-7xl {
    max-width: 80rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.text-center {
    text-align: center;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.text-4xl {
    font-size: 2.25rem;
    line-height: 2.5rem;
}

.md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.text-gray-900 {
    color: var(--text-primary);
}

.text-gray-600 {
    color: var(--text-secondary);
}

.text-gray-700 {
    color: #374151;
}

.text-gray-500 {
    color: #6b7280;
}

.text-green-300 {
    color: #6ee7b7;
}

.text-green-500 {
    color: var(--brand-primary);
}

.text-green-600 {
    color: #059669;
}

.text-green-700 {
    color: #047857;
}

.text-green-800 {
    color: #065f46;
}

.text-blue-600 {
    color: var(--brand-secondary);
}

.text-blue-400 {
    color: #60a5fa;
}

.text-yellow-500 {
    color: #f59e0b;
}

.text-white {
    color: var(--bg-primary);
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.grid {
    display: grid;
}

.md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gap-8 {
    gap: 2rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-2 {
    gap: 0.5rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-1 > * + * {
    margin-top: 0.25rem;
}

/* Founding Team Cards */
.founding-team-card {
    background: #263c28;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 2px solid transparent;
}

.founding-team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--brand-primary);
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.bottom-4 {
    bottom: 1rem;
}

.left-6 {
    left: 1.5rem;
}

.top-4 {
    top: 1rem;
}

.right-4 {
    right: 1rem;
}

.w-full {
    width: 100%;
}

.h-80 {
    height: 20rem;
}

.h-64 {
    height: 16rem;
}

.h-48 {
    height: 12rem;
}

.object-cover {
    object-fit: cover;
}

.rounded-t-2xl {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.rounded-b-2xl {
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-full {
    border-radius: 9999px;
}

.bg-gradient-to-t {
    background-image: linear-gradient(to top, var(--tw-gradient-stops));
}

.from-black\/60 {
    --tw-gradient-from: rgba(0, 0, 0, 0.6);
    --tw-gradient-to: rgba(0, 0, 0, 0);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.to-transparent {
    --tw-gradient-to: transparent;
}

.bg-white {
    background-color: white;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.bg-green-50 {
    background-color: #f0fdf4;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-white\/90 {
    background-color: rgba(255, 255, 255, 0.9);
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.text-white {
    color: white;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.md\:flex-row {
    flex-direction: row;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

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

.flex-1 {
    flex: 1 1 0%;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.md\:ml-8 {
    margin-left: 2rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.md\:mt-0 {
    margin-top: 0;
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

.transition-transform {
    transition-property: transform;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-300 {
    transition-duration: 300ms;
}

.backdrop-blur-sm {
    backdrop-filter: blur(4px);
}

.overflow-hidden {
    overflow: hidden;
}

.inline-block {
    display: inline-block;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.-bottom-1 {
    bottom: -0.25rem;
}

.-right-1 {
    right: -0.25rem;
}

.w-6 {
    width: 1.5rem;
}

.h-6 {
    height: 1.5rem;
}

.w-20 {
    width: 5rem;
}

.h-20 {
    height: 5rem;
}

.border-2 {
    border-width: 2px;
}

.border-white {
    border-color: white;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

/* Co-Founder Team Cards */
.cofounder-team-card {
    background: #263c28;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 1px solid var(--border-subtle);
}

.cofounder-team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-color: #f1cf69;
}

.cofounder-team-bg {
    background-color: #263c28;
}

/* Advisory Board Cards */
.advisory-board-card {
    background-color: #263c28;
    border-radius: 16px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin: 0px;
    min-height: 300px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.advisory-board-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: #f1cf69;
}

/* Consultant Cards */
.consultant-card {
    background-color: #263c28;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    padding: 24px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-subtle);
}

.consultant-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-primary);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--brand-primary);
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    color: var(--brand-primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    border: 2px solid var(--brand-primary);
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.flex-col {
    flex-direction: column;
}

.sm\:flex-row {
    flex-direction: row;
}

.gap-4 {
    gap: 1rem;
}

/* Text align */

.txt-lft {
    text-align: left;
    color: #ffffff;
}

p.txt-lft {
    padding: 10px;
}

.teamTitle {
    position: relative;
}

.teamTitle h2 {
    color: #ffffff;
    position: relative; /* Add this */
    display: inline-block; /* Add this for proper width control */
}

.teamTitle h2:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--agribid-base, #f1cf69);
}

.meet-farmers-one--team {
  position: relative;
  display: block;
  padding: 30px 0px 29px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

/* Social icons */
a {
    transition: color 0.2s ease;
}

a:hover {
    color: inherit;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .founding-team-card,
    .cofounder-team-card {
        margin-bottom: 24px;
    }
    
    .advisory-board-card {
        padding: 20px;
    }
    
    .consultant-card {
        padding: 16px;
    }
    
    .md\:w-48 {
        width: 12rem;
    }
    
    .md\:ml-8 {
        margin-left: 0;
    }
}

@media (min-width: 768px) {
    .md\:w-48 {
        width: 12rem;
    }
}

/* Add these responsive breakpoints at the end of your CSS file */

/* Mobile First - Base styles (already in your CSS) */

/* Tablet and larger */
@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .md\:flex-row {
        flex-direction: row;
    }
    .md\:ml-8 {
        margin-left: 2rem;
    }
    .md\:mt-0 {
        margin-top: 0;
    }
}

/* Mobile-specific fixes */
@media (max-width: 767px) {
    /* Fix grid layouts for mobile */
    .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* Fix advisory board cards */
    .advisory-board-card {
        padding: 1rem;
        min-height: auto;
        margin-bottom: 1rem;
    }
    
    /* Fix co-founder team cards */
    .cofounder-team-card {
        margin-bottom: 1.5rem;
    }
    
    /* Fix consultant cards */
    .consultant-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Adjust padding for mobile */
    .py-16 {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    
    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Fix text sizes for mobile */
    .text-4xl {
        font-size: 1.875rem;
        line-height: 2.25rem;
    }
    
    .text-3xl {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    
    .text-2xl {
        font-size: 1.25rem;
        line-height: 1.75rem;
    }
    
    /* Fix flex layouts for mobile */
    .md\:flex-row {
        flex-direction: column;
    }
    
    .flex-wrap {
        flex-wrap: wrap;
    }
    
    /* Fix image sizes for mobile */
    .h-80 {
        height: 16rem;
    }
    
    .h-64 {
        height: 14rem;
    }
    
    .h-48 {
        height: 10rem;
    }
    
    /* Fix margins for mobile */
    .mb-16 {
        margin-bottom: 2rem;
    }
    
    .mb-20 {
        margin-bottom: 2.5rem;
    }
    
    .mb-12 {
        margin-bottom: 1.5rem;
    }
}

/* Add these styles to fix advisory board mobile layout */
@media (max-width: 767px) {
    /* Force advisory board cards to stack vertically */
    .advisory-board-card .flex {
        flex-direction: column !important;
    }
    
    /* Ensure the image container takes full width */
    .advisory-board-card .md\:w-48 {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 1.5rem;
    }
    
    /* Make the image responsive within its container */
    .advisory-board-card .md\:w-48 img {
        width: 100% !important;
        max-width: 200px !important;
        height: auto !important;
        margin: 0 auto !important;
        display: block !important;
    }
    
    /* Remove left margin on mobile */
    .advisory-board-card .md\:ml-8 {
        margin-left: 0 !important;
    }
    
    /* Remove top margin adjustment */
    .advisory-board-card .md\:mt-0 {
        margin-top: 1rem !important;
    }
    
    /* Fix the header layout on mobile */
    .advisory-board-card .advisory-board-header {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    /* Position the duration badge properly */
    .advisory-board-card .advisory-board-header .text-right {
        text-align: left !important;
        margin-top: 0.5rem !important;
    }
    
    /* Make the details grid single column on mobile */
    .advisory-board-card .advisory-board-details {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Ensure text content flows properly */
    .advisory-board-card .flex-1 {
        width: 100% !important;
    }
}

/* Additional specific fixes for the advisory board structure */
.advisory-board-card .flex-col {
    flex-direction: column;
}

/* Force the advisory member layout to stack on mobile */
@media (max-width: 767px) {
    .advisory-member {
        flex-direction: column !important;
    }
    
    .member-image-container {
        width: 100% !important;
        text-align: center !important;
        margin-bottom: 1.5rem !important;
    }
    
    .member-image {
        max-width: 200px !important;
        height: 200px !important;
        margin: 0 auto !important;
    }
    
    .member-info {
        width: 100% !important;
    }
}

/* Add these styles for consultant cards mobile responsiveness */
@media (max-width: 767px) {
    .consultant-card {
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .consultant-card .flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .consultant-card .justify-between {
        justify-content: center;
    }
    
    .consultant-card .space-y-1 {
        margin-top: 0.5rem;
    }
}

/* Add these styles for co-founding team mobile responsiveness */
@media (max-width: 767px) {
    .cofounder-team-card {
        padding: 1rem;
    }
    
    .cofounder-team-card .relative {
        margin-bottom: 1rem;
    }
    
    .cofounder-team-card .absolute {
        position: static;
        margin-top: 1rem;
    }
    
    .cofounder-team-card .top-4.right-4 {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
}

/* Add these utility classes for mobile */
@media (max-width: 767px) {
    .mobile\:text-center {
        text-align: center;
    }
    
    .mobile\:block {
        display: block;
    }
    
    .mobile\:w-full {
        width: 100%;
    }
    
    .mobile\:mb-4 {
        margin-bottom: 1rem;
    }
    
    .mobile\:px-2 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}