/* ============================================
   CSS VARIABLES — MLT Brand
   ============================================ */
:root {
    --pink:         #E91E63;
    --pink-dark:    #C2185B;
    --pink-light:   #FCE4EC;
    --green:        #B5D334;
    --green-dark:   #8FA827;
    --white:        #FFFFFF;
    --off-white:    #FFF8F9;
    --blush:        #FDECEF;
    --text-dark:    #333333;
    --text-med:     #555555;
    --text-light:   #888888;
    --border:       #F0D6DB;

    --font: 'Poppins', sans-serif;

    --radius:       14px;
    --radius-lg:    24px;
    --shadow-sm:    0 2px 10px rgba(233,30,99,0.08);
    --shadow-md:    0 6px 24px rgba(233,30,99,0.14);
    --shadow-lg:    0 12px 40px rgba(233,30,99,0.18);
    --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font);
    color: var(--text-dark);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Spam prevention */
.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

/* ============================================
   TYPOGRAPHY HELPERS
   ============================================ */
.section-eyebrow {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--pink);
    margin-bottom: 0.5rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.section-subtitle {
    text-align: center;
    color: var(--text-med);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 1rem auto 0;
}

.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0.75rem 0 1.25rem;
}

.divider-heart {
    color: var(--pink);
    font-size: 1.1rem;
    position: relative;
}

.divider-heart::before,
.divider-heart::after {
    content: '';
    display: inline-block;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pink-light));
    vertical-align: middle;
    margin: 0 0.75rem;
}

.divider-heart::after {
    background: linear-gradient(90deg, var(--pink-light), transparent);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--pink);
    color: white;
}

.btn-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-nav {
    background: var(--pink);
    color: white;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
}

.btn-nav:hover {
    background: var(--pink-dark);
    transform: translateY(-1px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(233, 30, 99, 0.12);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.9rem 5%;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-logo {
    height: 100px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    margin-left: auto;
}

.nav-link {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--pink);
    background: var(--pink-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--white) 0%, var(--blush) 60%, var(--pink-light) 100%);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 90px;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 5% 6rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.7s ease forwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; color: var(--text-dark); }
.title-line:nth-child(2) { animation-delay: 0.25s; color: var(--text-dark); }
.title-line:nth-child(3) { animation-delay: 0.4s; }

.title-line.highlight {
    color: var(--pink);
}

.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-med);
    margin-bottom: 2rem;
    max-width: 500px;
    line-height: 1.8;
    opacity: 0;
    animation: fadeInUp 0.7s ease 0.55s forwards;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.7s ease 0.7s forwards;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: 50px;
    padding: 0.45rem 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
}

.hero-badge i {
    color: var(--pink);
    font-size: 0.9rem;
}

.hero-image {
    position: relative;
    opacity: 0;
    animation: fadeIn 0.9s ease 0.5s forwards;
}

.hero-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    max-height: 520px;
}

.hero-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    border: 3px solid var(--green);
    z-index: -1;
    opacity: 0.5;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-section {
    padding: 80px 0 60px;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.service-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem 1.5rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--pink-light);
}

.service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.service-icon i {
    color: var(--pink);
    font-size: 1.3rem;
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.service-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--green-dark);
    line-height: 1;
}

.service-desc {
    font-size: 0.82rem;
    color: var(--text-med);
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pink);
    transition: var(--transition);
    margin-top: 0.25rem;
}

.service-link:hover {
    gap: 0.6rem;
    color: var(--pink-dark);
}

/* Lab Supply Banner */
.lab-supply-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 2rem;
    background: var(--blush);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    margin-top: 3rem;
}

.lab-supply-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.lab-supply-text h3 span {
    color: var(--pink);
}

.lab-supply-text ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.lab-supply-text li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-med);
}

.lab-supply-text li i {
    color: var(--green-dark);
    font-size: 0.8rem;
}

.lab-supply-image img {
    border-radius: var(--radius);
    object-fit: cover;
    height: 200px;
    width: 100%;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   CTA STRIP
   ============================================ */
.cta-strip {
    background: var(--blush);
    padding: 50px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.cta-grid {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: space-between;
}

.cta-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    flex: 1;
    min-width: 220px;
}

.cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cta-icon i {
    color: var(--pink);
    font-size: 1.1rem;
}

.cta-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 0.2rem;
}

.cta-item p {
    font-size: 0.88rem;
    color: var(--text-med);
    margin: 0;
}

.cta-divider {
    width: 1px;
    height: 70px;
    background: var(--border);
    flex-shrink: 0;
}

.cta-contact-info {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
}

.cta-contact-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.cta-contact-row i {
    color: var(--pink);
    width: 16px;
    text-align: center;
}

.cta-contact-row a {
    color: var(--text-dark);
    transition: var(--transition);
}

.cta-contact-row a:hover {
    color: var(--pink);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.about-text p {
    color: var(--text-med);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-credentials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin: 1.75rem 0;
}

.credential {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--pink-light);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.credential i {
    color: var(--pink);
    font-size: 0.9rem;
}

.payment-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    background: var(--off-white);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    font-size: 0.88rem;
    color: var(--text-med);
    border: 1px solid var(--border);
}

.payment-row strong {
    color: var(--text-dark);
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    width: 100%;
    object-fit: cover;
    max-height: 460px;
}

.about-image-badge {
    position: absolute;
    bottom: -1.25rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--pink);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
    background: var(--blush);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    border: 1.5px solid var(--border);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--pink-light);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.faq-item h4 i {
    color: var(--pink);
    font-size: 1rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-med);
    line-height: 1.7;
    margin: 0;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: start;
}

.contact-info {
    background: var(--blush);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1.5px solid var(--border);
}

.contact-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-item > i {
    color: var(--pink);
    font-size: 1rem;
    margin-top: 0.2rem;
    width: 18px;
    text-align: center;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light);
    margin-bottom: 0.2rem;
}

.contact-item a,
.contact-item span {
    font-size: 0.92rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--pink);
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-form-container h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--pink);
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: var(--font);
    font-size: 0.92rem;
    color: var(--text-dark);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px var(--pink-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

/* Form messages (from script.js) */
.form-message {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.form-message.success {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.form-message.error {
    background: var(--pink-light);
    color: var(--pink-dark);
    border: 1px solid var(--border);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--blush);
    border-top: 1.5px solid var(--border);
    padding: 3rem 0 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-logo {
    height: 64px;
    width: auto;
}

.footer-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--pink);
    margin: 0;
}

.footer-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--green-dark);
    margin: 0;
}

.footer-sub {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
}

.footer-center {
    text-align: center;
    flex: 1;
}

.footer-center p {
    font-size: 0.88rem;
    color: var(--text-med);
    line-height: 1.7;
    margin: 0;
}

.footer-heart {
    color: var(--pink-light);
    font-size: 2.5rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.25rem 0;
}

.footer-motto {
    color: var(--pink);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.3rem;
}

.footer-bottom p {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Intersection observer classes (from script.js) */
.fade-in-element {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-element.fade-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
/* Mid-size: nav links stay visible but tighten up */
@media (max-width: 1024px) {
    .nav-logo {
        height: 72px;
    }

    .btn-nav {
        display: none;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem;
    }
}   
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 70%;
        max-width: 280px;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: var(--shadow-lg);
        transition: right var(--transition);
        gap: 1rem;
        overflow-y: auto;
    }
    
    .nav-link:hover {
        background: none;
        color: var(--pink);
}

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 0.73rem 1rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid var(--border);
    }

    .nav-toggle {
        display: flex;
    }

    .btn-nav {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    .hero-image {
        max-width: 480px;
        margin: 0 auto;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image-wrap {
        order: -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .lab-supply-banner {
        grid-template-columns: 1fr;
    }

    .cta-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-divider {
        width: 100%;
        height: 1px;
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-badges {
        flex-direction: column;
        gap: 0.6rem;
    }

    .about-credentials {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-heart {
        display: none;
    }
}

@media (max-width: 420px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
