﻿/* Research & Development Styles - Patla Agrotech Pvt. Ltd. */

.research-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #f9faf9 0%, #ffffff 100%);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.research-container {
    max-width: 1300px;
    margin: 0 auto;
}

/* Section Header */
.research-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.research-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: 15px;
    text-transform: uppercase;
}

.research-section .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2d3e2b;
    margin-bottom: 12px;
}

.research-section .highlight {
    background: linear-gradient(135deg, #2e7d32, #ffc107);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.research-section .section-subtitle {
    font-size: 1rem;
    color: #6c757d;
    max-width: 650px;
    margin: 0 auto;
}

/* Research Stats */
.research-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.stat-card {
    background: white;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-bottom: 3px solid #2e7d32;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
}

/* Research Categories Grid */
.research-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Research Cards */
.research-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

    .research-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }

/* Individual Card Colors */
.maize-research {
    border-top: 4px solid #ff9800;
}

.paddy-research {
    border-top: 4px solid #4caf50;
}

.vegetables-research {
    border-top: 4px solid #f44336;
}

/* Research Image */
.research-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.research-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.research-card:hover .research-img {
    transform: scale(1.05);
}

.research-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
}

.research-category {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

/* Research Content */
.research-content {
    padding: 25px;
}

.crop-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.research-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d3e2b;
    margin-bottom: 12px;
}

.research-description {
    font-size: 0.9rem;
    color: #6c757d;
    line-height: 1.5;
    margin-bottom: 20px;
}

/* Research Focus */
.research-focus {
    margin-bottom: 20px;
}

    .research-focus h4 {
        font-size: 0.9rem;
        font-weight: 700;
        color: #2d3e2b;
        margin-bottom: 10px;
    }

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.focus-tag {
    background: #f0f7f0;
    color: #2e7d32;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .focus-tag:hover {
        background: #2e7d32;
        color: white;
        transform: translateY(-2px);
    }

/* Research Achievements */
.research-achievements {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding: 15px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: #6c757d;
}

.achievement-icon {
    font-size: 1rem;
}

/* Research Button */
.research-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

    .research-btn:hover {
        transform: translateX(5px);
        background: linear-gradient(135deg, #1b5e20, #0a3d0e);
        box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
    }

.btn-icon {
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.research-btn:hover .btn-icon {
    transform: translateX(5px);
}

/* Research Facilities */
.research-facilities {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.facilities-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3e2b;
    margin-bottom: 40px;
    position: relative;
}

    .facilities-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: linear-gradient(135deg, #2e7d32, #ffc107);
    }

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.facility-item {
    text-align: center;
    padding: 25px;
    transition: all 0.3s ease;
    border-radius: 15px;
    background: #f8f9fa;
}

    .facility-item:hover {
        transform: translateY(-5px);
        background: linear-gradient(135deg, #ffffff, #f8f9fa);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.facility-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.facility-item h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 8px;
}

.facility-item p {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Responsive Design */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
    .research-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .research-categories {
        gap: 25px;
    }

    .facilities-grid {
        gap: 20px;
    }
}

/* Tablet (768px and below) */
@media (max-width: 768px) {
    .research-section {
        padding: 50px 15px;
    }

        .research-section .section-title {
            font-size: 2rem;
        }

    .research-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }

    .stat-card {
        padding: 20px;
    }

    .research-categories {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 40px;
    }

    .research-image-wrapper {
        height: 200px;
    }

    .research-title {
        font-size: 1.3rem;
    }

    .facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .research-facilities {
        padding: 30px;
    }

    .facilities-title {
        font-size: 1.5rem;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    .research-section {
        padding: 40px 15px;
    }

        .research-section .section-badge {
            font-size: 0.75rem;
            padding: 6px 15px;
        }

        .research-section .section-title {
            font-size: 1.5rem;
        }

        .research-section .section-subtitle {
            font-size: 0.85rem;
        }

    .research-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .stat-card {
        padding: 15px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .research-content {
        padding: 20px;
    }

    .crop-icon {
        font-size: 2rem;
    }

    .research-title {
        font-size: 1.2rem;
    }

    .research-description {
        font-size: 0.85rem;
    }

    .focus-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .achievement-item {
        font-size: 0.8rem;
    }

    .research-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .facilities-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .research-facilities {
        padding: 25px;
    }

    .facilities-title {
        font-size: 1.3rem;
    }

    .facility-item {
        padding: 20px;
    }

    .facility-icon {
        font-size: 2rem;
    }

    .facility-item h4 {
        font-size: 1rem;
    }
}

/* Small Mobile (375px and below) */
@media (max-width: 375px) {
    .research-image-wrapper {
        height: 180px;
    }

    .research-content {
        padding: 18px;
    }

    .focus-tags {
        gap: 6px;
    }

    .focus-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.research-card,
.facility-item {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

    .stat-card:nth-child(1) {
        animation-delay: 0.1s;
    }

    .stat-card:nth-child(2) {
        animation-delay: 0.2s;
    }

    .stat-card:nth-child(3) {
        animation-delay: 0.3s;
    }

    .stat-card:nth-child(4) {
        animation-delay: 0.4s;
    }

    .research-card:nth-child(1) {
        animation-delay: 0.5s;
    }

    .research-card:nth-child(2) {
        animation-delay: 0.6s;
    }

    .research-card:nth-child(3) {
        animation-delay: 0.7s;
    }
