/* Clean Modern Design for BioLogic Scientific */
:root {
    --primary: #0c1a32;
    --primary-dark: #050a14;
    --gold: #ffd700;
    --cyan: #00d2ff;
    --text: #1a1a1a;
    --text-muted: #71717a;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, 0.85);
    --font-sans: 'Inter', sans-serif;
    --font-serif: 'Playfair Display', serif;
    --radius: 1rem;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

h1,
h2,
h3 {
    font-family: var(--font-sans);
    font-weight: 800;
    color: var(--primary);
}

.section-padding {
    padding: 6rem 0;
}

.text-gold {
    color: var(--gold);
}

.text-cyan {
    color: var(--cyan);
}

.italic-font {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: 0.4s;
}

.main-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.btn-get-in-touch {
    background: #000;
    color: #fff;
    padding: 0.7rem 1.8rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 4px;
}

.btn-get-in-touch:hover {
    background: var(--primary);
}

/* Hero Slider */
.hero-slider {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-glass-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-glass-card h1 {
    font-size: 3.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1rem;
    color: #555;
    margin-bottom: 2.5rem;
}

.btn-discover {
    background: linear-gradient(90deg, var(--cyan), #3a7bd5);
    color: #fff;
    padding: 0.9rem 2.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    letter-spacing: 1.5px;
}

/* Authority Section */
.authority-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.img-wrapper {
    position: relative;
}

.img-wrapper img {
    width: 100%;
    border-radius: var(--radius);
}

.metrics-badge {
    position: absolute;
    bottom: -30px;
    right: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--glass);
    backdrop-filter: blur(10px);
}

.metric {
    text-align: center;
}

.m-num {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
}

.m-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
    white-space: nowrap;
}

.m-sep {
    width: 1px;
    height: 50px;
    background: rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.authority-text h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.desc-large {
    font-size: 1rem;
    font-weight: 500;
    color: #444;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.desc-small {
    font-size: 0.9rem;
    color: #888;
    line-height: 1.8;
}

/* Sectors Section */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.sector-card {
    height: 450px;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s;
}

.s-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: 0.6s;
}

.sector-card:hover .s-img {
    transform: scale(1.1);
}

.s-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(12, 26, 50, 0.9));
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.s-icon {
    font-size: 1.5rem;
    color: var(--cyan);
    margin-bottom: 1rem;
}

.s-content h3 {
    color: #fff;
    font-size: 1.25rem;
}

/* Allies Section */
.allies-section {
    background: #f9fafb;
    text-align: center;
}

.allies-title {
    color: var(--cyan);
    font-size: 0.8rem;
    letter-spacing: 2px;
    margin-bottom: 2rem;
}

.allies-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.ally-item {
    font-size: 1.1rem;
    font-weight: 800;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ally-item:hover {
    color: var(--primary);
}

/* Footer */
.site-footer {
    background: var(--primary);
    color: #fff;
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.f-logo {
    height: 45px;
    margin-bottom: 1.5rem;
}

.f-tag {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.f-socials {
    display: flex;
    gap: 1.5rem;
}

.f-socials a {
    color: #fff;
    font-size: 1.2rem;
}

.footer-grid h4 {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    letter-spacing: 1.5px;
}

.footer-grid ul li {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-grid ul li a:hover {
    color: var(--cyan);
}

.footer-grid ul li i {
    color: var(--cyan);
    width: 20px;
    text-align: center;
}

.map-box {
    height: 180px;
    width: 100%;
    background: var(--glass);
    color: var(--primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.map-box i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-low {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-low a {
    color: inherit;
    text-decoration: underline;
}

.f-legal a {
    margin-left: 2rem;
}

/* Back to Top */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--cyan);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: 0.4s;
    z-index: 999;
}

#back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive */
@media (max-width: 1024px) {
    .authority-grid {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
        color: var(--primary);
    }

    .hero-glass-card h1 {
        font-size: 2.5rem;
    }

    .sectors-grid {
        grid-template-columns: 1fr;
    }

    .footer-low {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.desktop-nav.active {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.desktop-nav.active .nav-links {
    flex-direction: column;
    gap: 1.5rem;
}