/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* BODY */
body {
    font-family: "Segoe UI", Arial, sans-serif;
    background-color: #f4f8fc;
    color: #333;
    position: relative;
}

/* FADED BACKGROUND LOGO */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url("../assets/images/logo-coloured.png") no-repeat center;
    background-size: 70%;
    opacity: 0.06;
    z-index: -1;
}

/* HEADER */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #448DFA;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.site-title {
    font-size: 34px;
    font-weight: 700;
}

.brand-central {
    color: #292E54;
}

.brand-pathology {
    color: #A51F13;
    margin-left: 6px;
}

/* LOGO */
.header-logo img {
    height: 95px;
    width: auto;
    cursor: pointer;
}

/* NAV */
nav {
    background: #ffffff;
    padding: 12px 40px;
    display: flex;
    justify-content: flex-end;
    box-shadow: 0 2px 5px rgba(0,0,0,0.08);
}

nav a {
    margin-left: 22px;
    text-decoration: none;
    color: #0b5ed7;
    font-weight: 600;
}

nav a:hover {
    color: #084298;
}

/* HERO */
.hero {
    background: linear-gradient(
        rgba(11,94,215,0.75),
        rgba(11,94,215,0.75)
    ),
    url("../assets/images/hero-bg.jpg") center/cover no-repeat;
    color: white;
    padding: 90px 40px;
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 12px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
}

/* CONTENT */
.container {
    padding: 50px 40px;
}

.section-title {
    color: #0b5ed7;
    font-size: 28px;
    margin-bottom: 25px;
}

.spacing-top {
    margin-top: 45px;
}

/* CARD */
.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* OPTION 1 – HOVER EFFECT */
.hover-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

ul {
    padding-left: 18px;
}

ul li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* SERVICES LIST */
.service-list li {
    font-weight: 600;
}
/* SERVICES GRID – ONLY USED IN services.html */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.services-grid .card {
    height: 100%;
}

/* Mobile: single column */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* FADE IN ANIMATION – OPTION 2 */
.fade-in {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* IMAGE SLIDER */
.slider {
    width: 100%;
    max-width: 1100px;
    height: 320px;
    margin: 40px auto;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FOOTER */
footer {
    background: #0b5ed7;
    color: white;
    text-align: center;
    padding: 14px;
    margin-top: 60px;
}

/* RESPONSIVE – OPTION 4 & 5 */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
    }

    .header-logo img {
        height: 65px;
        margin-top: 10px;
    }

    nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    nav a {
        margin: 10px;
        font-size: 16px;
    }

    .hero h2 {
        font-size: 28px;
    }

    .container {
        padding: 35px 20px;
    }

    .slider {
        height: 220px;
    }
}
/* ================= ABOUT PANELS ================= */
.about-panel {
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-panel.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
    max-width: 480px;
}

.about-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.about-image iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: block;
}
/* CONTINUOUS IMAGE MARQUEE */
.image-marquee {
    width: 100%;
    overflow: hidden;
    margin: 30px auto;
    position: relative;
}

.image-track {
    display: flex;
    width: max-content;
    animation: scrollImages 35s linear infinite;
}

.image-track img {
    height: 220px;
    width: auto;
    margin-right: 30px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* Animation */
@keyframes scrollImages {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* Pause on hover (professional touch) */
.image-marquee:hover .image-track {
    animation-play-state: paused;
}

/* Mobile adjustment */
@media (max-width: 768px) {
    .image-track img {
        height: 150px;
        margin-right: 20px;
    }
}


/* mobile_scrpt */
@media (max-width: 768px) {
    .micro-bounce {
        animation: microBounce 0.4s ease;
    }

    @keyframes microBounce {
        0%   { transform: translateY(0); }
        50%  { transform: translateY(-6px); }
        100% { transform: translateY(0); }
    }
}
@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
        transition: padding 0.3s ease;
    }

    header.shrink {
        padding: 10px 20px;
    }
}
.image-marquee {
    width: 100%;
    overflow: hidden;
    background: #f4f8fc;
    padding: 20px 0;
}

.image-track {
    display: flex;
    gap: 30px;
    animation: scrollImages 25s linear infinite;
}

.image-track img {
    height: 180px;
    width: auto;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

/* Smooth infinite scroll */
@keyframes scrollImages {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    body.swipe-left {
        animation: swipeLeftHint 0.25s ease;
    }

    body.swipe-right {
        animation: swipeRightHint 0.25s ease;
    }

    @keyframes swipeLeftHint {
        from { transform: translateX(0); }
        to   { transform: translateX(-8px); }
    }

    @keyframes swipeRightHint {
        from { transform: translateX(0); }
        to   { transform: translateX(8px); }
    }
}

/* Contact Page Mobile Fix */
@media (max-width: 768px) {
    .about-panel {
        flex-direction: column;
    }

    .about-image iframe {
        height: 250px;
    }
}






