:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #e67e22;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --card-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-bg);
}

.container {
    max-width: 1400px;
    /* Increased max-width for better desktop spacing */
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: transparent;
    padding: 20px 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 100;
    box-shadow: none;
}

.main-logo {
    height: 280px;
    /* Massive size for desktop */
    width: auto;
    display: block;
    margin: 0 auto;
    mix-blend-mode: multiply;
    transition: all 0.3s ease;
}

.logo-link {
    text-decoration: none;
    display: block;
}

/* Mobile Logo Styles */
@media (max-width: 768px) {
    .site-header {
        padding: 10px 0;
    }

    .main-logo {
        height: 80px;
        /* Smaller on mobile */
        margin: 0;
        /* Remove auto margin */
        position: relative;
        /* Keep relative but align left via container or flex */
        left: 0;
        top: 0;
    }

    .site-header .container {
        display: flex;
        justify-content: flex-start;
        /* Align left */
    }
}

/* Hero Section */
.hero {
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-image: url('images/hero_bg_pharma.png');
    /* New background */
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
    width: 100%;
    padding-top: 150px;
    /* Push content down to clear desktop logo */
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .hero .container {
        padding-top: 100px;
        /* Less padding on mobile */
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    width: 100%;
    height: 100%;
}

@media (min-width: 768px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
        /* Give more space to the left group */
        gap: 40px;
        align-items: stretch;
        /* Stretch to fill height */
    }
}

.hero-group {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

@media (max-width: 768px) {
    .hero-group {
        flex-direction: column;
    }
}

.hero-card {
    background-color: var(--white);
    border-radius: 20px;
    text-decoration: none;
    color: var(--white);
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    min-height: 400px;
    /* Significantly increased height for desktop */
    border: none;
    position: relative;
    overflow: hidden;
    height: 100%;
    /* Fill available height */
    padding: 40px;
}

@media (max-width: 768px) {
    .hero-card {
        min-height: 250px;
        /* Smaller on mobile */
        padding: 25px;
    }
}

.hero-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;
}

.hero-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
    z-index: 2;
    transition: background 0.3s ease;
}

.hero-card .card-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.hero-card:hover .card-bg {
    transform: scale(1.05);
}

.hero-card:hover .card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
}

.card-logo {
    max-width: 220px;
    /* Larger logos inside cards */
    height: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
    drop-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-card p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    font-weight: 400;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about p {
    max-width: 800px;
    margin: 0 auto 20px;
    font-size: 1.1rem;
    color: #555;
}

/* Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #ecf0f1;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #bdc3c7;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.designer-credit a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}