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

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --dark-blue: #0f172a;
    --dark-gray: #1f2937;
    --medium-gray: #6b7280;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --accent-green: #059669;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--dark-gray);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header and Navigation */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.logo {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
    position: relative;
}

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

.nav-menu a:hover {
    color: var(--secondary-blue);
}

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

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: var(--white);
    padding: 160px 0 140px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pharma-warehouse.jpg') center/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 28px;
    letter-spacing: -1.2px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero .subheadline {
    font-size: 22px;
    line-height: 1.65;
    max-width: 820px;
    margin: 0 auto 24px;
    opacity: 0.95;
    font-weight: 400;
}

.hero .support-text {
    font-size: 19px;
    max-width: 750px;
    margin: 0 auto 48px;
    opacity: 0.9;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

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

.section-gray {
    background: var(--light-gray);
}

/* Image Layouts */
.intro-with-image {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.intro-image {
    display: flex;
    align-items: center;
}

.intro-image img,
.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-image img:hover,
.about-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.about-with-image {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    display: flex;
    align-items: center;
}

.section-title {
    font-size: 48px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 21px;
    text-align: center;
    color: var(--medium-gray);
    max-width: 750px;
    margin: 0 auto 70px;
    line-height: 1.65;
    font-weight: 400;
}

.content-block {
    max-width: 900px;
    margin: 0 auto;
    font-size: 19px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.content-block p {
    margin-bottom: 28px;
}

.content-block h2 {
    font-size: 36px;
    font-weight: 700;
    margin: 56px 0 28px;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
}

.content-block h3 {
    font-size: 26px;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--dark-gray);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
    margin-top: 56px;
}

.card {
    background: var(--white);
    padding: 48px 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.2);
}

.card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--primary-blue);
    letter-spacing: -0.3px;
}

.card p {
    color: var(--medium-gray);
    line-height: 1.75;
    font-size: 16px;
}

/* Values/Standards Strip */
.values-strip {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.values-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/supply-chain.jpg') center/cover no-repeat;
    opacity: 0.08;
}

.values-strip .container {
    position: relative;
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 48px;
    text-align: center;
}

.value-item {
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-item h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.2px;
}

.value-item p {
    font-size: 15px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Contact Section */
.contact-info {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.contact-info p {
    font-size: 19px;
    margin: 20px 0;
    line-height: 1.7;
}

.contact-info a {
    color: var(--secondary-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

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

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 48px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-section h4 {
    font-size: 17px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin: 10px 0;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 10px 0;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 48px;
    }

    .section-title {
        font-size: 42px;
    }

    .intro-with-image,
    .about-with-image {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .nav {
        padding: 20px 0;
        flex-wrap: wrap;
        gap: 16px;
    }

    .logo-image {
        height: 32px;
    }

    .nav-menu {
        gap: 20px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .hero h1 {
        font-size: 36px;
        letter-spacing: -0.8px;
    }

    .hero .subheadline {
        font-size: 18px;
    }

    .hero .support-text {
        font-size: 16px;
    }

    .section {
        padding: 70px 0;
    }

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 17px;
        margin-bottom: 40px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card {
        padding: 32px 28px;
    }

    .intro-with-image,
    .about-with-image {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .intro-image {
        order: -1;
    }

    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .values-strip {
        padding: 60px 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
        padding: 15px 32px;
    }

    .content-block {
        font-size: 17px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        font-size: 12px;
        gap: 16px;
    }

    .hero {
        padding: 80px 0 60px;
    }

    .hero h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero .subheadline {
        font-size: 16px;
    }

    .hero .support-text {
        font-size: 15px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .card h3 {
        font-size: 20px;
    }

    .card {
        padding: 28px 24px;
    }

    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-content {
        gap: 36px;
    }

    .content-block {
        font-size: 16px;
    }
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .container > * {
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    animation-delay: 0.1s;
}

.hero .subheadline {
    animation-delay: 0.2s;
}

.hero .support-text {
    animation-delay: 0.3s;
}

.hero .cta-buttons {
    animation-delay: 0.4s;
}
