/* research-development.css */
/* GOCS - Research & Development Page Specific Styles */
/* This file contains styles specific to the R&D page, building upon main.css */

/* ===== HERO SECTION ===== */
.rd-hero {
    background: linear-gradient(135deg, rgba(18, 18, 18, 0.85) 0%, rgba(45, 45, 45, 0.75) 100%),
        url("../assets/services/research-hero.jpg") center/cover;
    color: var(--text-light);
    text-align: center;
    padding: 120px 20px;
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rd-hero .hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.rd-hero .hero-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.rd-hero .hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== INNOVATION METRICS ===== */
.innovation-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.metric-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.circle-progress {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-color) var(--progress), #e0e0e0 0%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: progressAnimation 2s ease-out;
}

.circle-progress::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: var(--light-bg);
    border-radius: 50%;
}

.circle-value {
    position: relative;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
    z-index: 1;
}

.circle-label {
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 1.1rem;
}

@keyframes progressAnimation {
    from {
        background: conic-gradient(var(--accent-color) 0%, #e0e0e0 0%);
    }
    to {
        background: conic-gradient(var(--accent-color) var(--progress), #e0e0e0 0%);
    }
}

/* ===== FOCUS AREAS GRID ===== */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.focus-card {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
    border-left: 5px solid var(--accent-color);
}

.focus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.focus-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: var(--text-dark);
}

.focus-card h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.focus-card p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

.focus-progress {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.progress-bar {
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-color), #ffd700);
    border-radius: 4px;
    transition: width 1s ease;
}

.focus-progress span {
    font-size: 0.9rem;
    color: var(--medium-gray);
    font-weight: 600;
}

/* ===== PROCESS TIMELINE ===== */
.process-section {
    background: linear-gradient(135deg, #0f1b33 0%, #1a3658 100%);
    color: var(--text-light);
}

.process-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.process-phase {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.phase-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.phase-number {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
}

.phase-number::after {
    content: "";
    position: absolute;
    bottom: -40px;
    width: 2px;
    height: 30px;
    background: var(--accent-color);
}

.process-phase:last-child .phase-number::after {
    display: none;
}

.phase-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 25px 30px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.phase-content h3 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.phase-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.phase-features {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.phase-features li {
    background: rgba(248, 195, 0, 0.2);
    color: var(--accent-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(248, 195, 0, 0.3);
}

/* ===== INNOVATION LABS ===== */
.labs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.lab-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.lab-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.lab-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-gray), var(--primary-dark));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lab-overlay {
    text-align: center;
    color: var(--text-light);
}

.lab-overlay h4 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.lab-overlay p {
    opacity: 0.9;
}

.lab-info {
    padding: 30px;
}

.lab-info h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.lab-info p {
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.lab-equipment {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lab-equipment span {
    background: rgba(248, 195, 0, 0.1);
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(248, 195, 0, 0.3);
}

/* ===== TECHNOLOGY ECOSYSTEM ===== */
.tech-ecosystem {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.tech-category {
    background: var(--text-light);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tech-category h3 {
    color: var(--primary-dark);
    margin-bottom: 25px;
    font-size: 1.3rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.tech-tools {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tool-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.tool-item:last-child {
    border-bottom: none;
}

.tool-name {
    font-weight: 600;
    color: var(--primary-dark);
}

.tool-purpose {
    color: var(--medium-gray);
    font-size: 0.9rem;
    background: rgba(248, 195, 0, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

/* ===== RESEARCH OUTCOMES ===== */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.outcome-stat {
    background: var(--text-light);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.outcome-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.stat-visual {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
}

.stat-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(var(--accent-color) var(--fill-value), #e0e0e0 0%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-ring::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--light-bg);
    border-radius: 50%;
}

.stat-info {
    position: relative;
    z-index: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1rem;
}

/* ===== PARTNERSHIP SHOWCASE ===== */
.partners-showcase {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.partner-tier {
    text-align: center;
}

.partner-tier h3 {
    color: var(--primary-dark);
    margin-bottom: 30px;
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
}

.partner-tier h3::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--accent-color);
}

.partner-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.partner-logo {
    background: var(--text-light);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, var(--accent-color), #ffd700);
    color: var(--text-dark);
}

/* ===== RESEARCH TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.researcher-card {
    background: var(--text-light);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    text-align: center;
}

.researcher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.researcher-image {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-gray), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.researcher-info {
    padding: 30px;
}

.researcher-info h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.researcher-role {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.researcher-expertise {
    color: var(--medium-gray);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.researcher-stats {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.researcher-stats span {
    background: rgba(248, 195, 0, 0.1);
    color: var(--primary-dark);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(248, 195, 0, 0.3);
}

/* ===== INNOVATION ROADMAP ===== */
.roadmap-section {
    background: linear-gradient(135deg, #0f1b33 0%, #1a3658 100%);
    color: var(--text-light);
}

.roadmap-timeline {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.timeline-phase {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.timeline-phase:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

.phase-period {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 80px;
    text-align: center;
}

.phase-content h4 {
    color: var(--accent-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.phase-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-gray) 100%);
    padding: 80px 20px;
    text-align: center;
    color: var(--text-light);
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Fix for section titles in dark background sections */
.process-section .section-title,
.roadmap-section .section-title {
    color: var(--text-light) !important;
}

.process-section .section-title::after,
.roadmap-section .section-title::after {
    background-color: var(--accent-color) !important;
}

.process-section .section-subtitle,
.roadmap-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== RESPONSIVE STYLES ===== */

/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .innovation-metrics,
    .focus-grid,
    .labs-grid,
    .tech-ecosystem,
    .outcomes-grid,
    .team-grid {
        max-width: 900px;
    }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .rd-hero {
        padding: 100px 20px;
        min-height: 500px;
    }

    .rd-hero .hero-content h1 {
        font-size: 2.8rem;
    }

    .rd-hero .hero-content p {
        font-size: 1.1rem;
    }

    .innovation-metrics {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .focus-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .labs-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }

    .tech-ecosystem {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    .outcomes-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .partner-logos {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }

    .process-phase {
        flex-direction: column;
        gap: 20px;
    }

    .phase-number::after {
        display: none;
    }

    .timeline-phase {
        flex-direction: column;
        gap: 20px;
    }

    .phase-period {
        min-width: auto;
        text-align: left;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-text {
        font-size: 1.1rem;
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .rd-hero {
        padding: 80px 20px;
        min-height: 400px;
    }

    .rd-hero .hero-content h1 {
        font-size: 2.2rem;
    }

    .rd-hero .hero-content p {
        font-size: 1rem;
    }

    .rd-hero .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    .innovation-metrics {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .circle-progress {
        width: 120px;
        height: 120px;
    }

    .circle-progress::before {
        width: 90px;
        height: 90px;
    }

    .circle-value {
        font-size: 1.5rem;
    }

    .labs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .outcomes-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }

    .partner-logos {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .cta-title {
        font-size: 1.8rem;
    }

    .cta-text {
        font-size: 1rem;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .rd-hero {
        padding: 60px 20px;
        min-height: 350px;
    }

    .rd-hero .hero-content h1 {
        font-size: 1.8rem;
    }

    .focus-card,
    .lab-info,
    .tech-category,
    .outcome-stat,
    .researcher-info {
        padding: 20px;
    }

    .phase-content,
    .timeline-phase {
        padding: 20px;
    }

    .focus-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .stat-visual {
        width: 100px;
        height: 100px;
    }

    .stat-ring::before {
        width: 80px;
        height: 80px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-number {
        font-size: 2rem;
    }
}
