/* Index counter*/
#counter .p2 {
    color: var(--dark);
}

.counter.percent::after {
    content: "%";
    margin-left: 4px;
}

.counter.plus::after {
    content: "+";
    margin-left: 4px;
}

.bg1 {
    display: flex;
    align-items: center;
    /* center vertically */
    justify-content: center;
    /* center horizontally */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.bg2 {
    background-image: url("assets/img/about/asset-2.jpg");
    display: flex;
    align-items: center;
    /* center vertically */
    justify-content: center;
    /* center horizontally */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.facts-text {
    padding: 140px;
}

@media (max-width: 767.9px) {
    .facts-text {
        padding: 0;
    }
}

/* About */
#about .p1 {
    font-size: 18px;
    line-height: 1.6;
    padding-right: 100px;
    color: var(--dark);
}

/* Text & Images Section*/
#about2 {
    background-image: url("assets/img/about/story.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
}

/* Tablet */
@media (max-width: 991px) {
    #about2 .container-fluid {
        padding: 50px 30px !important;
    }
}

/* Mobile */
@media (max-width: 576px) {
    /* Improve image visibility & spacing */
    #about2 {
        background-position: center top;
        padding: 40px 0;
    }
}

/* Sustain */
.sponsor-txt {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px !important;
}
.sponsor-img {
    overflow: hidden;
}

.sponsor-img img {
    transition: transform 0.5s ease;
}

.sponsor-img img:hover {
    transform: scale(1.08);
}
.e-content {
    flex: 1;
}
.e-icon-bg {
    width: 90px;
    height: 60px;
    transform: skewX(-30deg);
    background-color: var(--primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.e-icon-bg i,
.e-icon-bg img {
    font-size: 30px;
    transform: skewX(30deg);
    width: 55px;
    height: 55px;
}
.e-ctn {
    padding: 0 90px;
}
@media (max-width: 991.9px) {
    .e-ctn {
        padding: 0px;
    }
}

#current .row > *,
#social .row > * {
    padding: 0;
}

/* Ethical */
@media screen and (max-width: 767.9px) {
    /* Add padding to the whole section */
    .pad,
    #ethical .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    /* Make heading readable on small screens */
    #ethical h2 {
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 25px;
        text-align: center;
    }

    /* Each icon + text row */
    #ethical .d-flex {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px !important;
    }

    /* Icon container */
    .e-icon-bg img {
        width: 35px;
        height: auto;
    }

    /* Content text */
    .e-content h5 {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .e-content p {
        font-size: 15px;
        line-height: 1.4;
        margin-bottom: 0;
    }

    /* Reduce gap between list items */
    #ethical .mb-3 {
        margin-bottom: 20px !important;
    }

    #ethical .e-icon-bg {
        width: 60px;
        height: auto;
        margin-left: 20px;
    }

    #ethical .e-icon-bg i,
    #ethical .e-icon-bg img {
        font-size: 30px;
        transform: skewX(30deg);
        width: 35px;
        height: 35px;
    }
}

/* News */
.tabs-auto {
    display: flex;
    align-items: center;
    gap: 25px;
    font-family: Arial, sans-serif;
    justify-content: center;
    padding: 30px;
    cursor: pointer;
}

.tabs-auto a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    position: relative;
}

.tabs-auto a:not(:last-child)::after {
    content: "|";
    position: absolute;
    right: -15px;
    color: #555;
}

.tabs-auto a.active {
    font-weight: 700;
}
#news .card-body {
    background-color: #f2f2f2;
    padding: 40px 20px !important;
}

#news .card img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* Mobile cleanup */
@media (max-width: 768px) {
    .card img {
        height: 300px;   
        object-position: center;
    }

    .card-body {
        padding: 24px 16px !important;
    }
}


/* News Detail */
.breadcrumb {
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.breadcrumb .crumb-category {
    color: #777;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}
.breadcrumb .crumb-category:hover {
    color: var(--primary);
}
.breadcrumb .arrow {
    color: #777;
}
.breadcrumb .crumb-title {
    font-weight: 700;
    color: #000;
}

.blog-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}
.blog-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.4;
}
.blog-hero img {
    width: 100%;
    border-radius: 2px;
    margin-bottom: 30px;
}
.blog-content {
    text-align: justify;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    font-size: 16px;
}
.blog-gallery {
    margin-bottom: 40px;
}
.blog-gallery img {
    width: 100%;
    display: block;
    border-radius: 2px;
    margin-bottom: 20px;
}

#news-detail {
    padding: 100px 20px 60px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #news-detail {
        padding: 80px 15px 40px;
    }

    .breadcrumb {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .blog-container {
        padding: 20px 0;
    }

    .blog-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .blog-hero img {
        margin-bottom: 20px;
        border-radius: 4px;
    }

    .blog-content {
        font-size: 15px;
        line-height: 1.7;
        text-align: left;
        margin-bottom: 30px;
    }

    .blog-gallery {
        margin-bottom: 30px;
    }

    .blog-gallery .col-6 {
        padding: 0 5px;
        margin-bottom: 10px;
    }

    .blog-gallery img {
        border-radius: 4px;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    #news-detail {
        padding: 80px 10px 30px;
    }

    .breadcrumb {
        font-size: 13px;
    }

    .crumb-title {
        font-size: 13px;
    }

    .blog-title {
        font-size: 20px;
    }

    .blog-content {
        font-size: 14px;
    }

    /* Stack gallery images on very small screens if needed */
    .blog-gallery .col-6 {
        /* Uncomment below to stack images on very small screens */
        /* flex: 0 0 100%;
                max-width: 100%; */
    }
}

@font-face {
    font-family: "heading-font";
    src: url("../fonts/heading/ZalandoSansExpanded-SemiBold.ttf") format("truetype");
    font-weight: 600; /* SemiBold is usually 600 */
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "text-font";
    src: url("../fonts/text/Rubik-Regular.ttf") format("truetype");
    font-weight: 600; /* SemiBold is usually 600 */
    font-style: normal;
}

@font-face {
    font-family: "text-font-bold";
    src: url("../fonts/text/Rubik-Bold.ttf") format("truetype");
    font-weight: bold; /* SemiBold is usually 600 */
    font-style: normal;
}

/*body {
    font-family: 'text-font';
}*/

h1,
h2,
h3,
h4,
h6 {
    font-family: "heading-font";
    font-weight: 600;
}

html {
    scroll-behavior: smooth !important;
}
/* Banner wrapper */
#banner {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* Gradient overlay */
.banner-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to top, rgba(255,255,255,0.2),rgba(255,255,255,1)); */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1));
    /*try this value: linear-gradient(to top, rgba(255, 255, 255, 0.2)70%, rgba(0, 0, 0, 0.2)) */
    z-index: 1;
}

/* Content wrapper above overlay */
.banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* Title */
.banner-title {
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Title / banner bg */
.box-bg {
    height: 35vh;
    background-image: linear-gradient(to right, #5cc9ce, #16364c);
    display: flex; /* enable flexbox */
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
}

.header-font {
    font-family: "heading-font" !important;
}

.text-font {
    font-family: "text-font" !important;
}

.text-font-b {
    font-family: "text-font-bold" !important;
}

/* Sustain */
/* Left panel */
.option-tab {
    /* width: 180px; */
    padding-top: 40px;
}

.option-tab .item {
    font-size: 15px;
    padding: 4px 0px 4px 60px;
    margin-bottom: 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: 0.3s;
}

.option-tab .item.active {
    color: #7fce3a; /* green text */
    border-bottom-color: #097d26;
    font-weight: 600;
    position: relative;
}
.option-tab .item.active::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 9px;
    width: 40px;
    height: 30px;
    background-color: #7fce3a;
    transform: skewX(-30deg);
}
@media (max-width: 991.1px) {
    .option-tab .item.active::before {
        display: none;
    }
}

/* Grid images */
.resp-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
}

.box {
    padding: 0;
}

.box .content {
    padding: 15px;
}

/*future*/
#future .box {
    padding: 0;
}

#future .box img {
    width: 100%;
    height: auto;
    display: block;
}

#future .content {
    padding: 25px 10px;
    color: var(--dark);
}

#future .content h6 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
}

#future .content p {
    font-size: 15px;
    margin: 0;
}

/* Wrapper for center alignment */
.page-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    position: relative;
    top: 210px;
}

/* Main Button Style */
.page-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 22vw;

    padding: 12px 28px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;

    background: #7fce3a;
    color: white;
    border: 2px solid white;

    transition: 0.3s ease;
    cursor: pointer;
    position: relative;
    /*top: 230px;*/
}

/* Arrow circle */
.page-btn .icon-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;

    position: absolute; /* stick to right edge */
    right: 10px; /* adjust distance from right edge */
    top: 50%;
    transform: translateY(-50%); /* vertically center */
}

/* Active */
.page-btn.active {
    background: #c0dba9;
    color: #fff;
    opacity: 1;
}
/* 
.page-btn.active .icon-circle {
    border: 2px solid #fff;
    opacity: 1;
} */

/* Responsive adjustments */
@media (max-width: 992px) {
    .banner-title {
        font-size: 36px;
    }
    .page-btn {
        font-size: 16px;
        padding: 10px 20px;
        min-width: 180px;
    }
    .icon-circle {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }

    .page-selector {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
        position: relative;
        bottom: 0px;
        top: 0px !important;
    }

    #sustainability {
        padding-top: 0;
    }

    .page-btn .icon-circle {
        width: 22px;
        height: 22px;
    }
}

/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #ffffff;
    transition: 0.5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, 0.7);
    transition: 0.5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #ffffff;
    transition: 0.5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #ffffff;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, 0.09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #ffffff;
    background: var(--primary);
}

/*** New service product design***/
.service-card {
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
    border-radius: 0px;
    transition: all 0.4s ease;
    height: 380px;
}

.service-image {
    height: 60%;
    width: 100%;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 25px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 80%;
    background: #f2f2f2;
    transition:
        transform 0.4s ease,
        background 0.4s ease;
    transform: translateY(40%);
}

.service-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
    text-align: left;
}

.service-content .description {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    font-size: 15px;
    line-height: 1.4;
}

/* Hover: slide up */
.service-card:hover .service-content {
    transform: translateY(0);
    height: 100% !important;
}

/* Hover: show description */
.service-card:hover .description {
    opacity: 1;
}

/* Hover: change background */
.service-card:hover,
.service-card:hover .service-content {
    background: #235067; /* change to your colour */
}

/* Hover: change text colours */
.service-card:hover h3 {
    color: var(--primary) !important;
}

.service-card:hover p,
.service-card:hover .description {
    color: #fff !important;
}

.service-top {
    border-top: 10px solid #25abe1; /* choose any colour */
}

.service-card:hover .service-top {
    border-top-color: #235067; /* hover colour */
}

.service-top1 {
    border-top: 10px solid #bb2a3b; /* choose any colour */
}

.service-card:hover .service-top1 {
    border-top-color: #235067; /* hover colour */
}

.service-top2 {
    border-top: 10px solid #4ba59c; /* choose any colour */
}

.service-card:hover .service-top2 {
    border-top-color: #235067; /* hover colour */
}

.service-top3 {
    border-top: 10px solid #600077; /* choose any colour */
}

.service-card:hover .service-top3 {
    border-top-color: #235067; /* hover colour */
}

.service-top4 {
    border-top: 10px solid #e4d446; /* choose any colour */
}

.service-card:hover .service-top4 {
    border-top-color: #235067; /* hover colour */
}

.service-top5 {
    border-top: 10px solid #27aae1; /* choose any colour */
}

.service-card:hover .service-top5 {
    border-top-color: #235067; /* hover colour */
}

.service-top6 {
    border-top: 10px solid #80ce3c; /* choose any colour */
}

.service-card:hover .service-top6 {
    border-top-color: #235067; /* hover colour */
}

.service-top7 {
    border-top: 10px solid #e49735; /* choose any colour */
}

.service-card:hover .service-top7 {
    border-top-color: #235067; /* hover colour */
}

.service-top8 {
    border-top: 10px solid #bb2a3b; /* choose any colour */
}

.service-card:hover .service-top8 {
    border-top-color: #bb2a3b; /* hover colour */
}

.service-top9 {
    border-top: 10px solid #1b3154; /* choose any colour */
}

.service-card:hover .service-top9 {
    border-top-color: #235067; /* hover colour */
}

.service-top10 {
    border-top: 10px solid #925b35; /* choose any colour */
}

.service-card:hover .service-top10 {
    border-top-color: #235067; /* hover colour */
}

.service-top11 {
    border-top: 10px solid #ff4b00; /* choose any colour */
}

.service-card:hover .service-top11 {
    border-top-color: #235067; /* hover colour */
}

/*** Service content col 12 ***/

.service-card1 {
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
    border-radius: 0px;
    transition: all 0.4s ease;
    height: 280px;
    display: flex;
}

/* Left image (30–40% width) */
.service-image1 {
    width: 35%; /* adjust to 30% or 40% as you want */
    height: 100%;
    overflow: hidden;
    border-radius: 10px 0 0 10px;
}

.service-image1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Content on right side */
.service-content1 {
    position: relative;
    width: 65%;
    height: 100%;
    padding: 25px;
    background: #f2f2f2;
    color: var(--dark);
    transition: transform 0.4s ease;
    transform: translateY(40%); /* hide lower part initially | change to X if want from side */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Title */
.service-content1 h3 {
    margin-bottom: 15px;
    font-size: 20px;
    text-align: left;
}

/* Description is hidden initially */
.service-content1 .description {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
    font-size: 15px;
    line-height: 1.4;
}

/* Hover animation — FIXED selector */
.service-card1:hover .service-content1 {
    transform: translateY(0);
}

.service-card1:hover .service-content1 .description {
    opacity: 1;
}

/* hover colour change */

/* Hover: slide up */
.service-card1:hover .service-content1 {
    transform: translateY(0);
}

/* Hover: show description */
.service-card1:hover .description {
    opacity: 1;
}

/* Hover: change background */
.service-card1:hover,
.service-card1:hover .service-content1 {
    background: #235067; /* change to your colour */
}

/* Hover: change text colours */
.service-card1:hover h3 {
    color: var(--primary) !important;
}

.service-card1:hover p,
.service-card1:hover .description {
    color: #fff !important;
}

/* ============================================
      MOBILE RESPONSIVE CLEANUP – PORT CARDS
===============================================*/
@media (max-width: 768px) {
    /* Card height reduced for mobile */
    .port-card {
        height: 300px !important;
    }

    /* Image area slightly larger for better visual */
    .port-image {
        height: 45% !important;
    }

    /* Content area always visible (no hover on phones) */
    .port-content {
        transform: translateY(0) !important;
        padding: 18px !important;
        height: auto !important;
        position: relative !important;
    }

    /* Show description always */
    .port-content .description {
        opacity: 1 !important;
        font-size: 14px !important;
        line-height: 1.4;
    }

    /* Adjust carousel padding */
    .port-carousel .owl-item {
        padding: 0 8px !important;
    }

    /* Hide navigation arrows (prevents overflow) */
    .port-carousel .owl-nav {
        display: none !important;
    }

    /* Dots smaller */
    .port-carousel .owl-dot {
        width: 12px !important;
        height: 12px !important;
    }

    .port-carousel .owl-dot.active {
        width: 24px !important;
    }
}

/* Extra-small phones (max-width: 480px) */
@media (max-width: 480px) {
    .port-card {
        height: 300px !important;
    }

    .port-image {
        height: 50% !important;
    }

    .port-content {
        padding: 15px !important;
    }

    .port-content .description {
        font-size: 13px !important;
    }
}

/*** Project 
#portfolio .project-carousel {
    position: relative;
    background: white;
}

#portfolio .project-item {
    position: relative;
    display: block;
}

#portfolio .project-item img {
    transition: .5s;
}

#portfolio .project-item:hover img,
#portfolio .project-carousel .owl-item.center img {
    margin-top: -60px;
}

#portfolio .project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 100%;
    bottom: -530px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

#portfolio .project-item:hover .project-title,
#portfolio .project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

#portfolio .project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

#portfolio .project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

#portfolio .project-carousel:hover .owl-nav {
    opacity: 1;
}

#portfolio .project-carousel .owl-nav .owl-prev,
#portfolio .project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}***/

.q-bg {
    height: 50vh;
    /*background-image: linear-gradient(to right,#5CC9CE,#16364C);*/
    background-color: #547697ff;
    display: flex; /* enable flexbox */
    align-items: center; /* center vertically */
    justify-content: center; /* center horizontally */
}

/*** Product/Project Carousel ***/

.product-bg {
    background-image: linear-gradient(to right, #5cc9ce, #16364c);
}

#product .project-carousel {
    background: transparent !important;
}

#product .project-carousel .owl-stage-outer {
    padding: 20px 0;
    margin: 0 10px;
    position: relative;
    /*pointer-events: none;*/
}

#product .project-carousel .owl-item {
    padding: 0 15px;
}

/* Navigation buttons */
#product .project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 0;
    top: 50%;
    left: 0;
    display: flex;
    align-items: center;
    z-index: 1;
}

#product .project-carousel .owl-nav .owl-prev,
#product .project-carousel .owl-nav .owl-next {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: white;
    font-size: 22px;
    transition: 0.5s;
    border-radius: 50%;
    margin-left: 40px;
    margin-right: 40px;
    justify-content: center;
    align-items: center;
}

#product .project-carousel .owl-nav .owl-prev {
    left: -25px;
}

#product .project-carousel .owl-nav .owl-next {
    right: -25px;
}

#product .project-carousel .owl-nav .owl-prev:hover,
#product .project-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
    border-radius: 50%;
    color: white;
}

/* Dots */
#product .project-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#product .project-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #dddddd;
    transition: 0.5s;
}

#product .project-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

/* Project item card */
.project-item {
    position: relative;
    display: block;
    overflow: hidden;
}

.project-item img {
    transition: 0.5s;
}

.project-item:hover img {
    transform: scale(1.1);
}

.project-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.project-title h5 {
    color: #ffffff !important;
    transition: 0.5s;
}

.project-item:hover .project-title h5 {
    transform: translateY(-10px);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .project-carousel .owl-nav .owl-prev {
        left: -15px;
    }

    .project-carousel .owl-nav .owl-next {
        right: -15px;
    }
}

/* ============================================
   MOBILE CLEANUP FOR QUOTE + PRODUCT CAROUSEL
===============================================*/
@media (max-width: 768px) {
    /* ----- Quote Background Section ----- */
    .q-bg {
        height: 94vh !important; /* reduce height */
        padding: 20px; /* add breathing space */
        text-align: center; /* center content */
    }

    .q-bg h2,
    .q-bg .display-1,
    .q-bg .display-2 {
        font-size: 26px !important;
        line-height: 1.3;
        padding: 0 10px;
    }

    .q-bg p {
        font-size: 14px;
        margin-top: 10px;
    }

    /* ----- Project Carousel ----- */

    /* Reduce padding around carousel items */
    #product .project-carousel .owl-item {
        padding: 0 8px !important;
    }

    #product .project-carousel .owl-stage-outer {
        padding: 10px 0 !important;
    }

    /* Navigation arrows hidden on mobile (prevents overflow) */
    #product .project-carousel .owl-nav {
        display: none !important;
    }

    /* Dots spacing */
    #product .project-carousel .owl-dot {
        width: 12px;
        height: 12px;
    }
    #product .project-carousel .owl-dot.active {
        width: 24px;
    }

    /* Project Item */
    .project-title {
        padding: 15px !important;
    }

    .project-title h5 {
        font-size: 15px !important;
    }

    /* Prevent title overflow */
    .project-item img {
        height: 180px;
        object-fit: cover;
    }
}

/* Extra small phones (max-width: 480px) */
@media (max-width: 480px) {
    .q-bg {
        height: 25vh !important;
    }

    .q-bg h1,
    .q-bg .display-1,
    .q-bg .display-2 {
        font-size: 22px !important;
    }

    /* Even smaller carousel images */
    .project-item img {
        height: 150px !important;
    }
}

/*** Career ***/
#careers-section {
    display: flex;
    width: 100%;
    min-height: 450px;
}

.careers-left {
    width: 50%;
    background: linear-gradient(135deg, #003049, #005f73);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 60px 50px;
}

.careers-content {
    max-width: 420px;
}

.careers-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
}

.careers-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.apply-btn {
    display: inline-block;
    background: #7ed957;
    padding: 12px 28px;
    border-radius: 0px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.apply-btn:hover {
    background: #6cc64c;
}

.careers-right {
    width: 50%;
}

.careers-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive */
@media (max-width: 768px) {
    #careers-section {
        flex-direction: column;
    }
    .careers-left,
    .careers-right {
        width: 100%;
    }
    .careers-left {
        padding: 40px 25px;
    }
}

/*** Career ***/
/*** Career ***/
#careers-section {
    display: flex;
    width: 100%;
    min-height: 450px;
    padding: 60px;
}

/* Left panel */
.careers-left {
    width: 50%;
    background: linear-gradient(135deg, #003049, #005f73);
    color: #fff;
    display: flex;
    align-items: center;
    padding: 70px 60px;
}

.careers-content {
    max-width: 450px;
}

.careers-content h2 {
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 18px;
}

.careers-content p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.apply-btn {
    display: inline-block;
    background: #7ed957;
    padding: 14px 30px;
    border-radius: 0px;
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
}

.apply-btn:hover {
    background: #6cc64c;
}

/* Right panel (image) */
.careers-right {
    width: 50%;
}

.careers-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    #careers-section {
        flex-direction: column;
        padding: 0;
    }

    .careers-left,
    .careers-right {
        width: 100%;
    }

    .careers-left {
        padding: 40px 25px;
    }

    .careers-content h2 {
        font-size: 28px;
    }

    .careers-content p {
        font-size: 16px;
    }
}

/*** Index movile ***/
/* ============================================
   MOBILE OPTIMIZATION FOR HOMEPAGE SECTIONS
   ============================================ */
@media (max-width: 767.9px) {
    /* ----- Banner ----- */
    #banner {
        padding-top: 50px;
        height: 400px !important;
        background-position: center !important;
    }
    .banner-title {
        font-size: 28px !important;
        padding: 0 20px;
        line-height: 1.3;
    }

    /* ----- Counter Section ----- */
    #counter {
        padding: 20px !important;
    }
    .facts {
        padding: 20px !important;
    }
    .facts-text h2 {
        font-size: 22px !important;
    }
    .facts-text p {
        font-size: 14px !important;
    }
    .facts .text-center {
        padding: 20px !important;
    }
    .facts h1.display-2 {
        font-size: 40px !important;
    }
    .facts h3 {
        font-size: 18px !important;
        margin-top: 5px;
    }

    /* ----- About Section ----- */
    #about .p1 {
        padding-right: 0 !important;
        font-size: 16px;
        line-height: 1.5;
    }
    #about .col-lg-6 {
        padding-left: 0 !important;
    }
    #about img {
        margin-bottom: 20px;
    }
    #about h1.display-5 {
        font-size: 26px !important;
        margin-top: 10px;
    }

    /* Stack images nicely */
    #about .row.gx-10 .col-6 {
        padding: 0 10px !important;
    }

    /* ----- About 2 Section (Blue Background) ----- */
    #about2 .container-fluid {
        padding: 20px !important;
    }
    #about2 h1 {
        font-size: 26px !important;
        padding-left: 0 !important;
        margin-bottom: 20px !important;
    }
    #about2 p {
        font-size: 15px !important;
        line-height: 1.5;
    }

    #about2 .p9 {
        font-size: 26px !important;
        line-height: 1.5;
    }

    #about2 .col-6 {
        width: 100% !important;
        text-align: left !important;
        margin-bottom: 20px;
    }

    /* ----- Quote Section ----- */
    .q-bg {
        height: 45vh !important;
        padding: 20px;
    }
    #quote1 h1 {
        font-size: 22px !important;
        line-height: 1.3;
        padding-top: 80px;
    }
}

/*** Sustain movile ***/
/* ---------------------------------
   GENERAL MOBILE OPTIMISATION
-----------------------------------*/
@media (max-width: 767.9px) {
    /* Banner title */
    #banner .banner-title {
        font-size: 26px;
        line-height: 1.3;
        padding: 0 20px;
    }

    /* Page selector buttons */
    .page-selector {
        /*flex-direction: column;*/
        gap: 10px;
    }

    .page-selector .page-btn {
        width: 100%;
        text-align: center;
        font-size: 16px;
        padding: 12px;
        padding-right: 50px !important;
    }

    /* Left menu (option-tab) */
    .option-tab {
        display: block !important;
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        white-space: nowrap;
        gap: 10px;
        padding: 10px 0;
    }

    .option-tab .item {
        flex: 0 0 auto;
        padding: 8px 15px;
        font-size: 14px;
        border-radius: 25px;
        background: #f1f1f1;
    }

    /* Force stacking */
    #sustainability .row > div,
    /*#ethical .row > div {
        padding: 10px 20px !important;
    }*/

    /* Sponsor images / text */
    .sponsor-img,
    .sponsor-txt {
        margin-bottom: 25px;
        text-align: center;
    }

    .sponsor-img img {
        height: auto !important;
        max-height: 250px;
    }

    /* Future initiatives 2-column → 1 column */
    #future .box {
        width: 100% !important;
    }

    #future .box img {
        height: 250px;
        object-fit: cover;
    }

    /* Ethical Section */
    #ethical h3 {
        padding-left: 20px !important;
        padding-right: 20px !important;
        text-align: center;
        font-size: 18px;
    }

    #ethical ul {
        padding: 0 20px;
    }

    #ethical ul h5 {
        font-size: 16px;
    }

    /* Quote section */
    #quote .display-1 {
        font-size: 22px !important;
    }

    #quote p {
        font-size: 14px;
    }

    #quote .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* Extra small screens (phone 375px and below) */
@media (max-width: 480px) {
    #banner .banner-title {
        font-size: 22px;
    }

    .page-selector .page-btn {
        font-size: 10px;
        padding: 10px;
    }

    .option-tab .item {
        font-size: 12px;
    }
}

/* Nav link dark for sustain & news detail */
.page-light-nav .navbar-nav .nav-link {
    color: var(--dark) !important;
}

/* Optional: dark logo for those pages */
.page-light-nav .navbar-brand img {
    content: url("assets/img/nav~logo.png");
}

/* Hover state */
.page-light-nav .navbar-nav .nav-link:hover {
    color: var(--primary) !important;
}

.form-control {
    border: 0 !important;
    border-bottom: 2px solid var(--footer1) !important;
    background-color: transparent;
    color: var(--footer1) !important;
}

.form-control::placeholder {
    color: var(--footer1);
    font-weight: bold;
}

/*  Added new css */
/* Navbar adjustments */
.navbar {
    position: absolute;
    z-index: 1000;
    overflow: visible !important;
    width: 100%;
}
.news-container {
    padding: 50px;
}
.dropdown-menu {
    display: none;
    border-top: 2px solid #b6b8ba;
}
.dropdown-menu.open {
    display: flex;
}
/* Mega dropdown wrapper */
.mega-dropdown {
    width: 100%;
    padding: 0px;
    min-height: 250px !important;
    max-width: 100%;
    gap: 20px !important;
    position: fixed !important;
    left: 0 !important;
    top: 75px !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    /* display: flex !important; */
    /* margin-left: -100vw !important; */
    /* display: grid !important;
    grid-template-columns: 1fr 1fr 1fr !important;
    gap: 40px !important;
    flex-wrap: wrap !important; */
}
.mega-left {
    /* width: 100%; */
    padding-left: 40px !important;
    border-right: none;
    border-right: 1px solid #ddd;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #f5f5f5;
}
/* Right side links */
.mega-right {
    display: flex;
    flex-direction: column;
    border: none;
    padding-top: 3rem;
    /* width: 100%; */
    /* flex-wrap: wrap; */
    /* gap: 20px; */
}

@media screen and (max-width: 769px) {
    .navbar .navbar-brand {
        padding-right: 0px !important;
        padding-left: 35px !important;
    }
    .footer {
        padding: 0 !important;
    }
    .footer-logo {
        max-width: 200px !important;
    }
    .services-container {
        padding: 0px !important;
    }
    .navbar {
        position: relative !important;
    }
    .news-container {
        padding: 20px !important;
    }
    .mega-left {
        padding-left: 15px !important;
        padding-top: 20px !important;
    }
    .mega-right {
        padding-left: 15px !important;
        padding-top: 20px !important;
    }
    .dropdown-menu.open {
        display: block;
    }
    .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
    }
    .p-footer {
        margin: 0px !important;
        margin-top: 4px;
    }
}

@media screen and (max-width: 468px) {
    .navbar .navbar-brand {
        padding-left: 10px !important;
    }
    .footer-logo {
        max-width: 170px !important;
    }
    .footer-logo-col {
        justify-content: start !important;
    }
    .q-bg {
        height: 45vh !important;
    }
    .dropdown-menu.open {
        display: block;
    }
}

/* Additonal CSS */

/* Header */
html {
    overflow-x: hidden;
}

/* Enable hover dropdown */
.nav-item.dropdown:hover .dropdown-menu {
    display: flex;
}

/* Left description
.mega-left {
    width: 100%;
    border-right: none;
    /*border-bottom: 1px solid #ddd;
    padding: 20px;
    background-color: #E3E4E5;
    grid-column: 1 / -1;
    margin: -40px -40px 0 -40px;
    padding: 40px;
}*/

.mega-left h5 {
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 16px;
    font-family: "ZalandoSansExpanded";
}

.mega-left p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    padding-right: 20px;
}

.mega-right a {
    display: block;
    padding: 0;
    padding-bottom: 4px;
    margin-bottom: 15px;
    color: #003366;
    font-weight: 500;
    width: fit-content;
    position: relative;
}

.ser-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ser-icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.ser-icon img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.navbar:hover {
    /* background: white !important; */
}

.navbar-collapse {
    overflow: visible !important;
}

/* When navbar has white background (after scroll or on mobile) */
.navbar.scrolled .nav-link.active,
.navbar.bg-white .nav-link.active {
    color: var(--dark) !important;
    border-bottom: 2px solid var(--dark);
}

/* ================================
   MOBILE FIX FOR MEGA DROPDOWN
   ================================ */
@media screen and (max-width: 991px) {
    /* Disable hover behavior on mobile */
    /* .nav-item.dropdown:hover .dropdown-menu {
            display: none;
        } */

    /* Make dropdown behave normally */
    .mega-dropdown {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        background: #f8f9fa !important;
        box-shadow: none !important;
    }

    /* Left section */
    .mega-left {
        border-right: none !important;
        margin-bottom: 10px;
    }

    .mega-left h5 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .mega-left p {
        font-size: 14px;
        line-height: 1.4;
        padding-right: 0 !important;
    }

    /* Right links */
    .mega-right {
        display: block !important;
        width: 100% !important;
        gap: 0 !important;
    }

    .mega-right a {
        width: 100% !important;
        padding: 8px 0 !important;
        display: block;
        border-bottom: 1px solid #ddd;
        font-size: 15px;
    }

    /* Make navbar collapse area scrollable if long */
    .navbar-collapse {
        max-height: 80vh;
        overflow-y: auto !important;
    }

    .navbar-collapse.collapse.show {
        margin-bottom: 75px;
    }

    .navbar .navbar-nav .nav-link {
        color: var(--dark) !important;
    }
}

@media screen and (max-width: 440px) {
    .navbar {
        background-color: #fff;
    }

    .navbar .navbar-nav .nav-link {
        color: var(--dark) !important;
    }
}

.navbar .navbar-nav .nav-link {
    color: #fff;
}

.logo {
    width: 13vw;
    height: auto;
}

.text-dr {
    font-weight: 500;
}

@media (max-width: 768px) {
    .logo {
        width: 150px;
        height: auto;
        content: url("assets/img/nav~logo.png");
    }

    .ser-icon {
        width: 60px;
        height: 60px;
    }

    .ser-text p {
        font-size: 13px;
    }

    .service-item {
        gap: 10px;
    }
}

/* About */
#banner {
    background: url("assets/img/about/hbanner.jpg") center/cover no-repeat;
    background-position: 100% 30%;
}

#story {
    background-image: url("assets/img/story2.jpg");
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    height: 100%;
    overflow: hidden;
    /* keep the background fixed */
}

/* Make the content scrollable */
#story .story-content {
    padding-right: 10px;
    padding: 80px;
}

@media screen and (max-width: 469px) {
    .story-content {
        padding: 20px !important;
    }
}

.q-bg {
    height: 630px;
    background-image: url("assets/img/about/hquote.jpg");
    /*background-color: #547697ff;*/
    display: flex;
    align-items: center;
    /* center vertically */
    justify-content: center;
    /* center horizontally */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Deliver */
/* Main banner container */
#global-banner {
    position: relative;
    height: 100vh;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0b2d46 0%, #20dac9 100%);
}

/* Text styles */
#global-banner .banner-text h2 {
    font-weight: 700;
    font-size: 2.3rem;
    line-height: 1.3;
}

#global-banner .banner-text p {
    margin: 20px 0;
    max-width: 420px;
    opacity: 0.85;
}

#global-banner .see-more {
    font-weight: 500;
    font-size: 16px;
    color: white;
    text-decoration: none;
}

#global-banner .see-more i {
    margin-left: 6px;
}

/* Globe image on the right */
#global-banner .banner-globe {
    position: absolute;
    bottom: -20px;
    right: -60px;
    width: 520px;
    opacity: 0.95;
    pointer-events: none;
}

/* Video background */
#global-banner .banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 1;
    /* adjust if you want a fade effect */
}

/* Make sure text stays above video */
#global-banner .container,
#global-banner .banner-globe {
    position: relative;
    z-index: 2;
}

/* Optionally add a dark overlay for better text visibility */
#global-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    /* adjust darkness */
    z-index: 1;
}

/* Responsive */
@media (max-width: 768px) {
    #global-banner {
        height: auto;
        padding: 60px 0;
        text-align: center;
    }

    #global-banner .banner-globe {
        width: 320px;
        right: -30px;
        bottom: -10px;
        opacity: 0.4;
    }

    #global-banner .banner-text h2 {
        font-size: 2rem;
    }
}

/* Green banner */
#green-banner {
    background-color: #f2faeb;
    padding: 60px 15px;
}

#green-banner .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#green-banner .col-md-4 {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 40px;
    text-align: start;
}

#green-banner .e-icon-bg {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    background-color: var(--primary);
}

#green-banner .e-icon-bg img {
    max-width: 50%;
    max-height: 50%;
}

#green-banner .e-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark);
}

#green-banner .e-content p {
    font-size: 0.95rem;
    color: var(--dark);
    line-height: 1.5;
    margin: 0;
}

/* Responsive for mobile */
@media (max-width: 768px) {
    #green-banner .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }

    #green-banner .e-icon-bg {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    #green-banner .e-icon-bg img {
        max-width: 60%;
        max-height: 60%;
    }

    #green-banner .e-content h5 {
        font-size: 1rem;
    }

    #green-banner .e-content p {
        font-size: 0.9rem;
    }
}

/* Footer */
.on-footer {
    overflow: hidden;
    padding: 0;
}

/* Footer logo column */
.footer-logo-col {
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: start; /* vertical */
}

/* Image logo */
.footer-logo {
    width: 70%;
    max-width: 250px;
    height: auto;
}

.p-footer {
    font-size: 0.93rem;
    font-weight: 300;
    color: #b0b9ae;
}

.footer-line {
    /* width: 100%; */
    border-right: none;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 10px 0;
    padding: 0;
}

.sign-num {
    font-size: small;
    font-weight: normal;
}

/* proportions — last image takes up more width */
.banner-strip .l {
    flex: 0.5;
}
.banner-strip .m {
    flex: 0.5;
}
.banner-strip .r {
    flex: 1;
}

.m {
    background-color: #00a59e;
}

.r {
    background-color: #e5ffdb;
}

.l {
    background-color: #e7e7e9;
}

.banner-strip {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
}

.banner-strip div {
    flex: 1;
    padding: 0;
}

.banner-strip img {
    width: 100%;
    height: 150px;
    aspect-ratio: 3 / 1;
    /* keeps proportion but prevents crop */
    object-fit: cover;
    display: block;
}

/* Tablet (prevents cropping or squishing) */
@media (min-width: 769px) and (max-width: 1024px) {
    .banner-strip {
        flex-wrap: wrap;
    }

    .banner-strip div {
        flex: 1 1 100%;
    }

    .banner-strip img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }
}

/* Mobile stacking */
@media (max-width: 768px) {
    .banner-strip {
        flex-direction: column;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .banner-strip img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
    }

    .m {
        grid-column: span 1;
    }

    .r {
        grid-column: span 2;
    }

    .l {
        grid-column: span 1;
    }
}

/* Future Plan */
.timeline-section {
    position: relative;
    width: 100%;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.timeline-title-area {
    padding-right: 30px;
}

.timeline-title-area h3 {
    font-size: 48px;
    color: #0f2540;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .timeline-title-area {
        margin-top: 115px;
    }

    .timeline-section .container-fluid,
    .timeline-section .row > * {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }
}

.timeline-viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* padding-top: 50px;  */
    padding-bottom: 50px;
}

.timeline-track {
    display: flex;
    gap: 0;
    width: max-content;
    position: relative;
    /* border-top: 4px solid #0f2540;  */
}

.full-card {
    display: flex;
    flex-direction: column;
}

.new-time-card {
    width: 350px;
    height: 100%;
    min-height: 400px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    margin-right: 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.new-time-card.theme-dark {
    background-color: #0f2540;
    color: #ffffff;
}

.new-time-card:hover {
    background-color: #a5c1da;
    color: #ffffff;
}

.new-time-card.theme-dark .date-text,
.new-time-card.theme-dark .sub-text,
.new-time-card.theme-dark p {
    color: #ffffff;
}

.new-time-card.theme-light {
    background-color: #aebcc9;
    color: #ffffff;
}

.new-time-card.theme-medium {
    background-color: #9aaab9;
    color: #ffffff;
}

.date-text {
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 5px;
    display: block;
}

.sub-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 50px;
    display: block;
    opacity: 0.9;
}

.desc-text {
    font-size: 15px;
    line-height: 1.6;
}

.nav-btn {
    background: #0f2540;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: #8cc63f;
}

.timeline-heading {
    font-size: 32px;
    position: relative;
    display: inline-block;
    margin: 15px 0 50px 0;
    font-weight: normal;
}

.timeline-heading::before {
    content: "";
    position: absolute;
    top: 100%;
    left: calc(50% - 20px);
    /* transform: translateX(-50%); */

    width: 40px;
    height: 30px;
    background-color: #63cf00;
    transform: skewX(-30deg);
    z-index: 2;
}

.timeline-heading::after {
    content: "";
    position: absolute;
    top: calc(100% + 15px);
    /* align just below the circle */
    left: calc(0% + 0px);
    width: calc(100% - 0px);
    height: 4px;
    background-color: #0f2540;
    z-index: 1;
}

.marquee-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    z-index: 10;
    padding-bottom: 20px;
    background: transparent;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: scrollText 20s linear infinite;
}

.outline-text {
    font-size: 80px;
    font-weight: 700;
    font-family: sans-serif;
    color: #ffffff;
    -webkit-text-stroke: 1px #2c5282;
    text-transform: uppercase;
    margin-right: 50px;
    line-height: 1;
}

@keyframes scrollText {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Index */

/* Splash */
#splash-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: block;
    background: #000 !important;
    overflow: hidden;
}

#splash {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 468px) {
    #splash-container {
        height: 100vh !important;
        width: 100vw !important;
    }

    #splash {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* News Detail */
/* Dark nav for this page */


.navbar .navbar-brand img {
    /* filter: brightness(0) saturate(100%); */
}

/* News Section */
.news-container {
    padding: 50px;
}

@media screen and (max-width: 769px) {
    .news-container {
        padding: 20px !important;
    }
}

/* Scroll */
.timeline-section {
    position: relative;
    height: 100vh;
}

.sticky-wrapper {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.scroll-content {
    height: 100%;
    display: flex;
    align-items: center;
}

.timeline-container {
    display: flex;
    gap: 20px;
    padding: 0 70px;
    transition: transform 0.1s ease-out;
}

/* .timeline-container::-webkit-scrollbar {
        height: 8px;
    }

    .timeline-container::-webkit-scrollbar-track {
        border-radius: 10px;
        background: rgba(120, 120, 120, 0.5);
    }

    .timeline-container::-webkit-scrollbar-thumb {
        background-color: var(--accent-color);
        border-radius: 10px;

    } */

.time-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 300px;
    max-width: 300px;
}

.time-card p {
    flex: 1 1 50%;
    margin: auto;
}

.time-card .time-image {
    display: flex;
    align-items: center;
    flex: 1 1 50%;
    border-radius: 0 0 10px 10px;
    min-height: 157px;
    background-color: lightgray;
}

.time-card img {
    width: 100%;
}

.timeline-heading {
    font-size: 32px;
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
    font-weight: normal;
    /* space for line and circle */
}

.timeline-heading::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 2px solid black;
    border-radius: 50%;
    z-index: 2;
}

.timeline-heading::after {
    content: "";
    position: absolute;
    top: calc(100% + 4px);
    /* align just below the circle */
    left: calc(50% + 4px);
    width: calc(100% + 11px);
    height: 2px;
    background-color: #000000;
    z-index: 1;
}

.time-card:last-child .timeline-heading::after {
    display: none;
}

@media screen and (max-width: 990px) {
    .timeline-container {
        margin: 0 35px;
    }
}

.scroll-progress-bar {
    position: absolute;
    /* top: auto; */
    /* right: 20%; */
    bottom: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(200, 200, 200, 0.3);
    /* subtle background */
    z-index: 10;
}

.scroll-progress-fill {
    height: 100%;
    width: 0%;
    background-color: var(--accent-color);
    /* use your theme color */
    transition: width 0.1s ease-out;
}

/*** Services ***/

/* Product */
#product .project-carousel .owl-nav {
    justify-content: end !important;
}

#product .project-carousel {
    width: 95% !important;
}

#product .owl-prev {
    display: none !important;
}

#product .owl-next {
    right: -90px !important;
}

.prod {
    padding-left: 60px;
}

.owl-nav .owl-next {
    top: 50%;
    transform: translateY(-50%);
}

@media screen {
    .prod {
        padding-left: 30px;
    }
}

/* Portfolio */
.port-card {
    position: relative;
    overflow: hidden;
    background: #f2f2f2;
    border-radius: 0px;
    transition: all 0.4s ease;
    height: 380px;
    /* adjust as needed */
}

/* Top image (30%) */
.port-image {
    height: 40%;
    width: 100%;
    overflow: hidden;
}

.port-image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Content area */
.port-content {
    padding: 25px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* remaining space */
    background: #f2f2f2;
    color: var(--dark);
    transition: transform 0.4s ease;
    transform: translateY(40%);
    /* Hide part of it initially */
}

.port-content1 {
    padding: 25px;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    /* remaining space */
    color: var(--dark);
    transition: transform 0.4s ease;
    transform: translateY(0);
    background-color: var(--primary);
}

.green-card {
    background: var(--primary);
    height: 380px; /* adjustable */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    margin-left: 50px;
    margin-right: 20px;
    justify-content: flex-start;

}

/* Description is hidden until hover */
.port-content .p-num {
    opacity: 1;
    transition: opacity 0.3s ease 0.1s;
}

.port-content .description {
    /* opacity: 0;
    transition: opacity 0.3s ease 0.1s; */
    font-size: 15px;
    line-height: 1.4;
}

/* .port-card:hover .description {
    opacity: 1;
} */
/* Hover animation 
.port-card:hover .port-content {
    transform: translateY(0);
    background-color: var(--primary);
}

.port-card:hover .port-content p,
.port-card:hover .port-content h5 {
    color: white !important;
}

.port-card:hover .port-content .p-num {
    opacity: 0 !important;
}*/


/* Navigation buttons */
.port-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 0;
    top: 50%;
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.port-carousel .owl-nav .owl-prev,
.port-carousel .owl-nav .owl-next {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    background: white;
    font-size: 22px;
    transition: 0.5s;
    border-radius: 50%;
    margin-left: 40px;
    margin-right: 40px;
    justify-content: center;
    align-items: center;
}

.port-carousel .owl-nav .owl-prev {
    left: -25px;
}

.port-carousel .owl-nav .owl-next {
    right: -25px;
}

.port-carousel .owl-nav .owl-prev:hover,
.port-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
    border-radius: 50%;
    color: white;
}

/* Dots */
.port-carousel .owl-dots {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.port-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #dddddd;
    transition: 0.5s;
}

.port-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.port-carousel .owl-nav {
    justify-content: end !important;
}

.port-carousel {
    width: 95% !important;
}

#portfolio .owl-prev {
    display: none !important;
}

#portfolio .owl-next {
    right: -90px !important;
}

@media (max-width: 768px) {
    #portfolio .owl-next {
        right: 10px !important;
    }

    .port-carousel .owl-nav .owl-prev,
    .port-carousel .owl-nav .owl-next {
        margin-left: 10px;
        margin-right: 10px;
    }

    .port-carousel {
        width: 100% !important;
    }

    .green-card {
        margin: 0 7px;         /* reduce horizontal squeeze */
        padding: 25px 20px;     /* smaller padding for small screens */
        min-height: auto;       /* auto height for natural fit */
        text-align: left;     /* looks cleaner on mobile */

    }
}

.q-bg {
    height: 630px;
    background-image: url("assets/img/about/hquote.jpg");
    /*background-color: #547697ff;*/
    display: flex;
    align-items: center;
    /* center vertically */
    justify-content: center;
    /* center horizontally */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/*** Solutions ***/
#solutions .accordion-button {
    font-weight: 600;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 10px;
    background-color: transparent;
}

#solutions .accordion-button::after {
    margin-left: 0 !important;
}

#solutions .accordion-button.collapsed::after {
    content: "";
    background-image: url("../img/favicon.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 1em; /* adjust size */
    height: 1em;
    transform: rotate(0deg); /* optional */
    opacity: 0;
}

/* Expanded (not collapsed) button */
#solutions .accordion-button:not(.collapsed)::after {
    content: "";
    background-image: url("../img/favicon.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 1em; /* adjust size */
    height: 1em;
    transform: rotate(0deg); /* optional rotation for expanded state */
}

#solutions .accordion-item {
    border-radius: 0px;
    overflow: hidden;
    margin-bottom: 10px;
    border: 0px;
    background-color: transparent;
}

#solutions img {
    border-radius: 2px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Make the image fill its column height */
#solutions .image-col {
    height: 100%;
    display: flex;
}

#solutions .image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*** Story ***/
#story {
    background-image: url("assets/img/story.jpg");
    background-size: cover;
    background-position: center;
    padding: 40px 0;
    height: 100%;
    overflow: hidden;
}

#story .story-content {
    height: 500px;
    overflow-y: auto;
    padding-right: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) #f0f0f0ff;
    padding: 80px;
}

@media screen and (max-width: 469px) {
    #story .story-content {
        padding: 20px !important;
    }
}

.fLarge {
    font-size: 26px;
    color: white;
}

/*** Sustain ***/

.navbar .navbar-brand img {
    /* filter: brightness(0) saturate(100%); */
}

/* Quote 1 */
.q-bg1 {
    height: 448px;
    background-image: url("assets/img/sustain/quote.jpg");
    padding: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Tablet */
@media (max-width: 991px) {
    .q-bg1 {
        height: 380px;
        padding: 50px 40px;
    }

    #quote h1 {
        font-size: 34px !important;
        line-height: 1.2;
    }

    #quote p {
        font-size: 18px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .q-bg1 {
        height: auto;
        /* allow natural height */
        padding: 60px 20px;
        /* reduce padding for small screens */
        text-align: center;
    }

    #quote h1 {
        font-size: 26px !important;
        line-height: 1.3;
        margin-bottom: 20px !important;
    }

    #quote p {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .skew-btn {
        padding: 10px 22px !important;
        font-size: 15px;
    }
}

/*** Trust ***/
#trust .trust-card {
    position: relative;
    overflow: hidden;
    height: 100%; /* adjust as needed */
    border-radius: 0px;
    cursor: pointer;
}

/* Image */
#trust .trust-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Hover zoom effect */
#trust .trust-card:hover img {
    transform: scale(1.08);
}

/* Gradient overlay */
#trust .trust-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 128, 0, 0.45));
}

#trust .trust-overlay.blue {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 120, 0.45));
}

/* Content at bottom */
#trust .trust-content {
    position: absolute;
    bottom: 15px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

#trust .trust-content h4 {
    margin: 0;
    font-weight: 600;
}

/* Arrow circle */
#trust .trust-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

#trust .col-md-6,
#trust .col-sm-12 {
    padding: 0 !important;
}
