﻿/* Research & Development Section - Self-contained */
.kedar-research-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.kedar-research-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Header */
.kedar-research-header {
    text-align: center;
    margin-bottom: 60px;
}

.kedar-research-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: 25px;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.kedar-research-icon {
    font-size: 1.5rem;
}

.kedar-research-badge-text {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.kedar-research-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #00b4db, #0083b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.kedar-research-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Research Tabs */
.kedar-research-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.kedar-research-tab {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 10px;
}

    .kedar-research-tab:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-2px);
    }

    .kedar-research-tab.active {
        background: linear-gradient(45deg, #00b4db, #0083b0);
        box-shadow: 0 5px 15px rgba(0, 180, 219, 0.3);
    }

.kedar-tab-icon {
    font-size: 1.2rem;
}

/* Tab Content */
.kedar-tab-content {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

    .kedar-tab-content.active {
        display: block;
        animation: kedar-fadeIn 0.5s ease;
    }

@keyframes kedar-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Crop Header */
.kedar-crop-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.kedar-crop-icon-large {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2);
}

.kedar-crop-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.kedar-crop-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin: 5px 0 0 0;
}

/* Research Grid */
.kedar-research-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Research Stats */
.kedar-research-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.kedar-stat-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.kedar-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.kedar-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Chart Containers */
.kedar-chart-container {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    border: 1px solid #e9ecef;
}

.kedar-chart-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.kedar-chart {
    height: 300px;
    position: relative;
    background: white;
    border-radius: 10px;
    padding: 20px;
}

/* Progress Bars */
.kedar-progress-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kedar-progress-item {
    margin-bottom: 15px;
}

.kedar-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.kedar-progress-bar {
    height: 12px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.kedar-progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease;
}

/* Research Highlights */
.kedar-highlights {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.kedar-highlights-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-align: center;
}

.kedar-highlights-list {
    list-style: none;
    padding: 0;
}

    .kedar-highlights-list li {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        display: flex;
        align-items: center;
        gap: 10px;
    }

        .kedar-highlights-list li:before {
            content: "✓";
            font-weight: bold;
            color: #4CAF50;
        }

/* Technology Features */
.kedar-tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.kedar-tech-card {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.kedar-tech-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.kedar-tech-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.kedar-tech-desc {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Floating Elements */
.kedar-floating-dna {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: kedar-float-dna 8s ease-in-out infinite;
}

.kedar-dna-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.kedar-dna-2 {
    top: 20%;
    right: 8%;
    animation-delay: 2s;
}

.kedar-dna-3 {
    bottom: 30%;
    left: 7%;
    animation-delay: 4s;
}

.kedar-dna-4 {
    bottom: 15%;
    right: 6%;
    animation-delay: 6s;
}

@keyframes kedar-float-dna {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(180deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .kedar-research-grid {
        grid-template-columns: 1fr;
    }

    .kedar-research-tabs {
        flex-direction: column;
        align-items: center;
    }

    .kedar-research-tab {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .kedar-research-section {
        padding: 60px 0;
    }

    .kedar-research-title {
        font-size: 2.5rem;
    }

    .kedar-tab-content {
        padding: 30px 20px;
    }

    .kedar-crop-header {
        flex-direction: column;
        text-align: center;
    }

    .kedar-research-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .kedar-research-title {
        font-size: 2rem;
    }

    .kedar-crop-title {
        font-size: 2rem;
    }

    .kedar-stat-number {
        font-size: 2rem;
    }
}
