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

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    overflow-x: hidden;
    background: #f5f7fa;
}

/* Navigation Bar */
.navbar {
    background: linear-gradient(135deg, #34495e, #5d8aa8);
    padding: 15px 0;
    transition: background 0.3s;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff !important;
}

.nav-link {
    color: #fff !important;
    font-weight: 400;
    margin-left: 20px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #a9cce3 !important;
}

.dropdown-menu {
    background: #5d8aa8;
    border: none;
}

.dropdown-item {
    color: #fff;
    font-size: 0.95rem;
    transition: background 0.3s;
}

.dropdown-item:hover {
    background: #34495e;
    color: #a9cce3;
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #fff;
}

.hero-content h1 {
    font-size: 4.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    color: #85c1e9;
}

.advert-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-width: 500px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.advert-card h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #16a085;
}

.advert-card p {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #ecf0f1;
}

.advert-card .small-text {
    font-size: 0.9rem;
    color: #bdc3c7;
}

.advert-card .btn {
    margin-top: 20px;
    padding: 12px 30px;
    font-size: 1.1rem;
    font-weight: 500;
    background: #e67e22;
    border: none;
    border-radius: 25px;
    transition: transform 0.3s, background 0.3s;
}

.advert-card .btn:hover {
    background: #d35400;
    transform: scale(1.05);
}

/* Mission, Vision, About Section */
.mission-vision {
    padding: 80px 0;
    background: #fff;
}

.vision-card {
    background: #f9fbfd;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vision-card:hover {
    transform: translateY(-10px);
}

.vision-card h3 {
    font-size: 1.5rem;
    color: #2980b9;
    margin-bottom: 15px;
}

.vision-card p {
    font-size: 1rem;
    color: #7f8c8d;
    line-height: 1.6;
    text-align: center;
}

/* Company Profile Section */
.company-profile-section {
    padding-top: 80px; /* Space for fixed navbar */
    height: 100vh;
    background: linear-gradient(135deg, #ecf0f1, #bdc3c7); /* Soft gradient */
    text-align: center;
    overflow: hidden;
}

.profile-header {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.profile-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2980b9;
    margin-bottom: 10px;
}

.profile-header p {
    font-size: 1.2rem;
    color: #7f8c8d;
}

.pdf-container {
    width: 100%;
    height: calc(100vh - 200px); /* Full height minus header and navbar */
    display: flex;
    justify-content: center;
    align-items: center;
}

.pdf-viewer {
    width: 100%;
    height: 100%;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* Products Section (Grid View) */
.products-section {
    padding-top: 80px; /* Space for fixed navbar */
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa, #dfe4ea);
    text-align: center;
}

.products-header {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.products-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2980b9;
}

.product-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.product-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.product-card h3 {
    font-size: 1.3rem;
    color: #16a085;
    margin: 0;
}

/* Disposables Section (Grid View) */
.disposables-section {
    padding-top: 80px; /* Space for fixed navbar */
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa, #dfe4ea);
    text-align: center;
}

.disposables-header {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.disposables-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2980b9;
}

.disposable-card {
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 30px;
    text-decoration: none;
    color: inherit;
    display: block;
}

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

.disposable-img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
}

.disposable-card h3 {
    font-size: 1.3rem;
    color: #16a085;
    margin: 0;
}

/* Product Details Section */
.product-details-section {
    padding-top: 100px; /* Space for fixed navbar */
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa, #dfe4ea);
    padding-bottom: 40px;
}

.product-detail-img {
    width: 100%;
    max-width: 400px; /* Larger than grid view (200px) */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.product-details-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2980b9;
    margin-bottom: 20px;
}

.product-details-section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #16a085;
    margin-bottom: 15px;
}

.description-list {
    font-size: 1.1rem;
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 30px;
    padding-left: 20px;
}

.description-list li {
    margin-bottom: 10px;
}

.product-details-section .btn {
    background: #e67e22;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: background 0.3s;
}

.product-details-section .btn:hover {
    background: #d35400;
}

/* Disposable Details Section */
.disposable-details-section {
    padding-top: 100px; /* Space for fixed navbar */
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa, #dfe4ea);
    padding-bottom: 40px;
}

.disposable-detail-img {
    width: 100%;
    max-width: 400px; /* Larger than grid view (200px) */
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.disposable-details-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #2980b9;
    margin-bottom: 20px;
}

.disposable-details-section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #16a085;
    margin-bottom: 15px;
}

.disposable-details-section .btn {
    background: #e67e22;
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 25px;
    transition: background 0.3s;
}

.disposable-details-section .btn:hover {
    background: #d35400;
}

/* Modal Styling */
.modal-content {
    border-radius: 10px;
}

.note-text {
    font-size: 0.9rem;
    color: #7f8c8d;
    margin-top: 20px;
}

.note-text a {
    color: #2980b9;
    text-decoration: none;
}

.note-text a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    .advert-card {
        padding: 20px;
    }

    .advert-card h2 {
        font-size: 1.8rem;
    }

    .vision-card {
        margin: 20px 0;
        min-height: auto;
    }

    .profile-header h1 {
        font-size: 2rem;
    }

    .profile-header p {
        font-size: 1rem;
    }

    .products-header h1,
    .disposables-header h1 {
        font-size: 2rem;
    }

    .product-card h3,
    .disposable-card h3 {
        font-size: 1.1rem;
    }

    .product-img,
    .disposable-img {
        max-width: 150px;
    }

    .product-details-section h1,
    .disposable-details-section h1 {
        font-size: 2rem;
    }

    .product-details-section h2,
    .disposable-details-section h2 {
        font-size: 1.5rem;
    }

    .description-list {
        font-size: 1rem;
    }

    .product-detail-img,
    .disposable-detail-img {
        max-width: 300px;
    }
}

/* Integrated MHC Portal access */
:root {
    --mhc-nav-height: 78px;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    min-width: 0;
}

img, video, iframe, embed, object {
    max-width: 100%;
}

.container {
    width: min(100% - 28px, 1180px);
    margin-inline: auto;
}

.navbar .container {
    width: min(100% - 24px, 1200px);
}

.navbar-brand {
    font-size: clamp(1.2rem, 2.1vw, 1.8rem);
    white-space: nowrap;
}

.hero-section {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
    padding: calc(var(--mhc-nav-height) + 34px) 18px 52px;
}

.hero-content {
    width: min(100%, 980px);
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-content h1 {
    font-size: clamp(2.15rem, 6vw, 4.7rem);
    line-height: 1.05;
    margin-bottom: clamp(18px, 3vw, 30px);
}

.advert-card {
    width: min(100%, 540px);
    padding: clamp(20px, 3vw, 32px);
}

.advert-card h2 {
    font-size: clamp(1.75rem, 4vw, 2.55rem);
}

.advert-card p {
    font-size: clamp(.95rem, 2vw, 1.2rem);
}

.portal-access-card {
    margin: clamp(20px, 3vw, 30px) auto 0;
    width: min(100%, 900px);
    max-width: 900px;
    padding: clamp(24px, 3.2vw, 36px);
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(250px, .75fr);
    align-items: center;
    gap: clamp(22px, 4vw, 42px);
    text-align: left;
    background: linear-gradient(135deg, rgba(9, 29, 47, .88), rgba(17, 72, 99, .76));
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 24px;
    box-shadow: 0 24px 65px rgba(0,0,0,.36);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.portal-kicker {
    display: block;
    font-size: clamp(.7rem, 1.1vw, .82rem);
    font-weight: 600;
    letter-spacing: .18em;
    color: #82d9ff;
    margin-bottom: 8px;
}

.portal-access-copy h3 {
    margin: 0;
    color: #fff;
    font-size: clamp(1.25rem, 2.5vw, 1.72rem);
    line-height: 1.28;
    font-weight: 600;
}

.portal-access-copy p {
    margin: 10px 0 0;
    color: #d8e8f2;
    font-size: clamp(.86rem, 1.5vw, 1rem);
    line-height: 1.6;
}

.portal-access-actions {
    display: flex;
    flex-direction: column;
    gap: 11px;
    width: 100%;
}

.portal-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 14px;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.portal-btn:hover {
    transform: translateY(-2px);
}

.portal-btn-primary {
    background: linear-gradient(135deg, #1689d8, #0f6eb4);
    color: #fff;
    box-shadow: 0 10px 24px rgba(22,137,216,.26);
}

.portal-btn-primary:hover {
    background: linear-gradient(135deg, #1a95e8, #0d63a4);
    color: #fff;
}

.portal-btn-secondary {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.30);
}

.portal-btn-secondary:hover {
    background: rgba(255,255,255,.20);
    color: #fff;
}

.portal-admin-note {
    display: block;
    color: #b9cedc;
    font-size: .72rem;
    line-height: 1.45;
    text-align: center;
    padding: 0 8px;
}

.portal-nav-item .dropdown-divider {
    border-color: rgba(255,255,255,.18);
}

/* Keep content fluid on every public page */
.products-section .row,
.disposables-section .row,
.product-details-section .row,
.disposable-details-section .row,
.mission-vision .row {
    --bs-gutter-x: clamp(1rem, 3vw, 1.8rem);
}

.product-img,
.disposable-img,
.product-detail-img,
.disposable-detail-img {
    max-height: 52vh;
    object-fit: contain;
}

.pdf-container {
    min-height: 420px;
}

@media (max-width: 991.98px) {
    :root { --mhc-nav-height: 72px; }

    .navbar {
        padding: 12px 0;
    }

    .navbar-collapse {
        margin-top: 12px;
        padding: 12px 14px 16px;
        background: rgba(42, 68, 88, .98);
        border-radius: 14px;
        max-height: calc(100svh - 90px);
        overflow-y: auto;
        box-shadow: 0 14px 32px rgba(0,0,0,.22);
    }

    .nav-link {
        margin-left: 0;
        padding: 10px 8px !important;
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        width: 100%;
        margin: 4px 0 8px;
        box-shadow: none;
    }

    .portal-access-card {
        grid-template-columns: 1fr;
        max-width: 760px;
        text-align: center;
    }

    .portal-access-actions {
        max-width: 440px;
        margin-inline: auto;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: 100svh;
        padding: calc(var(--mhc-nav-height) + 24px) 12px 34px;
    }

    .hero-content h1 {
        letter-spacing: .5px;
    }

    .advert-card {
        border-radius: 18px;
    }

    .advert-card .btn {
        width: 100%;
        max-width: 330px;
        padding: 11px 18px;
    }

    .portal-access-card {
        width: min(100%, 620px);
        padding: 22px 18px;
        border-radius: 20px;
    }

    .mission-vision {
        padding: 52px 0;
    }

    .products-header,
    .disposables-header,
    .profile-header {
        padding: 28px 14px;
    }

    .products-header h1,
    .disposables-header h1,
    .profile-header h1,
    .product-details-section h1,
    .disposable-details-section h1 {
        font-size: clamp(1.65rem, 8vw, 2.1rem);
    }

    .product-card,
    .disposable-card {
        height: 100%;
    }

    .product-detail-img,
    .disposable-detail-img {
        width: min(100%, 420px);
        max-width: 100%;
    }

    .company-profile-section {
        height: auto;
        min-height: 100svh;
        overflow: visible;
    }

    .pdf-container {
        height: 72svh;
        min-height: 500px;
    }
}

@media (max-width: 480px) {
    .container,
    .navbar .container {
        width: min(100% - 20px, 1180px);
    }

    .navbar-brand {
        max-width: calc(100vw - 90px);
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .portal-access-card {
        padding: 20px 15px;
    }

    .portal-btn {
        min-height: 44px;
        font-size: .84rem;
    }
}

@media (min-width: 1400px) {
    .hero-content {
        width: min(100%, 1080px);
    }

    .portal-access-card {
        max-width: 960px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* Final portal menu privacy / progressive reveal */
.portal-dropdown-menu { min-width: 235px; }
.portal-more-toggle { font-weight: 600; color: #5d6d7e !important; }
.portal-more-toggle:hover, .portal-more-toggle:focus { color: #0d6efd !important; }
.portal-admin-reveal[hidden] { display: none !important; }
.portal-admin-link { margin-top: 3px; font-weight: 600; }
@media (max-width: 991.98px) {
  .portal-dropdown-menu { min-width: 100%; }
}

/* Production contact strip */
.mhc-contact-strip{background:#0f2435;color:#fff;padding:18px 0;border-top:1px solid rgba(255,255,255,.1)}
.mhc-contact-strip .container{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.mhc-contact-strip .container>div{display:flex;flex-direction:column;gap:3px;padding:10px 14px;border-left:2px solid rgba(55,190,164,.55)}
.mhc-contact-strip span{font-size:.72rem;text-transform:uppercase;letter-spacing:.12em;color:#8fb6c8}.mhc-contact-strip a{color:#fff;text-decoration:none;font-size:.9rem;word-break:break-word}
.hero-content{width:min(980px,92vw);padding-top:78px}.hero-content h1{margin-bottom:22px}.portal-access-card{margin-top:0!important}
@media(max-width:900px){.mhc-contact-strip .container{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.mhc-contact-strip .container{grid-template-columns:1fr}.mhc-contact-strip{padding:10px 0}.hero-content{padding-top:90px}}


/* MHC FINAL LIVE lightweight hero - replaces 2.3MB video with ~50KB optimized image */
.hero-section.hero-static {
    isolation: isolate;
    background: #081827;
}
.hero-image {
    position: absolute;
    inset: 0;
    z-index: -4;
    background-image:
        linear-gradient(112deg, rgba(4,17,29,.18), rgba(4,17,29,.08)),
        url('../assets/images/services/mhc-hero.webp');
    background-size: cover;
    background-position: center center;
    transform: scale(1.015);
}
.hero-section.hero-static::before,
.hero-section.hero-static::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    pointer-events: none;
    z-index: -2;
}
.hero-section.hero-static::before {
    width: min(44vw, 640px);
    height: min(44vw, 640px);
    left: -12vw;
    bottom: -25%;
    background: radial-gradient(circle, rgba(20,184,166,.24), rgba(20,184,166,0) 68%);
}
.hero-section.hero-static::after {
    width: min(38vw, 560px);
    height: min(38vw, 560px);
    right: -8vw;
    top: 6%;
    background: radial-gradient(circle, rgba(65,153,225,.24), rgba(65,153,225,0) 70%);
}
.hero-static .hero-overlay {
    background:
      linear-gradient(180deg, rgba(3,13,24,.42) 0%, rgba(4,20,34,.64) 56%, rgba(4,18,31,.83) 100%),
      linear-gradient(90deg, rgba(3,19,34,.70), rgba(4,26,44,.28) 58%, rgba(3,18,30,.52));
    z-index: -3;
}
.hero-tech-grid {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: .13;
    background-image:
        linear-gradient(rgba(132,209,239,.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(132,209,239,.28) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 72%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 24%, black 72%, transparent 100%);
}
.hero-static .hero-content h1 {
    color: #e8f7ff;
    text-shadow: 0 8px 28px rgba(0,0,0,.54);
}
@media (max-width: 767px) {
    .hero-image { background-position: 58% center; }
    .hero-tech-grid { background-size: 38px 38px; opacity: .10; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-image { transform: none; }
}
