/* Platform Page Styles */
.platform-hero {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 102, 204, 0.95));
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    padding: 10rem 0 5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.platform-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.1;
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% {
        background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    }
    100% {
        background-position: 20px 0, 20px 10px, 30px -10px, 10px 0px;
    }
}

.platform-hero .hero-content {
    position: relative;
    z-index: 1;
}

.platform-hero h1 {
    font-size: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.3;
}

.platform-content {
    padding: 2rem 0 5rem;
}

.content-block {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 5rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.content-block.reverse {
    flex-direction: row-reverse;
}

.text-content {
    flex: 1.5;
}

.image-content {
    flex: 1;
    text-align: center;
}

.image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-content img:hover {
    transform: scale(1.02);
}

/* Specific style for Alzheimer page image */
.alzheimer .image-content img {
    max-width: 80%;
    margin: 0 auto;
    display: block;
}

/* Add specific styles for optic neuritis page images */
.optic .image-content img {
    width: 70%;  /* Reduce by 30% from default 100% */
    height: auto;
    display: block;
    margin: 0 auto;
}

.text-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.text-content h2:after {
    margin: 15px 0;
}

.text-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

.text-content ul, .text-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.7rem;
    line-height: 1.6;
}

.back-to-home {
    text-align: center;
    margin-top: 3rem;
}

.back-to-home .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.back-to-home .btn i {
    font-size: 0.9rem;
}

/* Scientific styling elements */
.text-content p strong {
    color: var(--primary-color);
}

.text-content h3 {
    color: var(--secondary-color);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

/* Specific page overrides */
.egf-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('Across Pharmaceuticals Pictures/EGF-platform.png');
}

.xb3-hero {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 102, 204, 0.95));
}

.rd-hero {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 102, 204, 0.95));
}

/* Responsive styles */
@media (max-width: 992px) {
    .platform-hero h1 {
        font-size: 2rem;
    }
    
    .content-block, .content-block.reverse {
        flex-direction: column;
        gap: 2rem;
    }
    
    .image-content {
        order: -1;
        width: 100%;
    }
    
    .text-content h2 {
        text-align: center;
        font-size: 1.6rem;
    }
    
    .text-content h2:after {
        margin: 15px auto;
    }
}

@media (max-width: 576px) {
    .platform-hero {
        padding: 8rem 0 3rem;
    }
    
    .platform-hero h1 {
        font-size: 1.7rem;
    }
    
    .content-block {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }
    
    .text-content p, .text-content li {
        font-size: 1rem;
    }
} 