/* =========================================================
   INVICTUS BIO CARE
   NEWS & INSIGHTS
   ========================================================= */


/* ================================
   RESET
================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {
    font-family: "Inter", sans-serif;
    color: #183f3f;
    background: #ffffff;
    line-height: 1.6;
}


img {
    max-width: 100%;
    display: block;
}


button,
a {
    font-family: inherit;
}


a {
    text-decoration: none;
}



/* ================================
   HEADER
================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    transition: 0.3s ease;
}


.site-header.scrolled {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}
 

.header-container {
    width: min(1200px, 92%);

    margin: auto;

    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}




.main-nav {
    display: flex;
    align-items: center;
    gap: 35px;
}


.main-nav a {
    position: relative;

    color: #214d4d;

    font-size: 14px;
    font-weight: 600;

    transition: 0.3s ease;
}


.main-nav a:hover,
.main-nav a.active {
    color: #168c83;
}


.main-nav a.active::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 100%;
    height: 2px;

    background: #168c83;
}


.menu-toggle {
    display: none;

    border: none;
    background: transparent;

    cursor: pointer;

    width: 35px;
}


.menu-toggle span {
    display: block;

    height: 3px;

    margin: 6px 0;

    border-radius: 5px;

    background: #183f3f;
}
.menu-h4{
    position: relative;
    right: 305px;
}


/* ================================
   HERO
================================= */

.news-hero {
    position: relative;
    width: 100%;
    min-height: 460px;

    /* Replace with your actual image path */
    background-image: url("images/Invictus Bio Care News Collage (1).png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/*.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(5, 45, 50, 0.82),
        rgba(5, 45, 50, 0.38)
    ); */ 
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    padding: 70px 24px;
    text-align: center;
    color: black;
}

.hero-small-title {
    display: block;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase; color:black;
}

.hero-content h1 {
    margin: 0 0 20px;
    font-size: clamp(36px, 5vw, 60px);
    line-height: 1.15; color: black;
}

.hero-content p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8; color: black;
    font-weight: bolder;
}

@media (max-width: 600px) {
    .news-hero {
        min-height: 380px;
        background-position: center;
    }

    .hero-content {
        padding: 55px 20px;
    }

    .hero-content p {
        font-size: 15px;
    }
}



/* ================================
   COMMON SECTION
================================= */

.featured-section,
.latest-section {
    width: min(1200px, 92%);

    margin: auto;
}


.featured-section {
    padding: 110px 0 80px;
}


.latest-section {
    padding: 70px 0 120px;
}


.section-heading {
    margin-bottom: 45px;
}


.section-heading > span {
    display: block;

    color: #168c83;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

    margin-bottom: 10px;
}


.section-heading h2 {
    color: #173f3f;

    font-size: clamp(32px, 4vw, 48px);

    line-height: 1.15;

    margin-bottom: 12px;
}


.section-heading p {
    max-width: 650px;

    color: #6b7d7d;

    font-size: 16px;
}



/* ================================
   FEATURED STORY
================================= */

.featured-story {
    display: grid;

    grid-template-columns: 1.15fr 1fr;

    min-height: 560px;

    background: #f3f8f7;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 20px 60px rgba(19, 64, 64, 0.08);
}


.featured-image {
    position: relative;

    min-height: 560px;

    overflow: hidden;
}


.featured-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.7s ease;
}


.featured-story:hover .featured-image img {
    transform: scale(1.04);
}


.featured-content {
    padding: 60px;

    display: flex;
    flex-direction: column;

    justify-content: center;
}


.featured-date {
    display: inline-block;

    color: #168c83;

    font-size: 13px;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1px;

    margin-bottom: 16px;
}


.featured-content h2 {
    color: #163f3f;

    font-size: clamp(30px, 4vw, 46px);

    line-height: 1.15;

    margin-bottom: 25px;
}


.featured-description {
    color: #607272;

    font-size: 16px;

    line-height: 1.85;

    display: -webkit-box;

    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;

    overflow: hidden;

    margin-bottom: 30px;
}


.read-more-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: fit-content;

    padding: 14px 28px;

    border-radius: 50px;

    background: #168c83;

    color: #ffffff;

    font-size: 14px;

    font-weight: 700;

    border: none;

    cursor: pointer;

    transition: 0.3s ease;
}


.read-more-btn:hover {
    background: #106c65;

    transform: translateY(-2px);
}



/* ================================
   NEWS GRID
================================= */

.news-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 30px;
}


.news-card {
    background: #ffffff;

    border-radius: 20px;

    overflow: hidden;

    border: 1px solid #e6eeee;

    box-shadow: 0 10px 35px rgba(20, 60, 60, 0.06);

    transition: 0.35s ease;
}


.news-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 45px rgba(20, 60, 60, 0.12);
}



/* ================================
   CARD IMAGE SLIDER
================================= */

.card-slider {
    position: relative;

    width: 100%;

    height: 270px;

    overflow: hidden;

    background: #edf4f3;
}


.card-slides {
    width: 100%;
    height: 100%;

    position: relative;
}


.card-slide {
    position: absolute;

    inset: 0;

    opacity: 0;

    visibility: hidden;

    transition: opacity 0.5s ease;
}


.card-slide.active {
    opacity: 1;

    visibility: visible;
}


.card-slide img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}



/* slider arrows */

.slider-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 38px;
    height: 38px;

    border-radius: 50%;

    border: none;

    background: rgba(255, 255, 255, 0.9);

    color: #164646;

    cursor: pointer;

    z-index: 5;

    font-size: 20px;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);

    transition: 0.25s ease;
}


.slider-arrow:hover {
    background: #ffffff;

    transform: translateY(-50%) scale(1.08);
}


.slider-prev {
    left: 15px;
}


.slider-next {
    right: 15px;
}



/* slider dots */

.slider-dots {
    position: absolute;

    left: 50%;
    bottom: 15px;

    transform: translateX(-50%);

    display: flex;

    gap: 7px;

    z-index: 5;
}


.slider-dot {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.6);

    cursor: pointer;

    transition: 0.25s ease;
}


.slider-dot.active {
    width: 20px;

    border-radius: 10px;

    background: #ffffff;
}



/* ================================
   CARD CONTENT
================================= */

.news-card-content {
    padding: 28px;
}


.news-card-date {
    color: #168c83;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;

    margin-bottom: 10px;
}


.news-card h3 {
    color: #173f3f;

    font-size: 22px;

    line-height: 1.3;

    margin-bottom: 13px;
}


.news-card-description {
    color: #687979;

    font-size: 14px;

    line-height: 1.75;

    margin-bottom: 20px;
}


.card-read-more {
    border: none;

    background: transparent;

    color: #168c83;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    padding: 0;

    transition: 0.25s ease;
}


.card-read-more:hover {
    color: #0c625c;
}



/* ================================
   ARTICLE MODAL
================================= */

.article-modal {
    position: fixed;

    inset: 0;

    z-index: 2000;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 30px;
}


.article-modal.active {
    display: flex;
}


.modal-overlay {
    position: absolute;

    inset: 0;

    background: rgba(7, 31, 31, 0.78);

    backdrop-filter: blur(7px);
}


.article-modal-content {
    position: relative;

    z-index: 2;

    width: min(950px, 100%);

    max-height: 92vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 24px;

    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.3);

    animation: modalIn 0.3s ease;
}


@keyframes modalIn {

    from {
        opacity: 0;
        transform: translateY(25px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}


.modal-close {
    position: absolute;

    top: 18px;
    right: 18px;

    z-index: 10;

    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: none;

    background: rgba(255, 255, 255, 0.95);

    color: #173f3f;

    font-size: 28px;

    line-height: 1;

    cursor: pointer;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}


.modal-image-wrapper {
    width: 100%;

    height: 420px;

    background: #edf4f3;

    overflow: hidden;
}


.modal-image-wrapper img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.modal-body {
    padding: 50px;
}


.modal-date {
    color: #168c83;

    font-size: 13px;

    font-weight: 700;

    letter-spacing: 1px;

    text-transform: uppercase;
}


.modal-body h2 {
    color: #173f3f;

    font-size: clamp(30px, 5vw, 48px);

    line-height: 1.15;

    margin: 12px 0 25px;
}


.modal-description {
    color: #596b6b;

    font-size: 16px;

    line-height: 1.9;
}


.modal-description p {
    margin-bottom: 20px;
}


.modal-gallery {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 35px;
}


.modal-gallery img {
    width: 100%;

    height: 170px;

    object-fit: cover;

    border-radius: 12px;

    cursor: pointer;

    transition: 0.3s ease;
}


.modal-gallery img:hover {
    transform: scale(1.03);
}



/* ================================
   FOOTER
================================= */

.site-footer {
    background: #103b3b;

    color: #ffffff;
}


.footer-container {
    width: min(1200px, 92%);

    margin: auto;

    padding: 70px 0 50px;

    display: grid;

    grid-template-columns: 1.5fr 1fr 1fr;

    gap: 60px;
}


.footer-brand img {
    width: 180px;

    margin-bottom: 20px;

    background: #ffffff;

    padding: 8px;

    border-radius: 6px;
}


.footer-brand p {
    max-width: 360px;

    color: rgba(255, 255, 255, 0.72);

    line-height: 1.8;

    font-size: 14px;
}


.footer-container h3 {
    font-size: 17px;

    margin-bottom: 20px;
}


.footer-links {
    display: flex;

    flex-direction: column;

    gap: 11px;
}


.footer-links a {
    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;

    transition: 0.25s ease;
}


.footer-links a:hover {
    color: #ffffff;

    padding-left: 4px;
}


.footer-contact p {
    color: rgba(255, 255, 255, 0.7);

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 15px;
}


.footer-contact strong {
    color: #ffffff;
}


.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding: 20px 5%;

    text-align: center;

    color: rgba(255, 255, 255, 0.55);

    font-size: 12px;
}



/* ================================
   MOBILE
================================= */

@media (max-width: 900px) {

    .main-nav {
        position: absolute;

        top: 82px;
        left: 0;

        width: 100%;

        padding: 25px;

        background: #ffffff;

        display: none;

        flex-direction: column;

        align-items: flex-start;

        gap: 20px;

        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    }


    .main-nav.open {
        display: flex;
    }


    .menu-toggle {
        display: block;
    }


    .featured-story {
        grid-template-columns: 1fr;
    }


    .featured-image {
        min-height: 400px;
    }


    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

}


@media (max-width: 600px) {

    .header-container {
        min-height: 72px;
    }


    .logo img {
        width: 145px;
    }


    .news-hero {
        margin-top: 72px;

        min-height: 500px;
    }


    .hero-content h1 {
        font-size: 46px;
    }


    .hero-content p {
        font-size: 15px;
    }


    .featured-section {
        padding: 70px 0 50px;
    }


    .latest-section {
        padding: 50px 0 80px;
    }


    .featured-image {
        min-height: 280px;
    }


    .featured-content {
        padding: 32px 25px;
    }


    .news-grid {
        grid-template-columns: 1fr;
    }


    .card-slider {
        height: 250px;
    }


    .article-modal {
        padding: 12px;
    }


    .article-modal-content {
        border-radius: 18px;
    }


    .modal-image-wrapper {
        height: 280px;
    }


    .modal-body {
        padding: 30px 22px;
    }


    .modal-gallery {
        grid-template-columns: repeat(2, 1fr);
    }


    .modal-gallery img {
        height: 130px;
    }


    .footer-container {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0 35px;
    }

}

/* =====================================================
   INVICTUS BIO CARE - RESPONSIVE NAVBAR
===================================================== */

.ibc-navbar {
    width: 100%;
    background: #ffffff;
    position: relative;
    z-index: 9999;

    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}


/* Main container */

.ibc-nav-container {
    width: 100%;
    max-width: 1400px;
    min-height: 78px;

    margin: 0 auto;
    padding: 8px 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    box-sizing: border-box;
}


/* =====================================================
   BRAND
===================================================== */

.ibc-brand {
    display: flex;
    align-items: center;

    text-decoration: none;

    min-width: 0;
}


/* Logo */

.ibc-logo {
    width: 58px;
    height: 58px;

    object-fit: contain;

    display: block;

    flex-shrink: 0;
}


/* Company name */

.ibc-company-name {
    margin-left: 12px;

    color: #075f70;

    font-size: 24px;
    font-weight: 700;

    line-height: 1.1;

    letter-spacing: 0.3px;

    white-space: nowrap;
}


/* =====================================================
   DESKTOP MENU
===================================================== */

.ibc-desktop-menu {
    display: flex;
    align-items: center;

    gap: 8px;
}


.ibc-nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    padding: 10px 15px;

    color: #174c57;

    font-size: 16px;
    font-weight: 600;

    text-decoration: none;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}


/* Animated underline */

.ibc-nav-link::after {
    content: "";

    position: absolute;

    left: 15px;
    right: 15px;

    bottom: 3px;

    height: 2px;

    background: #16a085;

    transform: scaleX(0);
    transform-origin: center;

    transition: transform 0.3s ease;
}


.ibc-nav-link:hover {
    color: #0b8f83;
}


.ibc-nav-link:hover::after,
.ibc-nav-link.active::after {
    transform: scaleX(1);
}


/* =====================================================
   HAMBURGER BUTTON
===================================================== */

.ibc-hamburger {
    display: none;

    width: 48px;
    height: 48px;

    padding: 10px;

    border: none;
    border-radius: 10px;

    background: #087f8c;

    cursor: pointer;

    flex-shrink: 0;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    box-shadow: 0 4px 12px rgba(8, 127, 140, 0.30);

    transition:
        background 0.3s ease,
        transform 0.2s ease;
}


.ibc-hamburger:hover {
    background: #056875;
}


.ibc-hamburger:active {
    transform: scale(0.94);
}


/* Three hamburger bars */

.ibc-hamburger span {
    display: block;

    width: 25px;
    height: 3px;

    border-radius: 5px;

    background: #ffffff;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* =====================================================
   HAMBURGER -> X ANIMATION
===================================================== */

.ibc-hamburger.ibc-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}


.ibc-hamburger.ibc-open span:nth-child(2) {
    opacity: 0;
}


.ibc-hamburger.ibc-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* =====================================================
   MOBILE MENU
===================================================== */

.ibc-mobile-menu {
    display: none;

    width: 100%;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);

    box-sizing: border-box;
}


.ibc-mobile-menu a {
    display: block;

    padding: 15px 25px;

    color: #174c57;

    font-size: 17px;
    font-weight: 600;

    text-decoration: none;

    border-bottom: 1px solid #eeeeee;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        padding-left 0.3s ease;
}


.ibc-mobile-menu a:hover {
    color: #087f8c;

    background: #f1faf9;

    padding-left: 32px;
}


/* Open mobile menu */

.ibc-mobile-menu.ibc-show {
    display: block;

    animation: ibcMenuDown 0.25s ease;
}


@keyframes ibcMenuDown {

    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 900px) {

    .ibc-nav-container {
        min-height: 72px;

        padding: 7px 22px;
    }

    .ibc-logo {
        width: 52px;
        height: 52px;
    }

    .ibc-company-name {
        font-size: 21px;
        margin-left: 10px;
    }

    .ibc-desktop-menu {
        gap: 2px;
    }

    .ibc-nav-link {
        padding: 9px 10px;
        font-size: 15px;
    }

}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    .ibc-nav-container {
        min-height: 68px;

        padding: 7px 15px;
    }


    /* Smaller logo */

    .ibc-logo {
        width: 48px;
        height: 48px;
    }


    /* Smaller company name */

    .ibc-company-name {
        font-size: 19px;
        margin-left: 9px;
    }


    /* Hide desktop menu */

    .ibc-desktop-menu {
        display: none;
    }


    /* Show hamburger */

    .ibc-hamburger {
        display: flex;
    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 400px) {

    .ibc-nav-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ibc-logo {
        width: 44px;
        height: 44px;
    }

    .ibc-company-name {
        font-size: 17px;
        margin-left: 8px;
    }

    .ibc-hamburger {
        width: 44px;
        height: 44px;
    }

    .ibc-hamburger span {
        width: 23px;
    }

}




