/* ==========================
   R&D PAGE STYLES
   ========================== */

/* R&D Hero Section */
.rd-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 50%, #2d2d2d 100%);
}

.rd-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.dna-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.dna-strand {
    position: absolute;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #ff8345, transparent);
    animation: dnaMove 10s ease-in-out infinite;
}

.dna-strand:nth-child(1) {
    left: 30%;
    animation-delay: 0s;
}

.dna-strand:nth-child(2) {
    right: 30%;
    animation-delay: 5s;
}

@keyframes dnaMove {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(50%); }
}

.rd-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.rd-tag {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 131, 69, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    border: 1px solid rgba(255, 131, 69, 0.3);
    color: #ff8345;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.rd-hero-title {
    font-size: 5rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.rd-hero-title span {
    display: block;
}

.gradient-text-rd {
    background: linear-gradient(135deg, #ff8345 0%, #e56b2c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rd-hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 3rem;
}

.rd-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.rd-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 131, 69, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 131, 69, 0.2);
}

.rd-stat-num {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #ff8345;
    margin-bottom: 0.5rem;
}

.rd-stat-label {
    display: block;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Lab Visual */
.lab-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3rem;
}

.beaker {
    width: 120px;
    height: 200px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px 5px 20px 20px;
    position: relative;
    overflow: hidden;
    animation: beakerFloat 3s ease-in-out infinite;
}

.beaker-1 {
    animation-delay: 0s;
}

.beaker-2 {
    animation-delay: 1s;
    height: 250px;
}

.beaker-3 {
    animation-delay: 2s;
    height: 180px;
}

@keyframes beakerFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #ff8345 0%, #e56b2c 100%);
    border-radius: 0 0 18px 18px;
    animation: liquidFill 4s ease-in-out infinite;
}

.beaker-1 .liquid {
    height: 60%;
}

.beaker-2 .liquid {
    height: 75%;
}

.beaker-3 .liquid {
    height: 50%;
}

@keyframes liquidFill {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

/* Research Areas Section */
.research-areas-section {
    padding: 8rem 0;
    background: #f8f9fa;
}

.section-header-rd {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag-rd {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, rgba(255, 131, 69, 0.1) 0%, rgba(229, 107, 44, 0.1) 100%);
    border-radius: 50px;
    color: #ff8345;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.section-title-rd {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle-rd {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.research-card {
    background: #ffffff;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 131, 69, 0.1);
}

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(255, 131, 69, 0.15);
    border-color: rgba(255, 131, 69, 0.3);
}

.research-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff8345 0%, #e56b2c 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.research-card:hover .research-icon {
    transform: rotateY(360deg);
}

.research-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.research-card > p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.research-list {
    list-style: none;
    padding: 0;
}

.research-list li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.research-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: #ff8345;
    font-weight: bold;
}

/* Innovation Process Section */
.innovation-process {
    padding: 8rem 0;
    background: #ffffff;
}

.process-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ff8345, #e56b2c);
}

.timeline-item {
    display: flex;
    gap: 3rem;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-number {
    width: 100px;
    height: 100px;
    min-width: 100px;
    background: linear-gradient(135deg, #ff8345 0%, #e56b2c 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(255, 131, 69, 0.3);
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(255, 131, 69, 0.1);
}

.timeline-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Lab Facilities Section */
.lab-facilities {
    padding: 8rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.facilities-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.facilities-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 2rem 0 3rem;
}

.facilities-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.facility-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.facility-item i {
    font-size: 1.5rem;
    color: #ff8345;
    margin-top: 0.25rem;
}

.facility-item h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.facility-item p {
    color: var(--text-secondary);
}

.facilities-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.facilities-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Publications Section */
.publications-section {
    padding: 8rem 0;
    background: #ffffff;
}

.publications-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.publication-card {
    background: #f8f9fa;
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 4px solid #ff8345;
    transition: all 0.3s ease;
}

.publication-card:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(255, 131, 69, 0.1);
}

.pub-year {
    display: inline-block;
    padding: 0.35rem 1rem;
    background: linear-gradient(135deg, #ff8345 0%, #e56b2c 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.publication-card h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.pub-journal {
    color: #ff8345;
    font-weight: 600;
    font-style: italic;
    margin-bottom: 0.5rem;
}

.pub-authors {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* R&D CTA Section */
.rd-cta {
    padding: 8rem 0;
    background: linear-gradient(135deg, #ff8345 0%, #e56b2c 100%);
    text-align: center;
}

.rd-cta-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.rd-cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.rd-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 3rem;
    background: #ffffff;
    color: #ff8345;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.rd-cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.rd-cta-btn i {
    transition: transform 0.3s ease;
}

.rd-cta-btn:hover i {
    transform: translateX(5px);
}

/* Responsive */
@media (max-width: 1024px) {
    .rd-hero-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .rd-hero-title {
        font-size: 4rem;
    }

    .research-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facilities-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .rd-hero-title {
        font-size: 3rem;
    }

    .rd-hero-stats {
        grid-template-columns: 1fr;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .section-title-rd {
        font-size: 2.5rem;
    }

    .process-timeline::before {
        left: 30px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        min-width: 60px;
        font-size: 1.5rem;
    }

    .timeline-item {
        gap: 2rem;
    }

    .publications-grid {
        grid-template-columns: 1fr;
    }

    .lab-visual {
        height: 300px;
        gap: 2rem;
    }

    .beaker {
        width: 80px;
        height: 150px;
    }

    .beaker-2 {
        height: 180px;
    }

    .beaker-3 {
        height: 130px;
    }
}

@media (max-width: 480px) {
    .rd-hero-title {
        font-size: 2.5rem;
    }

    .section-title-rd {
        font-size: 2rem;
    }

    .rd-cta-content h2 {
        font-size: 2.5rem;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }
}



