﻿/* futura-leadership.css - Styles for CEO & MD Leadership Profile Cards */

/* ========== GLOBAL CONTAINER ========== */
.leadership-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f8faf8 0%, #f0f5ef 100%);
}

/* ========== LEADERSHIP HEADER ========== */
.leadership-header {
    text-align: center;
    margin-bottom: 3rem;
}

.leadership-badge {
    display: inline-block;
    background: linear-gradient(135deg, #2d6a4f, #1b4d3e);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.leadership-title {
    font-size: 2.5rem;
    color: #1b4d3e;
    margin-bottom: 0.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

    .leadership-title:after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(90deg, #2d6a4f, #52b788);
        border-radius: 2px;
    }

.leadership-subtitle {
    color: #5a7c64;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ========== LEADERSHIP CARDS GRID ========== */
.leadership-cards-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* MD Card Styles */
.leader-card {
    flex: 1;
    min-width: 320px;
    background: white;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .leader-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 30px 50px rgba(0, 0, 0, 0.15);
    }

.md-card {
    background: linear-gradient(135deg, #ffffff 0%, #fef9e6 100%);
    border: 1px solid rgba(45, 106, 79, 0.2);
}

.card-background-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(45, 106, 79, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.leader-image-container {
    position: relative;
    padding: 2rem 2rem 0 2rem;
}

.image-wrapper {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.leader-image {
    width: 100%;
    height: auto;
    min-height: 350px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.leader-card:hover .leader-image {
    transform: scale(1.02);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.designation-badge {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #2d6a4f, #1b4d3e);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.designation-icon {
    font-size: 1.1rem;
}

.leader-info {
    padding: 2rem 1.8rem 2rem 1.8rem;
    margin-top: 0.8rem;
}

.leader-name {
    font-size: 1.8rem;
    color: #1b4d3e;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-align: center;
}

.leader-quote {
    text-align: center;
    font-style: italic;
    color: #2d6a4f;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    border-left: 3px solid #52b788;
    padding-left: 1rem;
    margin-left: 0.5rem;
}

.leader-bio {
    color: #4a5b52;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    text-align: justify;
}

.leader-achievements {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e8e0;
}

.achievement-item {
    flex: 1;
    min-width: 120px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #2d6a4f;
    font-weight: 500;
    background: #f0f7ed;
    padding: 0.5rem 0.8rem;
    border-radius: 40px;
}

.achievement-icon {
    font-size: 1.1rem;
}

/* Vision, Mission, Motto Grid */
.vision-mission-grid {
    flex: 1.5;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.vision-card,
.mission-card,
.motto-card {
    background: white;
    border-radius: 28px;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vision-card {
    background: linear-gradient(135deg, #e8f3ed, #ffffff);
    border-bottom: 4px solid #2d6a4f;
}

.mission-card {
    background: linear-gradient(135deg, #fff5e8, #ffffff);
    border-bottom: 4px solid #e9c46a;
}

.motto-card {
    background: linear-gradient(135deg, #eef2fa, #ffffff);
    border-bottom: 4px solid #52b788;
}

    .vision-card:hover,
    .mission-card:hover,
    .motto-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    }

.card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.vision-card h3,
.mission-card h3,
.motto-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.vision-card h3 {
    color: #2d6a4f;
}

.mission-card h3 {
    color: #e76f51;
}

.motto-card h3 {
    color: #52b788;
}

.vision-card p,
.mission-card p,
.motto-card p {
    color: #4a5b52;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.motto-english {
    font-size: 0.9rem;
    color: #52b788;
    display: block;
    margin-top: 0.5rem;
}

.card-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e8e0;
}

.footer-text {
    font-size: 0.8rem;
    color: #8b9a8f;
    font-style: italic;
}

/* ========== MESSAGES SECTION ========== */
.messages-section {
    margin: 3rem 0;
}

.messages-title {
    font-size: 2rem;
    color: #1b4d3e;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.messages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.message-card {
    background: white;
    border-radius: 28px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

    .message-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
    }

.farmer-message {
    border-left: 6px solid #2d6a4f;
}

.distributor-message {
    border-left: 6px solid #e9c46a;
}

.message-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 1.8rem;
    background: #f8faf8;
    border-bottom: 1px solid #e0e8e0;
}

.message-icon {
    font-size: 2.5rem;
}

.message-header h4 {
    font-size: 1.3rem;
    color: #1b4d3e;
    margin: 0;
}

.message-content {
    padding: 1.8rem;
}

.message-text {
    color: #4a5b52;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.message-signature {
    margin-top: 1.5rem;
}

.signature-line {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #2d6a4f, #52b788);
    margin-bottom: 0.8rem;
}

.signature-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1b4d3e;
    margin-bottom: 0.2rem;
}

.signature-title {
    font-size: 0.85rem;
    color: #8b9a8f;
}

/* ========== CORE VALUES SECTION ========== */
.core-values-section {
    margin: 3rem 0;
}

.values-title {
    font-size: 2rem;
    color: #1b4d3e;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.value-card {
    background: white;
    border-radius: 24px;
    padding: 1.8rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

    .value-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 24px rgba(45, 106, 79, 0.15);
    }

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.value-card h4 {
    font-size: 1.2rem;
    color: #2d6a4f;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.value-card p {
    color: #6c7e74;
    font-size: 0.9rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    margin-top: 3rem;
    background: linear-gradient(135deg, #1b4d3e, #2d6a4f);
    border-radius: 32px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background: white;
    color: #1b4d3e;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

    .cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        background: #f8faf8;
    }

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    .leadership-container {
        padding: 1.5rem;
    }

    .leadership-title {
        font-size: 2.2rem;
    }

    .leader-name {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .leadership-container {
        padding: 1.2rem;
    }

    .leadership-title {
        font-size: 1.8rem;
    }

    .leadership-subtitle {
        font-size: 1rem;
    }

    .leader-card {
        min-width: 100%;
    }

    .leader-image {
        min-height: 300px;
    }

    .designation-badge {
        white-space: normal;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
        width: 90%;
        text-align: center;
    }

    .leader-name {
        font-size: 1.4rem;
    }

    .vision-mission-grid {
        grid-template-columns: 1fr;
    }

    .messages-grid {
        grid-template-columns: 1fr;
    }

    .message-header h4 {
        font-size: 1.2rem;
    }

    .message-text {
        font-size: 0.95rem;
    }

    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
    }

    .value-card {
        padding: 1.2rem;
    }

    .cta-section {
        padding: 2rem 1.5rem;
    }

    .cta-content h3 {
        font-size: 1.4rem;
    }

    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .leadership-container {
        padding: 1rem;
    }

    .leadership-title {
        font-size: 1.5rem;
    }

    .leader-info {
        padding: 1.5rem;
    }

    .leader-achievements {
        flex-direction: column;
        gap: 0.5rem;
    }

    .achievement-item {
        width: 100%;
    }

    .message-content {
        padding: 1.2rem;
    }

    .message-text {
        font-size: 0.9rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        text-align: center;
    }
}

/* Tablet Landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .leader-card {
        min-width: 300px;
    }

    .vision-mission-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.leader-card,
.vision-card,
.mission-card,
.motto-card,
.message-card,
.value-card {
    animation: fadeInUp 0.6s ease-out forwards;
}

.leader-card {
    animation-delay: 0.1s;
}

.vision-card {
    animation-delay: 0.2s;
}

.mission-card {
    animation-delay: 0.3s;
}

.motto-card {
    animation-delay: 0.4s;
}

.message-card:first-child {
    animation-delay: 0.5s;
}

.message-card:last-child {
    animation-delay: 0.6s;
}

/* Print Styles */
@media print {
    .cta-section,
    .cta-button {
        display: none;
    }

    .leader-card,
    .vision-card,
    .mission-card,
    .motto-card,
    .message-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}
