/* About Page Styles */
:root {
    --primary: #0066cc;
    --primary-dark: #004d99;
    --secondary: #00a859;
    --accent: #ff6b35;
    --dark: #0B1B2B;
    --light: #f8fafc;
    --text: #2d3748;
    --text-light: #4a5568;
    --white: #ffffff;
}

/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.about-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
}

.btn-secondary {
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Hero Section */
.about-hero {
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.9) 0%, rgba(0, 168, 89, 0.8) 100%), 
                url('assets/images/lab-background.webp') center/cover no-repeat;
    color: var(--white);
    padding: 120px 0 100px;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat-item {
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 20px 30px;
    border-radius: 10px;
    min-width: 180px;
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Section Header Styles */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding: 6px 12px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50px;
}

.section-header h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--primary);
    z-index: 1;
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
    position: relative;
}

.timeline-year {
    width: 120px;
    height: 120px;
    background-color: var(--white);
    border: 5px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    z-index: 2;
}

.timeline-content {
    width: calc(50% - 80px);
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    position: relative;
}

.timeline-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.timeline-content p {
    color: var(--text-light);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    content: '';
    position: absolute;
    top: 40px;
    right: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 15px solid var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
    content: '';
    position: absolute;
    top: 40px;
    left: -15px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 15px solid var(--white);
}

/* Team Styles */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.member-photo {
    height: 300px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.member-title {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.member-bio {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.member-credentials {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.advisory-board {
    margin-top: 80px;
    text-align: center;
}

.advisory-board h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.advisory-board h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary);
}

.board-members {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.board-member {
    background-color: var(--white);
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.board-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.board-member h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
}

.board-member p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Facility Styles */
.facility-showcase {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 40px;
}

.facility-card {
    display: flex;
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.facility-image {
    flex: 1;
    min-height: 400px;
}

.facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.facility-details {
    flex: 1;
    padding: 40px;
}

.facility-details h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.facility-features {
    margin-bottom: 25px;
}

.facility-features li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    color: var(--text-light);
}

.facility-features i {
    color: var(--primary);
    margin-right: 10px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.facility-details p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Quality Assurance */
.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.quality-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.quality-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.quality-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 1.8rem;
}

.quality-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.quality-item ul {
    text-align: left;
    list-style-type: none;
}

.quality-item li {
    margin-bottom: 10px;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.quality-item li::before {
    content: '•';
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.certifications {
    margin-top: 80px;
    text-align: center;
}

.certifications h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.certification-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.certification-logos img {
    height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.certification-logos img:hover {
    opacity: 1;
}

/* Global Impact */
.impact-stats {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 40px;
}

.impact-map {
    flex: 1;
    position: relative;
}

.impact-map img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.map-marker {
    position: absolute;
    background-color: var(--primary);
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.impact-numbers {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.impact-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.impact-value {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.impact-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonials {
    margin-top: 80px;
}

.testimonials h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 40px;
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-snap-type: x mandatory;
}

.testimonial {
    min-width: 350px;
    scroll-snap-align: start;
}

.testimonial-content {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: serif;
    font-size: 5rem;
    color: rgba(0, 102, 204, 0.1);
    line-height: 1;
    z-index: 1;
}

.testimonial-content p {
    position: relative;
    z-index: 2;
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 20px;
}

.testimonial-author {
    position: relative;
    z-index: 2;
}

.testimonial-author strong {
    display: block;
    color: var(--dark);
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Future Vision */
.future-vision {
    background-color: var(--light);
    padding: 100px 0;
}

.vision-content {
    display: flex;
    gap: 50px;
    align-items: center;
}

.vision-text {
    flex: 1;
}

.vision-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 30px;
}

.vision-text p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.7;
}

.initiative {
    margin-bottom: 30px;
}

.initiative h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.initiative h4 i {
    margin-right: 10px;
    font-size: 1.1rem;
}

.initiative p {
    color: var(--text-light);
    padding-left: 30px;
}

.cta-box {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cta-box p {
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 500;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 10px 25px;
    border-radius: 6px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.vision-image {
    flex: 1;
    position: relative;
}

.vision-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.image-caption p {
    margin: 0;
    font-size: 0.9rem;
}

/* Footer Styles */
.site-footer {
    background-color: var(--dark);
    color: white;
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-about img {
    margin-bottom: 20px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    font-size: 1.2rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-links h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-links ul {
    list-style-type: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: white;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    padding-bottom: 30px;
}

.footer-legal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-legal p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 20px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.legal-links a:hover {
    color: white;
}

.footer-disclaimer {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 5px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin: 0;
}

.footer-disclaimer strong {
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .timeline::before {
        left: 60px;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-year {
        margin-bottom: 20px;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-item:nth-child(odd) .timeline-content::before,
    .timeline-item:nth-child(even) .timeline-content::before {
        top: -15px;
        left: 40px;
        border-left: 15px solid transparent;
        border-right: 15px solid transparent;
        border-bottom: 15px solid var(--white);
        border-top: none;
    }
    
    .impact-stats {
        flex-direction: column;
    }
    
    .vision-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .hero-stats {
        gap: 20px;
    }
    
    .stat-item {
        min-width: 140px;
        padding: 15px 20px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .facility-card {
        flex-direction: column;
    }
    
    .facility-image {
        min-height: 250px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-item {
        width: 100%;
        max-width: 250px;
    }
    
    .section-header h2 {
        font-size: 1.6rem;
    }
    
    .impact-numbers {
        grid-template-columns: 1fr;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .legal-links {
        flex-wrap: wrap;
        gap: 10px;
    }
}


/* Header logo */
.main-nav .logo img {
    width: 150px; /* Reduced from 180px */
    height: auto;
    transition: all 0.3s ease;
}

/* Footer logo */
.footer-about img {
    width: 150px; /* Reduced from 180px */
    height: auto;
    margin-bottom: 20px;
}

/* Optional: Add hover effect */
.main-nav .logo img:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 150px;
    height: auto;
    transition: all 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

/* Footer specific */
.footer-about .logo-img {
    margin-bottom: 20px;
}