
:root {
    --primary: #3a3f92;
    --primary-dark: #188dbd;
    --dark: #12324a;
    --text: #536575;
    --light: #f4f9fc;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text);
    overflow-x: hidden;
}

.text-red{
    color: #EC3237;
}
a {
    text-decoration: none;
}

.topbar {
    background: var(--dark);
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.topbar i {
    color: var(--primary);
    margin-right: 7px;
}
 
.right-logo li{
    list-style: none;
}

.main-navbar {
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
}

.site-logo {
    width: 250px;
    height: auto;
}

.navbar-nav {
    gap: 8px;
}

.nav-link {
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.dropdown-menu {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,.12);
    padding: 12px;
}

.dropdown-item {
    padding: 10px 14px;
    font-size: 13px;
}

.btn-primary-custom {
    background: var(--primary);
    color: white;
    padding: 13px 23px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--primary);
    transition: .3s;
}

.btn-primary-custom:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* HERO */

.hero-slide {
    min-height: 700px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    position: relative;
}

/* .hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        rgba(7,30,49,.91),
        rgba(7,30,49,.65),
        rgba(7,30,49,.08));
} */

.hero-content {
    max-width: 690px;
    position: relative;
    z-index: 2;
    padding: 90px 0;
    color: white;
}

.hero-label,
.section-label {
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: clamp(36px, 5vw, 62px);
    line-height: 1.15;
    font-weight: 800;
    margin: 22px 0;
}

.hero-content h1 span,
.section-title span {
    color: var(--primary);
}

.hero-content p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 30px;
    max-width: 550px;
}

/* GENERAL SECTIONS */

.core-offerings {
    padding: 90px 0; 
    background: #e7f8ff;
    background: linear-gradient( 90deg, rgb(231 248 255 / 95%), rgb(231 248 255) ), url(../images/molecular-biology.webp) center center / cover no-repeat;

}

.applications-support{
    padding: 90px 0; 
    background: #e7f8ff;
    background:  url(../images/applications-we-support-banner.webp) center center / cover no-repeat;
}

.custom-services{
   padding: 90px 0; 
    background: #e7f8ff; 
}
.brands-section{
     padding: 90px 0; 
}
 
 
.section-title {
    color: var(--dark);
    font-size: clamp(29px, 3vw, 40px);
    font-weight: 800;
    margin: 15px 0 20px;
}

.section-description {
    line-height: 1.9;
    font-size: 15px;
    margin-bottom: 25px;
}

.section-heading {
    max-width: 720px;
    margin: auto;
}

.section-heading p {
    line-height: 1.8;
}

/* CATEGORY */

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(24,141,189,.12);
    border-color: var(--primary);
}

.category-icon {
    width: 65px;
    height: 65px;
    background: #eaf8fd;
    color: var(--primary);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 27px;
    margin-bottom: 25px;
}

.category-card h4 {
    color: var(--dark);
    font-size: 19px;
    font-weight: 700;
}

.category-card p {
    font-size: 13px;
    line-height: 1.8;
    margin: 15px 0;
}

.read-more {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
}

/* PRODUCTS */

.product-card {
    background: white;
    border: 1px solid #e9eff3;
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    transition: .3s;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 12px 35px rgba(0,0,0,.09);
}

.product-image {
    height: 230px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fbfd;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-info {
    padding: 23px;
}

.product-info span {
    color: var(--primary-dark);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info h5 {
    color: var(--dark);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.6;
    min-height: 48px;
    margin: 12px 0 20px;
}

.product-link {
    color: var(--primary-dark);
    font-size: 13px;
    font-weight: 700;
}

/* BRANDS */

.brand-list {
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center;     /* Vertical center */
    flex-wrap: wrap;
    gap: 30px;
    width: 100%;
}

.brand-item {
    padding: 25px 35px;
    min-width: 170px;
    background: white;
    color: var(--dark);
    font-weight: 800;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
}

.brand-item img {
    max-width: 150px;
    height: auto;
    display: block;
}

.category-slider .slick-prev .slick-arrow{
    background: #988dc1;
    border: 0px;
    padding: 10px;
    border-radius: 20px;
    color: #fff;
    box-shadow: 1px 1px 20px 0px #cdcdcd;
}

/* .brand-list {
    display: flex;
    flex-wrap: nowrap; 
    gap: 10px;
    margin-top: 25px;
}

.brand-item {
    padding: 25px 35px;
    min-width: 170px;
    background: white;
    color: var(--dark);
    font-weight: 800;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
} */

/* SERVICES */

.service-card,
.application-card {
    background: white;
    padding: 35px;
    border: 1px solid #e7eef3;
    border-radius: 12px;
    height: 100%;
    transition: .3s;
}

.service-card:hover,
.application-card:hover {
    border-color: var(--primary);
    transform: translateY(-6px);
}

.service-card > i,
.application-card > i {
    font-size: 35px;
    color: var(--primary);
    margin-bottom: 22px;
}

.service-card h4,
.application-card h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 20px;
}

.service-card a,
.application-card a {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
}

/* CTA */

.cta-section {
    padding: 85px 0;
    background: linear-gradient(110deg, #12324a, #188dbd);
    color: white;
    text-align: center;
}

.cta-section span {
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 700;
}

.cta-section h2 {
    font-size: clamp(27px, 4vw, 42px);
    font-weight: 800;
    margin: 18px 0;
}

.cta-section p {
    margin-bottom: 30px;
}

/* FOOTER */

.main-footer {
    background: #102b40;
    color: #c5d2dc;
    padding: 70px 0 20px;
}

.footer-logo {
    max-width: 210px;
    background: white;
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 25px;
}

.main-footer h5 {
    color: white;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 25px;
}

.main-footer p,
.main-footer li {
    font-size: 13px;
    line-height: 2;
}

.main-footer ul {
    padding: 0;
    list-style: none;
}

.main-footer li {
    margin-bottom: 8px;
}

.main-footer a {
    color: #c5d2dc;
}

.main-footer a:hover {
    color: var(--primary);
}

.main-footer p i {
    color: var(--primary);
    margin-right: 8px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,.1);
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.copyright {
    text-align: center;
    font-size: 12px;
    padding-top: 20px;
}

/* *Custome CSS** */

/*Photo Slider*/
.gallery-slider {
    position: relative;
    max-width: 850px;
    margin: auto;
}

.gallery-viewport {
    width: 100%;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.gallery-slide img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background: #3a3f92;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

@media(max-width: 576px) {
    .gallery-slide img {
        height: 280px;
    }
}

/*photoEnd*/

.row-cols-lg-7 > * {
    flex: 0 0 auto;
    width: 14.285714%;
}

.row-cols-lg-7 img {
    max-width: 130px;
    height: 70px;
    object-fit: contain;
}

.feature-icon-shadow{
    margin-top: 2rem;
    background: #ffff;
    box-shadow: 0px 1px 10px 0px #73bbe9;
    border-radius: 10px;
    padding: 11px;
}

.feature-icon{
    width: 65px;
}

.highlighted-title {
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 6px;
    border-bottom: 3px solid #406c7a;
}


.category-slider .category-card {
    height: 100%;
    padding: 25px 20px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    transition: 0.3s ease;
}

.category-slider .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

.category-slider .slick-track {
    display: flex;
}

.category-slider .slick-slide {
    height: auto;
}

.category-slider .slick-slide > div {
    height: 100%;
}

.event-section{
    width: 100%;
    min-height: 440px;
    padding: 22px 4%;
    position: relative;
    background:
        linear-gradient(rgba(235,247,255,.40),rgba(235,247,255,.40)),
        url('../images/applications-we-support-banner.webp') center center / cover no-repeat;
    overflow: hidden;
}

.showcase-banner {
    width: 100%;
    min-height: 440px;
    padding: 22px 4%;
    position: relative;
    background:
        linear-gradient(rgba(235,247,255,.40),rgba(235,247,255,.40)),
        url('../images/fujifilm-lab-equipment.webp') center center / cover no-repeat;
    overflow: hidden;
}

/* HEADER */

.showcase-header {
    position: relative;
    max-width: 1250px;
    margin: 0 auto 22px;
    min-height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.showcase-heading {
    font-size: 21px;
    color: #536d7b;
    font-weight: 600;
    text-align: center;
}

.showcase-logo {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
}

.showcase-logo img {
    max-width: 165px;
    max-height: 65px;
    object-fit: contain;
}

/* MAIN LAYOUT */

.showcase-content {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.12fr 1fr;
    gap: 22px;
    align-items: center;
}

/* LEFT CATEGORY SLIDER */

.category-section {
    width: 100%;
    height: 100%;
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
}

.category-section img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* RIGHT PRODUCT SECTION */
.products-section {
    width: 100%;
    height: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.products-slider {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.products-track {
    display: flex;
    height: 100%;
    transition: transform .7s ease-in-out;
}

.products-page {
    flex: 0 0 100%;
    min-width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.product-card {
    width: 100%;
    height: 100%;
    min-height: 0;
    background: #fff;
    border: 1px solid #d6e0e8;
    padding: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
    overflow: hidden;
    text-decoration: none;
    transition: .3s;
}

.product-img {
    width: 100%;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.product-img img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-card h6 {
    font-size: 14px;
    color: #364c5b;
    margin: 5px 0;
    line-height: 1.3;
}

.read-more {
    font-size: 11px;
    color: #2186ad;
    text-decoration: none;
    margin-bottom: 3px;
}

.products-controls {
    flex-shrink: 0;
    margin-top: 8px;
}


/*Event */

.event-services {
    background: #394193;
}

.event-left-box {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
}

.main-heading {
    color: #153b55;
    font-size: 27px;
    font-weight: 700;
}

.main-desc {
    color: #687985;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Tabs */
.event-left-box .nav-tabs {
    border-bottom: 2px solid #e8eef1;
    gap: 10px;
}

.event-left-box .nav-tabs .nav-link {
    color: #153b55;
    font-weight: 600;
    border: none;
    padding: 10px 20px;
}

.event-left-box .nav-tabs .nav-link.active {
    color: #36acdc;
    border-bottom: 3px solid #36acdc;
    background: transparent;
}

/* Event List */
.event-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e8eef1;
}

.event-item:last-child {
    border-bottom: none;
}

.event-item img {
    width: 105px;
    min-width: 105px;
    height: 95px;
    object-fit: cover;
    border-radius: 6px;
}

.event-item span {
    font-size: 12px;
    color: #36acdc;
    font-weight: 600;
}

.event-item h5 {
    color: #153b55;
    font-size: 16px;
    font-weight: 700;
    margin: 5px 0;
}

.event-item p {
    color: #687985;
    font-size: 13px;
    margin-bottom: 5px;
}

.event-item a {
    color: #36acdc;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Right Slider */
.event-slider {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.12);
}

.event-slider .carousel-item img {
    width: 100%;
    height: 430px;
    object-fit: cover;
}

@media(max-width: 767px) {
    .event-slider .carousel-item img {
        height: 280px;
    }

    .event-left-box {
        padding: 18px;
    }
}

/*Event End*/

@media(max-width: 767px) {
    .showcase-content {
        grid-template-columns: 1fr;
    }

    .category-section {
        height: auto;
    }

    .category-section img {
        height: auto;
    }

    .products-page {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 130px);
    }
}
/* RESPONSIVE */

@media(max-width:991px) {
    .navbar-collapse {
        padding: 20px 0;
    }

    .navbar-nav {
        align-items: flex-start !important;
    }

    .hero-slide {
        min-height: 520px;
    }

    .section-padding {
        padding: 65px 0;
    }
}

@media(max-width:576px) {
    .topbar {
        font-size: 11px;
    }

    .site-logo {
        width: 155px;
    }

    .hero-slide {
        min-height: 490px;
    }

    .hero-content {
        padding: 60px 15px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .brand-item {
        width: 100%;
    }
}
