﻿/* Leadership Team Styles - Patla Agrotech Pvt. Ltd. */
/* Independent styles - No interference with other sections */

.leadership-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f9faf9 0%, #ffffff 100%);
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.leadership-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Section Header */
.leadership-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.leadership-section .section-badge {
    display: inline-block;
    background: rgba(46, 125, 50, 0.1);
    color: #2e7d32;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.leadership-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3e2b;
    margin-bottom: 15px;
}

.leadership-section .highlight {
    background: linear-gradient(135deg, #2e7d32, #ffc107);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.leadership-section .section-subtitle {
    font-size: 1rem;
    color: #6c757d;
    max-width: 650px;
    margin: 0 auto;
}

/* Vision, Mission, Motto Row */
.vision-mission-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.vision-card,
.mission-card,
.motto-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.vision-card {
    border-top: 4px solid #2e7d32;
}

.mission-card {
    border-top: 4px solid #ffc107;
}

.motto-card {
    border-top: 4px solid #ff9800;
}

    .vision-card:hover,
    .mission-card:hover,
    .motto-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

    .vision-card .card-icon,
    .mission-card .card-icon,
    .motto-card .card-icon {
        font-size: 3rem;
        margin-bottom: 20px;
        display: inline-block;
    }

    .vision-card h3,
    .mission-card h3,
    .motto-card h3 {
        font-size: 1.5rem;
        font-weight: 700;
        margin-bottom: 15px;
        color: #2d3e2b;
    }

    .vision-card p,
    .mission-card p,
    .motto-card p {
        color: #6c757d;
        line-height: 1.6;
        margin-bottom: 20px;
        font-size: 0.95rem;
    }

    .vision-card .card-footer,
    .mission-card .card-footer,
    .motto-card .card-footer {
        background: #f8f9fa;
        padding: 12px;
        border-radius: 10px;
        margin-top: 15px;
    }

        .vision-card .card-footer span,
        .mission-card .card-footer span,
        .motto-card .card-footer span {
            font-size: 0.85rem;
            font-weight: 600;
            color: #2e7d32;
        }

/* Leadership Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Leader Cards */
.leader-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

    .leader-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

/* Individual Card Colors */
.chairman-card {
    border-bottom: 4px solid #1a237e;
}

.ceo-card {
    border-bottom: 4px solid #004d40;
}

.md-card {
    border-bottom: 4px solid #b71c1c;
}

.founder-card {
    border-bottom: 4px solid #f57c00;
}

/* Leader Image */
.leader-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
    background: #f0f0f0;
}

.leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.leader-card:hover .leader-img {
    transform: scale(1.05);
}

/* Social Links */
.social-links {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    transition: bottom 0.3s ease;
}

.leader-card:hover .social-links {
    bottom: 0;
}

.social-link {
    background: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .social-link i {
        font-style: normal;
        font-size: 1rem;
    }

    .social-link:hover {
        transform: translateY(-3px);
        background: #2e7d32;
        color: white;
    }

/* Leader Info */
.leader-info {
    padding: 25px;
}

.leader-name h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3e2b;
    margin-bottom: 5px;
}

.leader-title {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.chairman-card .leader-title {
    background: linear-gradient(135deg, #1a237e, #283593);
}

.ceo-card .leader-title {
    background: linear-gradient(135deg, #004d40, #00695c);
}

.md-card .leader-title {
    background: linear-gradient(135deg, #b71c1c, #d32f2f);
}

.founder-card .leader-title {
    background: linear-gradient(135deg, #f57c00, #fb8c00);
}

.leader-bio {
    margin-bottom: 15px;
}

    .leader-bio p {
        font-size: 0.85rem;
        color: #6c757d;
        line-height: 1.5;
    }

.leader-achievements {
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.achievement {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6c757d;
    padding: 5px 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.achievement-icon {
    font-size: 1rem;
}

.leader-quote {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-style: italic;
    font-size: 0.85rem;
}

.chairman-card .leader-quote {
    color: #1a237e;
}

.ceo-card .leader-quote {
    color: #004d40;
}

.md-card .leader-quote {
    color: #b71c1c;
}

.founder-card .leader-quote {
    color: #f57c00;
}

/* Core Values Section - Updated for Single Row */
.core-values {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.values-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #2d3e2b;
    margin-bottom: 40px;
    position: relative;
}

    .values-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(135deg, #2e7d32, #ffc107);
    }

/* Values Grid - Single Row with 6 columns */
.values-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

/* Smaller Value Cards */
.value-item {
    text-align: center;
    padding: 20px 15px;
    transition: all 0.3s ease;
    border-radius: 15px;
    cursor: pointer;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
}

    .value-item:hover {
        background: linear-gradient(135deg, #ffffff, #f8f9fa);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        border-color: #2e7d32;
    }

.value-icon {
    font-size: 2rem;
    margin-bottom: 12px;
    display: inline-block;
}

.value-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 8px;
}

.value-item p {
    font-size: 0.75rem;
    color: #6c757d;
    line-height: 1.4;
    margin: 0;
}

/* Animations */
@keyframes leadershipFadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vision-card,
.mission-card,
.motto-card,
.leader-card,
.value-item {
    animation: leadershipFadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

.vision-card {
    animation-delay: 0.1s;
}

.mission-card {
    animation-delay: 0.2s;
}

.motto-card {
    animation-delay: 0.3s;
}

.leader-card:nth-child(1) {
    animation-delay: 0.4s;
}

.leader-card:nth-child(2) {
    animation-delay: 0.5s;
}

.leader-card:nth-child(3) {
    animation-delay: 0.6s;
}

.leader-card:nth-child(4) {
    animation-delay: 0.7s;
}

/* Responsive Design */

/* Large Desktop (1400px and below) */
@media (max-width: 1400px) {
    .values-grid {
        gap: 15px;
    }

    .value-item {
        padding: 15px 12px;
    }

    .value-icon {
        font-size: 1.8rem;
    }

    .value-item h4 {
        font-size: 0.9rem;
    }

    .value-item p {
        font-size: 0.7rem;
    }
}

/* Desktop (1200px and below) */
@media (max-width: 1200px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .value-item {
        padding: 20px;
    }

    .value-icon {
        font-size: 2rem;
    }

    .value-item h4 {
        font-size: 1rem;
    }

    .value-item p {
        font-size: 0.8rem;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablet (992px and below) */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .leadership-section {
        padding: 60px 15px;
    }

        .leadership-section .section-title {
            font-size: 2rem;
        }

        .leadership-section .section-subtitle {
            font-size: 0.9rem;
        }

    .vision-mission-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vision-card,
    .mission-card,
    .motto-card {
        padding: 25px;
    }

        .vision-card h3,
        .mission-card h3,
        .motto-card h3 {
            font-size: 1.3rem;
        }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .leader-image-wrapper {
        height: 300px;
    }

    .core-values {
        padding: 30px;
    }

    .values-title {
        font-size: 1.5rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .value-item {
        padding: 20px;
    }

    .value-icon {
        font-size: 2rem;
    }

    .value-item h4 {
        font-size: 1rem;
    }

    .value-item p {
        font-size: 0.85rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .leadership-section {
        padding: 40px 15px;
    }

        .leadership-section .section-badge {
            font-size: 0.75rem;
            padding: 6px 15px;
        }

        .leadership-section .section-title {
            font-size: 1.5rem;
        }

        .leadership-section .section-subtitle {
            font-size: 0.85rem;
        }

    .vision-card,
    .mission-card,
    .motto-card {
        padding: 20px;
    }

        .vision-card h3,
        .mission-card h3,
        .motto-card h3 {
            font-size: 1.2rem;
        }

        .vision-card p,
        .mission-card p,
        .motto-card p {
            font-size: 0.85rem;
        }

    .leader-name h3 {
        font-size: 1.1rem;
    }

    .leader-image-wrapper {
        height: 280px;
    }

    .leader-info {
        padding: 20px;
    }

    .core-values {
        padding: 20px;
    }

    .value-item {
        padding: 15px;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .leader-image-wrapper {
        height: 250px;
    }

    .leader-name h3 {
        font-size: 1rem;
    }

    .leader-title {
        font-size: 0.7rem;
    }
}

/* Landscape Mode */
@media (max-width: 768px) and (orientation: landscape) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .leader-image-wrapper {
        height: 220px;
    }

    .leader-info {
        padding: 15px;
    }

    .leader-name h3 {
        font-size: 1rem;
    }

    .leader-bio p {
        font-size: 0.75rem;
    }

    .achievement {
        font-size: 0.7rem;
    }

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .value-item {
        padding: 10px;
    }

    .value-icon {
        font-size: 1.5rem;
    }

    .value-item h4 {
        font-size: 0.8rem;
    }

    .value-item p {
        font-size: 0.65rem;
    }
}
