/* Global Styles */
:root {
    --primary-color: #0056b3;
    --secondary-color: #00a0e9;
    --accent-color: #f8f9fa;
    --text-color: #333;
    --light-text: #fff;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;
    --border-radius: 5px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
    width: 100%;
    position: relative;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

h2:after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin: 15px auto;
}

p {
    margin-bottom: 1rem;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

section {
    padding: 5rem 0;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: var(--transition);
    margin-right: 1rem;
    margin-top: 1rem;
    border: 2px solid var(--primary-color);
}

.btn:hover {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--light-text);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 1rem 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    width: auto;
}

.logo a {
    display: block;
}

.nav-links {
    display: flex;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover:after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: url('Across Pharmaceuticals Pictures/HomePage Background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero .container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hero-content-right {
    background: rgba(0,0,0,0.10);
    padding: 2.5rem 3rem;
    border-radius: 1.5rem;
    max-width: 500px;
    margin-right: 1vw;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content-right h1 {
    font-size: 2.8rem;
    margin-bottom: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}

.hero-quote {
    font-size: 1.5rem;
    font-style: italic;
    color: #2a4d69;
    margin: 0 0 0.7rem 0;
    text-align: center;
    position: relative;
    line-height: 1.4;
}

.hero-quote .quote-mark {
    font-size: 2.5rem;
    color: #4fc3f7;
    vertical-align: middle;
    font-family: serif;
    font-weight: bold;
}

.hero-description {
    font-size: 1.35rem;
    margin: 0 0 0.7rem 0;
    text-align: center;
    position: relative;
    line-height: 1.4;
}

.hero-content-right .btn,
.hero-content-right .btn-outline {
    margin-right: 0;
    margin-left: 1rem;
    min-width: 120px;
    font-size: 1rem;
    margin-top: 0;
}

.hero-content-right .btn {
    margin-left: 0;
}

/* R&D Pipeline Hero Section */
.hero.rd-pipeline {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.95), rgba(0, 102, 204, 0.95));
    position: relative;
    overflow: hidden;
}

.hero.rd-pipeline::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;
    }
}

.hero.rd-pipeline .hero-content {
    position: relative;
    z-index: 1;
}

/* Vision Section */
.vision {
    background-color: var(--light-bg);
}

.vision-content {
    max-width: 800px;
    margin: 0 auto;
}

.vision-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.vision-content h3 {
    margin-top: 2rem;
    color: var(--primary-color);
}

.vision-content ul {
    margin-left: 2rem;
    margin-bottom: 2rem;
}

.vision-content li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.vision-content li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.vision-flex {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.vision-text {
    flex: 2;
    min-width: 220px;
}

.vision-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    max-width: 400px;
    margin-top: 0.5rem;
}

.vision-image img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Approach Section */
.approach-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
}

.card p {
    padding: 0 1.5rem 1.5rem;
}

.card .btn {
    margin: 0 1.5rem 1.5rem;
}

/* Pipeline Section */
.pipeline {
    background-color: var(--light-bg);
}

.pipeline-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.pipeline-text {
    flex: 1;
}

.pipeline-image {
    flex: 1;
    max-width: 500px;
}

.pipeline-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.pipeline-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.pipeline ul {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding-left: 2rem;
}

.pipeline li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.pipeline li:before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.pipeline .btn {
    display: inline-block;
    max-width: 200px;
    margin: 2rem 0;
    text-align: center;
}

/* Indications */
.indications {
    margin-top: 4rem;
}

.indication-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.indication-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.indication-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.indication-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.indication-card h3 {
    padding: 1rem;
    font-size: 1rem;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Team Section */
.team-members {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.member {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: var(--transition);
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
}

.member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.member img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.member h3 {
    padding: 1rem 1rem 0.5rem;
    font-size: 1.1rem;
}

.member p {
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
}

/* News Section */
.news {
    background-color: var(--light-bg);
}

.news-placeholder {
    text-align: center;
    padding: 3rem;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* Add styles for news section link */
.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.news-link:hover {
    transform: translateY(-5px);
}

.news-link h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.news-link .news-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.news-link:hover .news-placeholder {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
}

.footer-links, .footer-contact {
    flex: 1;
    min-width: 250px;
}

.footer-links h3, .footer-contact h3 {
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
}

.footer-links h3:after, .footer-contact h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 2px;
    background-color: var(--secondary-color);
    bottom: -10px;
    left: 0;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--light-text);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 1rem;
}

.footer-contact a {
    color: var(--secondary-color);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content-right {
        margin-right: 2vw;
    }
}

@media (max-width: 992px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .quote {
        font-size: 1.2rem;
    }
    
    .pipeline-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .pipeline-image {
        max-width: 100%;
    }
    .hero-content-right {
        max-width: 90vw;
        margin-right: 2vw;
        padding: 2rem 1.5rem;
    }
    .hero-content-right h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1.5rem 0;
    }
    
    .hamburger {
        display: block;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .approach-cards, .indication-cards, .team-members {
        flex-direction: column;
        align-items: center;
    }
    
    .card, .indication-card, .member {
        width: 100%;
        max-width: 400px;
    }
    .hero .container {
        justify-content: center;
    }
    .hero-content-right {
        margin: 0 auto;
        align-items: center;
        text-align: center;
        max-width: 100vw;
        padding: 1.5rem 0.5rem;
    }
    .hero-content-right h1,
    .hero-quote,
    .hero-description {
        text-align: center;
    }
    .hero-content-right .btn,
    .hero-content-right .btn-outline {
        margin: 0.5rem 0.5rem 0 0;
    }
}

@media (max-width: 576px) {
    section {
        padding: 3rem 0;
    }
    
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 6rem 0;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 1rem;
        word-wrap: break-word;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin: 1rem 0;
    }
    
    .footer-content {
        flex-direction: column;
    }
    .hero-content-right {
        padding: 1rem 0.2rem;
        border-radius: 0.7rem;
    }
    .hero-content-right h1 {
        font-size: 1.3rem;
    }
    .hero-quote {
        font-size: 1rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
}

.why-egf-section {
    background: #f7fbff;
    border-radius: 1.5rem;
    margin: 2rem 0;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.why-egf-section h3 {
    color: #2a4d69;
    margin-top: 1.2rem;
    margin-bottom: 0.5rem;
}
.why-egf-section p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #333;
} 

.approach-rows {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2.5rem;
}

.approach-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 0;
}

.approach-text {
    flex: 1.2;
    font-size: 1.08rem;
    line-height: 1.7;
    color: #222;
    background: #f7fbff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    min-width: 260px;
    max-width: 480px;
    margin-right: 0;
}

.approach-row .card {
    flex: 1;
    min-width: 260px;
    max-width: 500px;
    margin: 0;
}

@media (max-width: 992px) {
    .approach-row {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .approach-text, .approach-row .card {
        max-width: 100%;
        min-width: 0;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .approach-text {
        padding: 1.2rem 0.7rem;
        font-size: 0.98rem;
    }
} 

@media (max-width: 992px) {
    .vision-flex {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .vision-image {
        max-width: 100%;
        min-width: 0;
    }
    .vision-image img {
        max-width: 100%;
    }
} 