/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #ffffff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Color Variables */
:root {
    --teal: #4DB8B3;
    --dark-gray: #2C3E50;
    --light-gray: #E8E8E8;
    --white: #ffffff;
    --accent-teal: #3A9B96;
    --text-gray: #4A4A4A;
}

/* Header/Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--white);
    overflow: hidden;
    margin-top: 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.accent-top-left {
    position: absolute;
    top: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--dark-gray) 70%, var(--teal) 70%, var(--teal) 100%);
    transform: translate(-50px, -50px) rotate(45deg);
}

.accent-top-left::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100px;
    background: var(--teal);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.accent-bottom-right {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--dark-gray) 70%, var(--teal) 70%, var(--teal) 100%);
    transform: translate(50px, 50px) rotate(45deg);
}

.accent-bottom-right::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 100px;
    background: var(--teal);
    transform: translate(-50%, -50%) rotate(-45deg);
}

.logo-section {
    text-align: center;
    z-index: 2;
    position: relative;
}

/* Logo Styles */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 15px;
}

.medical-cross {
    position: relative;
    width: 40px;
    height: 40px;
}

.cross-vertical {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 30px;
    background: var(--teal);
    transform: translate(-50%, -50%);
}

.cross-horizontal {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 4px;
    background: var(--teal);
    transform: translate(-50%, -50%);
}

.circuit-connection {
    display: flex;
    align-items: center;
    gap: 5px;
}

.circuit-dot {
    width: 8px;
    height: 8px;
    background: var(--teal);
    border-radius: 50%;
}

.circuit-line {
    width: 15px;
    height: 2px;
    background: var(--teal);
}

.microscope {
    position: relative;
    width: 30px;
    height: 30px;
}

.microscope-base {
    width: 20px;
    height: 15px;
    background: var(--dark-gray);
    border-radius: 0 0 10px 10px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.microscope-tube {
    width: 3px;
    height: 20px;
    background: var(--dark-gray);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.microscope-lens {
    width: 8px;
    height: 8px;
    background: var(--dark-gray);
    border-radius: 50%;
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
}

.company-name {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -1px;
}

.medx {
    color: var(--teal);
}

.lab {
    color: var(--dark-gray);
}

.tagline {
    font-size: 1.2rem;
    color: var(--text-gray);
    font-weight: 400;
    margin-bottom: 15px;
}

.website {
    font-size: 1.1rem;
    color: var(--text-gray);
    font-weight: 400;
}

/* Navigation */
.navigation {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    width: 100%;
    height: 80px;
}

.navigation .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    gap: 40px;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 10px 15px;
    display: block;
}

.nav-links a:hover {
    color: var(--teal);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Mobile menu toggle - Hidden by default */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-gray);
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 101;
}

.mobile-menu-toggle:hover {
    color: var(--teal);
}

/* Section Styles */
section {
    padding: 50px 0;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--teal);
}

/* About Section */
.about {
    background: var(--light-gray);
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.text-content p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-gray);
}

.image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
}

.lab-equipment {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.equipment-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.lab-equipment p {
    font-weight: 600;
    color: var(--dark-gray);
}

/* Services Section */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--teal);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Mission Section */
.mission {
    background: var(--light-gray);
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.mission-card, .vision-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.mission-card h2, .vision-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
}

.mission-card h2::after, .vision-card h2::after {
    display: none;
}

.mission-card p, .vision-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
}

.mission-card {
    border-top: 4px solid var(--teal);
}

.vision-card {
    border-top: 4px solid var(--dark-gray);
}

/* Contact Section */
.contact {
    background: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 2rem;
    margin-top: 5px;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.contact-details p {
    color: var(--text-gray);
    line-height: 1.6;
}

.social-media {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.social-media h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: inline-block;
    padding: 12px 20px;
    background: var(--white);
    color: var(--dark-gray);
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background: var(--teal);
    color: var(--white);
    transform: translateX(5px);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    padding: 2px 10px;
    border: 1px solid;
    background: white;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-copyright p {
    color: var(--light-gray);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .company-name {
        font-size: 2.5rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 50px 0;
        gap: 30px;
        transition: left 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 99;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 30px;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-links a:last-child {
        border-bottom: none;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .company-name {
        font-size: 2rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .website {
        font-size: 1rem;
    }
    
    .service-card, .mission-card, .vision-card {
        padding: 30px 20px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}
