/* ========================================
   BULWARK FARMS - COMPLETE STYLESHEET
   Built from scratch with brand guidelines
   ======================================== */

/* Brand Colors from Guidelines */
:root {
    --dark-olive: #44401B;
    --olive-green: #646112;
    --golden-olive: #979

00B;
    --green: #546602;
    --lime-green: #60810E;
    --bright-green: #779D16;
    
    --cream: #f5f1e8;
    --sand: #e8dcc4;
    --white: #ffffff;
    --black: #000000;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'MTN Brighter Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--dark-olive);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Section Styles */
.section {
    padding: 6rem 0;
    position: relative;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--dark-olive);
    margin-bottom: 1rem;
}

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

.section-title.white {
    color: var(--white);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--olive-green);
    margin-bottom: 3rem;
}

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

.section-subtitle.white {
    color: var(--cream);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--lime-green);
    border-color: var(--lime-green);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(84, 102, 2, 0.3);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--dark-olive);
}

.btn.full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-olive);
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--olive-green);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--dark-olive);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--green);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    background: var(--green);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--lime-green);
    transform: translateY(-2px);
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 12px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--dark-olive);
    text-decoration: none;
    transition: var(--transition);
}

.dropdown-menu a:hover {
    background: var(--cream);
    color: var(--green);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-olive);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, var(--dark-olive), var(--olive-green));
    color: var(--white);
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('page_5.png') center/cover no-repeat;
    opacity: 0.15;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--cream);
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    opacity: 0.7;
}

.scroll-indicator {
    width: 2px;
    height: 40px;
    background: var(--white);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0%, 100% { transform: translateY(0); opacity: 0; }
    50% { transform: translateY(10px); opacity: 1; }
}

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

/* About Section */
.about {
    background: var(--cream);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Mission & Vision */
.mission-vision {
    background: var(--white);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.mv-card {
    background: linear-gradient(135deg, var(--green), var(--lime-green));
    padding: 3rem;
    border-radius: 20px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1), transparent);
}

.mv-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.mv-card h3 {
    position: relative;
    color: var(--white);
}

.mv-card p {
    position: relative;
    line-height: 1.8;
}

/* Values Section */
.values {
    background: var(--sand);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--dark-olive);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--olive-green);
}

/* Divisions Section */
.divisions {
    background: var(--white);
}

.division-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--cream);
    border-radius: 24px;
}

.division-card.reverse {
    direction: rtl;
}

.division-card.reverse > * {
    direction: ltr;
}

.division-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.division-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: var(--transition);
}

.division-card:hover .division-image img {
    transform: scale(1.05);
}

.division-content h3 {
    color: var(--dark-olive);
    margin-bottom: 0.5rem;
}

.division-meta {
    color: var(--green);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.division-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.varieties {
    margin-top: 2rem;
}

.varieties h5 {
    margin-bottom: 1rem;
    color: var(--dark-olive);
}

.variety-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.variety-tags span {
    padding: 0.5rem 1rem;
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--dark-olive);
}

.varieties-note {
    font-size: 0.95rem;
    color: var(--olive-green);
}

/* Media Section */
.media-section {
    background: var(--white);
}

.media-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.media-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: var(--transition);
}

.media-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.media-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.media-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: var(--white);
    padding: 2rem 1.5rem 1rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.media-item:hover .media-overlay {
    transform: translateY(0);
}

.media-overlay h4 {
    margin-bottom: 0.5rem;
    color: var(--white);
}

.media-overlay p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Research Section */
.research {
    background: var(--dark-olive);
    color: var(--white);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.research-card {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: var(--transition);
}

.research-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.research-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.research-card h4 {
    color: var(--bright-green);
    margin-bottom: 1rem;
}

.research-card p {
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
}

/* Products Section */
.products {
    background: var(--cream);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.product-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.product-card h4 {
    color: var(--dark-olive);
    margin-bottom: 1.5rem;
}

.product-card ul {
    list-style: none;
}

.product-card li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--cream);
    color: var(--olive-green);
}

.product-card li:last-child {
    border-bottom: none;
}

.product-card li::before {
    content: '✓ ';
    color: var(--green);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Donation Section */
.donation {
    background: linear-gradient(135deg, var(--olive-green), var(--dark-olive));
    color: var(--white);
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.donation-info h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.donation-benefits {
    list-style: none;
    margin-top: 2rem;
}

.donation-benefits li {
    padding: 1rem 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.donation-form-wrap {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    color: var(--dark-olive);
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.donation-form-wrap h3 {
    color: var(--dark-olive);
    margin-bottom: 1.5rem;
}

.amount-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.amount-btn {
    padding: 1rem;
    background: var(--white);
    border: 2px solid var(--green);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.amount-btn:hover,
.amount-btn.active {
    background: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.donation-form input,
.donation-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--sand);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.donation-type {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.donation-type label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.bank-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--sand);
}

.bank-title {
    font-weight: 600;
    margin-bottom: 1rem;
}

.bank-details p {
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--cream);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.contact-item h4 {
    color: var(--dark-olive);
    margin-bottom: 0.25rem;
}

.contact-item p {
    color: var(--olive-green);
}

.social-links-section h4 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.social-links a {
    display: inline-block;
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--lime-green);
    transform: translateX(5px);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid var(--sand);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
}

.contact-form textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-olive);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    width: 80px;
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.tagline {
    font-style: italic;
    color: var(--bright-green);
}

.footer-col h4 {
    color: var(--bright-green);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--bright-green);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.6);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .donation-content,
    .contact-grid,
    .division-card {
        grid-template-columns: 1fr;
    }
    
    .division-card.reverse {
        direction: ltr;
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition);
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .amount-selection {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.center {
    text-align: center;
}

.white {
    color: var(--white);
}

/* ==================== TEAM SECTION ==================== */

.team-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative background elements */
.team-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.team-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 195, 74, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.team-section .section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.team-section .section-title {
    font-size: 2.5rem;
    color: #546602;
    margin-bottom: 1rem;
    font-weight: 700;
}

.team-section .section-subtitle {
    font-size: 1.125rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ==================== TEAM GRID ==================== */

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* ==================== TEAM CARD ==================== */

.team-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(46, 125, 50, 0.2);
}

/* ==================== IMAGE CONTAINER ==================== */

.team-image-container {
    position: relative;
    overflow: hidden;
}

.team-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #546602 0%, #646112 100%);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(20%);
}

.team-card:hover .team-image {
    transform: scale(1.1);
    filter: grayscale(0%);
}

/* ==================== OVERLAY ==================== */

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(46, 125, 50, 0.9) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: all 0.4s ease;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

/* ==================== SOCIAL ICONS ==================== */

.team-social {
    display: flex;
    gap: 1rem;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #779D16;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #ffffff;
    color: #60810E;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* ==================== TEAM BADGE ==================== */

.team-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #779D16 0%, #60810E 100%);
    color: #ffffff;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
    z-index: 10;
    transition: all 0.3s ease;
}

.team-card:hover .team-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

/* ==================== TEAM INFO ==================== */

.team-info {
    padding: 2rem 2rem 2.5rem;
}

.team-name {
    font-size: 1.5rem;
    color: #779D16;
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: color 0.3s ease;
}

.team-card:hover .team-name {
    color: #666;
}

.team-position {
    font-size: 0.9375rem;
    color: #60810E;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 0.9375rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ==================== EXPERTISE TAGS ==================== */

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.expertise-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1f3b20;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(46, 125, 50, 0.2);
    transition: all 0.3s ease;
}

.expertise-tag:hover {
    background: linear-gradient(135deg, #779D16 0%, #60810E 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.3);
}

/* ==================== DECORATIVE ELEMENTS ==================== */

/* Corner accent on card */
.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, transparent 50%, rgba(46, 125, 50, 0.05) 50%);
    border-radius: 0 20px 0 0;
    pointer-events: none;
    z-index: 1;
}

/* Animated border glow on hover */
.team-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    border: 2px solid transparent;
    background: linear-gradient(135deg, #779D16, #646112) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.team-card:hover::after {
    opacity: 1;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-section .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .team-section {
        padding: 3rem 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .team-image-wrapper {
        height: 350px;
    }
    
    .team-info {
        padding: 1.5rem;
    }
    
    .team-section .section-title {
        font-size: 1.75rem;
    }
    
    .team-section .section-subtitle {
        font-size: 1rem;
    }
    
    .team-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1rem;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .team-image-wrapper {
        height: 300px;
    }
    
    .team-name {
        font-size: 1.25rem;
    }
    
    .team-position {
        font-size: 0.875rem;
    }
    
    .team-bio {
        font-size: 0.875rem;
    }
    
    .expertise-tag {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }
}

/* ==================== ANIMATION IMPROVEMENTS ==================== */

/* Stagger animation for team cards */
.team-card:nth-child(1) {
    animation-delay: 0s;
}

.team-card:nth-child(2) {
    animation-delay: 0.1s;
}

.team-card:nth-child(3) {
    animation-delay: 0.2s;
}

/* Smooth entrance animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.team-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.team-card:nth-child(1) {
    animation-delay: 0.2s;
}

.team-card:nth-child(2) {
    animation-delay: 0.4s;
}

.team-card:nth-child(3) {
    animation-delay: 0.6s;
}

/* ==================== PRINT STYLES ==================== */

@media print {
    .team-section {
        background: white;
    }
    
    .team-overlay,
    .team-badge,
    .social-icon {
        display: none;
    }
    
    .team-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}
