/* Atlas Med Supply - Global Styles */

:root {
    /* Color Palette: Sterile, Clinical, Muted Blues */
    --primary-blue: #003366;
    /* Deep Navy Blue for text/headings */
    --secondary-blue: #4a90e2;
    /* Bright but professional blue for accents */
    --muted-blue: #e0e6ed;
    /* Very light gray-blue for backgrounds */
    --sterile-white: #ffffff;
    --text-dark: #1a1a1a;
    --text-gray: #555555;
    --border-color: #d1d9e6;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    /* Spacing */
    --container-width: 1200px;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--sterile-white);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--primary-blue);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-blue);
    color: white;
    font-weight: 600;
    border-radius: 4px;
    border: 1px solid var(--primary-blue);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: white;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Increased Logo Size (40% larger) */
.logo img {
    height: 90px;
    max-height: 90px;
    /* Increased from 100px */
    width: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
}

/* Scroller: Color & Spacing */
.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 5rem;
    /* Increased gap for even spacing */
    justify-content: space-around;
    /* Help distribute */
}

.brand-logo {
    max-width: 160px;
    /* Slightly larger container */
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed filter: grayscale */
    opacity: 1;
    /* Full visibility */
    transition: all 0.3s ease;
    padding: 0 15px;
}

.brand-logo:hover {
    transform: scale(1.1);
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: var(--primary-blue);
}

nav a:hover {
    color: var(--secondary-blue);
}

/* Card Utility for Contact Page */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    /* Updated: Bright Blue Outline */
    border: 2px solid var(--primary-blue);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 6rem 0;
    background-color: var(--muted-blue);
    /* Updated Hero Image */
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero::before {
    content: "";
    /* Overlay to ensure text readability */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Lighter fade for the lab image */
}

.hero .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Value Props */
.value-props-blue {
    padding: 4rem 0;
    background: var(--primary-blue);
}
.value-props {
    padding: 4rem 0;
    background: white;
}

.props-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.prop-card {
    padding: 2rem;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    background: var(--muted-blue);
    color: var(--text-dark);
    text-align: center;
    transition: transform 0.3s ease;
}

.prop-card:hover {
    /* Removed hover movement effect */
}

.prop-card h3 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.prop-card p {
    color: var(--text-dark);
    /* Ensure readable on light bg */
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* Testimonial text inside prop-cards (override brand-strip white) */
.prop-card .testimonial-quote {
    color: var(--text-dark);
    margin-bottom: 1rem;
}
.prop-card .testimonial-author {
    color: var(--primary-blue) !important;
    margin-bottom: 0;
}

/* Product page: cards with background images (products only) */
.product-card {
    position: relative;
    padding: 2rem;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-dark);
    text-align: center;
    transition: transform 0.3s ease;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.product-card h3 {
    position: relative;
    z-index: 1;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    margin-bottom: 0;
}

.product-card--gloves { background-image: url('../assets/images/gloves.jpg'); }
.product-card--masks { background-image: url('../assets/images/categories_gloves_mask_gown.png'); }
.product-card--gowns { background-image: url('../assets/images/hero_sterile_supplies_gown.jpg'); }
.product-card--syringes { background-image: url('../assets/images/hero_sterile_supplies_syringes_needles.jpg'); }
.product-card--woundcare { background-image: url('../assets/images/hero_sterile_supplies_woundcare.jpg'); }
.product-card--infection { background-image: url('../assets/images/hero_product_sterile_supplies_Infection_Control.jpg'); }
.product-card--lab { background-image: url('../assets/images/hero_product_lab_Consumables.png'); }
.product-card--patientcare { background-image: url('../assets/images/blood_pressure__640.jpg'); }

.who-we-serve-content {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    color: black;
}

.section {
    padding: 3rem 0;
}

.bg-light {
    background-color: #f9fafc;
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* About page: centered layout without images */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.about-content .list-check {
    list-style: none;
    display: inline-block;
    text-align: left;
    padding-left: 0;
}
.about-content .list-check li {
    padding-left: 1.5rem;
}

.list-no-check li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: black;
    /* Ensure black text */
}

.list-check li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: black;
    /* Ensure black text */
}

.list-check li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* CTA Banner */
.cta-banner {
    background-color: var(--muted-blue);
    color: var(--primary-blue);
    padding: 4rem 0;
    text-align: center;
}

.cta-banner h2 {
    color: var(--primary-blue);
}

.cta-banner p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-banner .btn {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
}

.cta-banner .btn:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
}

/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 4rem 0 2rem;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-company-info {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

footer h4 {
    color: white;
    margin-bottom: 1rem;
}

footer p {
    color: white;
}

footer a {
    color: white;
}

footer ul li {
    margin-bottom: 0.5rem;
    color: white;
}

footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footer-logos {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-logos img {
    height: 50px;
    opacity: 0.9;
}

.footer-logo {
    height: 100px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.footer-address {
    flex: 1;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    font-size: 0.9rem;
    color: white;
}

/* Dark Blue Text Strip */
.brand-strip {
    background-color: var(--primary-blue);
    color: white;
    padding: 3rem 0;
    margin: 0;
    text-align: center;
}

.brand-strip .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    align-items: start;
}

.brand-strip h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 1rem;
    display: inline-block;
}

.brand-strip p {
    color: #e0e6ed;
    margin: 0 auto;
    max-width: 90%;
    font-size: 1rem;
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.1rem;
    margin-bottom: 1rem !important;
    color: white;
}

.testimonial-author {
    font-weight: bold;
    color: white !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Dark Blue Text Strip */
.brand-strip {
    background-color: var(--primary-blue);
    color: white;
    padding: 1.5rem 0;
    margin: 2rem 0;
    text-align: center;
}

.brand-strip h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.brand-strip p {
    color: #e0e6ed;
    margin: 0;
    max-width: 800px;
    margin-inline: auto;
}

/* Logo Scroller (Products Page) */
.scroller {
    max-width: 100%;
    margin: 2rem auto;
    overflow: hidden;
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.scroller__inner {
    padding-block: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

/* Animation trigger */
.scroller[data-animated="true"] .scroller__inner {
    width: max-content;
    flex-wrap: nowrap;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 1.5rem));
    }
}

.brand-logo {
    max-width: 140px;
    height: 80px;
    /* specific styling for container */
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
    padding: 0 10px;
}

.brand-logo img {
    height: auto;
    max-height: 100%;
    object-fit: contain;
}

.brand-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}