/********** Template CSS **********/
:root {
    --primary: #00C261;
    --secondary: #00C281;
    --light: #F1F3FA;
    --dark: #1C2035;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


.text-green {
    color: var(--primary)
}

.text-black {
    color: #000;
}

#google_translate_element {
    display: flex;
    align-items: center;
}

#google_translate_element select {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 14px;
}

/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Features ***/
.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}


/*** About ***/
.about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/about.jpg) left center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

.btn-play: {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item .service-text {
    position: relative;
    width: 100%;
    top: 0;
    left: 0;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .06);
    transition: .5s;
    z-index: 2;
}

.service-item:hover .service-text {
    top: -1.5rem;
}

.service-item .service-text h5 {
    transition: .5s;
}

.service-item:hover .service-text h5 {
    color: var(--primary);
}

.service-item .service-btn {
    position: absolute;
    width: 80%;
    height: 3rem;
    left: 10%;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
    z-index: 1;
}

.service-item:hover .service-btn {
    bottom: -1.5rem;
}


/*** Project ***/
.project-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.project-item .project-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    opacity: 0;
    padding-top: 60px;
    transition: .5s;
}

.project-item:hover .project-overlay {
    opacity: 1;
    padding-top: 0;
}

.project-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.project-carousel .owl-nav .owl-prev:hover,
.project-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .project-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .project-carousel .owl-nav .owl-prev,
    .project-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Team ***/
.team-item {
    position: relative;
    text-align: center;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.team-item .team-social {
    position: absolute;
    padding: 0;
    top: 15px;
    left: 0;
    overflow: hidden;
}

.team-item .team-social li {
    list-style-type: none;
    margin-bottom: 10px;
    margin-left: -50px;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social li {
    margin-left: 15px;
    opacity: 1;
}

.team-item .team-social li .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 40px;
    transition: .5s;
}

.team-item .team-social li .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item .team-social li:nth-child(1) {
    transition-delay: .1s;
}

.team-item .team-social li:nth-child(2) {
    transition-delay: .2s;
}

.team-item .team-social li:nth-child(3) {
    transition-delay: .3s;
}

.team-item .team-social li:nth-child(4) {
    transition-delay: .4s;
}

.team-item .team-social li:nth-child(5) {
    transition-delay: .5s;
}


/*** Testimonial ***/
.testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: .5s;
}

.owl-item .testimonial-item,
.testimonial-item * {
    transition: .5s;
}

.owl-item.center .testimonial-item,
.testimonial-item:hover {
    background: var(--primary);
}

.owl-item.center .testimonial-item *,
.testimonial-item:hover * {
    color: #FFFFFF !important;
}

.testimonial-item .test-img {
    width: 270px; 
    height: 160px;
}

.testimonial-item .client-img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 100px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: -100px;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .testimonial-carousel .owl-nav {
        top: -70px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .testimonial-carousel .owl-nav .owl-prev,
    .testimonial-carousel .owl-nav .owl-next {
        margin: 0 7px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #111111;
}

.copyright a:hover {
    color: var(--primary) !important;
}


.popup-trigger:hover + .popup-content {
    display: block;
  }

  .popup-content {
    color: #000000;
    font-size: 16px;
  }
  
  .popup.show {
    display: block;
  }
  
  .popup-content {
    display: none;
    position: absolute;
    background-color: #fff;
    color: #1b234a;
    padding: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    z-index: 77;
  }


/* ─────────────────────────────────────────
   Homepage – Hero, Stats, Tagline
   ───────────────────────────────────────── */

/* ── Hero section ── */
.hero-sec {
    background: #fff;
    padding: 100px 0 140px;
    overflow: hidden;
    position: relative;
}
.hero-bg-mandala {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
    opacity: 0.015;
    pointer-events: none;
    z-index: 0;
    filter: invert(1);
    mix-blend-mode: multiply;
}
.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 48px;
    position: relative;
    z-index: 2;
}
.hero-left-inner { position: relative; z-index: 1; }
.hero-tag {
    display: inline-block;
    background: rgba(0,194,97,0.13);
    color: #00C261;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 20px;
    padding: 6px 18px;
    margin-bottom: 24px;
}
.hero-sec h1 {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0a1a10;
    margin-bottom: 22px;
}
.hero-sec h1 span { color: #00C261; }
.hero-desc {
    font-size: 1.02rem;
    color: #5a6a62;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 440px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-btn-primary {
    background: #00C261;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 15px 38px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
    display: inline-block;
}
.hero-btn-primary:hover { background: #00a854; color: #fff; }
.hero-btn-outline {
    background: transparent;
    color: #0a1a10;
    border: 2px solid #c0c0c0;
    border-radius: 30px;
    padding: 13px 38px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
}
.hero-btn-outline:hover { border-color: #00C261; color: #00C261; }
.hero-right { display: flex; align-items: center; justify-content: flex-end; }
.hero-main-img { width: 100%; max-width: 600px; display: block; object-fit: cover; }

/* Hero Slider */
.hero-slider { position: relative; width: 100%; max-width: 600px; }
.hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero-slide img { animation: heroFadeIn 0.6s ease; }
@keyframes heroFadeIn { from { opacity: 0; transform: scale(1.02); } to { opacity: 1; transform: scale(1); } }

.hero-sl-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,194,97,0.85);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.hero-sl-btn:hover { background: #009e4f; }
.hero-sl-prev { left: 8px; }
.hero-sl-next { right: 8px; }

.hero-sl-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.hero-sl-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.hero-sl-dot.active { background: #00C261; transform: scale(1.3); }

/* ── Stats card ── */
.stats-wrap {
    background: linear-gradient(to bottom, transparent 90px, #F9FFFE 90px);
    padding: 0 0 60px;
    margin-top: -90px;
    position: relative;
    z-index: 10;
}
.stats-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    padding: 60px 48px;
    max-width: 90%;
    margin: 0 auto;
}
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 40px;
    border-right: 1.5px solid #c8d0cd !important;
}
.stat-item:last-child { border-right: none; }
.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #0a1a10;
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 0.88rem;
    color: #6b7a72;
    font-weight: 500;
}

/* ── Tagline band ── */
.tagline-sec {
    background: #F9FFFE;
    padding: 70px 0 60px;
    text-align: center;
}
.tagline-sec h2 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #0a1a10;
    line-height: 1.3;
    max-width: 780px;
    margin: 0 auto;
}
.tagline-sec h2 span { color: #00C261; font-weight: 800; }
.tagline-divider {
    width: 52px;
    height: 3px;
    background: #00C261;
    border-radius: 2px;
    margin: 24px auto;
}
.tagline-sub {
    font-size: 0.97rem;
    color: #5a6a62;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.7;
}

@media (max-width: 991px) {
    .hero-left { padding-right: 0; margin-bottom: 40px; }
    .hero-sec h1 { font-size: 2.2rem; }
    .hero-main-img { max-width: 100%; }
    .stats-wrap { margin-top: 0; }
    .stats-card { padding: 28px 16px; max-width: 95%; }
    .stat-item { border-right: none; padding: 16px 12px; }
    .tagline-sec h2 { font-size: 1.7rem; }
}

/* ─────────────────────────────────────────
   What We Do & Who We Are sections
   ───────────────────────────────────────── */

/* Shared wavy background overlay */
.sec-bg-wavy {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    max-width: none;
    opacity: 0.015;
    pointer-events: none;
    z-index: 0;
    filter: invert(1);
    mix-blend-mode: multiply;
}

/* Shared heading with green left border bar (rounded bottom-left) */
.sec-heading-bordered {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0a1a10;
    position: relative;
    padding-left: 20px;
    margin-bottom: 24px;
    line-height: 1.2;
}
.sec-heading-bordered::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 10px;
    background: #00C261;
    border-radius: 0 0 0 8px
}

.sec-body-text {
    font-size: 1rem;
    color: #5a6a62;
    line-height: 1.8;
}

/* ── What We Do ── */
.wwd-sec {
    background: #fff;
    overflow: hidden;
    position: relative;
}
.wwd-text-col {
    padding: 80px 60px 80px 80px;
    position: relative;
    z-index: 2;
}
.wwd-img {
    width: 100%;
    height: 100%;
    min-height: 820px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 0 280px 0;
    position: relative;
    z-index: 1;
}

/* ── Who We Are ── */
.wwa-sec {
    background: #F9FFFE;
    overflow: hidden;
    position: relative;
    padding-top: 60px;
}
.wwa-text-col {
    padding: 80px 80px 80px 60px;
    position: relative;
    z-index: 2;
}
.wwa-img {
    width: 100%;
    height: 80%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 0 0 280px;
    position: relative;
    z-index: 1;
}

/* Bullet list */
.wwa-list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
}
.wwa-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    color: #2a3a30;
    font-weight: 500;
    margin-bottom: 18px;
    line-height: 1.5;
}
.wwa-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: #00C261;
    color: #fff;
    border-radius: 50%;
    font-size: 0.65rem;
    padding-left: 2px;
}

@media (max-width: 991px) {
    .wwd-text-col { padding: 48px 24px; }
    .wwa-text-col { padding: 48px 24px; }
    .wwd-img, .wwa-img { min-height: 300px; border-radius: 0; }
    .sec-heading-bordered { font-size: 1.7rem; }
}

/* ─────────────────────────────────────────
   Smart Care Features
   ───────────────────────────────────────── */
.scf-sec {
    background: #fff;
    padding-bottom: 0;
}

/* Intro centred block */
.scf-intro {
    text-align: center;
    padding: 80px 24px 60px;
    max-width: 820px;
    margin: 0 auto;
}
.scf-title {
    display: inline-flex;
    align-items: center;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #0a1a10 !important;
    letter-spacing: 0.5px;
    margin-bottom: 28px !important;
}
.scf-sub {
    font-size: 2rem;
    font-weight: 700;
    color: #0a1a10;
    line-height: 1.3;
    margin-bottom: 20px;
}
.scf-sub span { color: #00C261; font-weight: 800; }
.scf-desc {
    font-size: 1rem;
    color: #5a6a62;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Cards */
.scf-card {
    width: 78%;
    margin-bottom: 48px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13);
}
/* Dark card: anchored left — small left gap (~6%), big right gap (~16%) */
.scf-dark {
    background: #0D3324;
    border-radius: 0 0 0 240px;
    margin-left: 6%;
    margin-right: auto;
    /* padding: 50px 0; */
}
/* Mint card: anchored right — big left gap (~16%), small right gap (~6%) */
.scf-mint {
    background: #C8F0DA;
    border-radius: 0 0 240px 0;
    margin-left: auto;
    margin-right: 6%;
    /* padding: 50px 0; */
}

/* Text column */
.scf-text-col {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

/* Override heading colors inside cards */
.scf-dark .scf-card-title { color: #fff; }
.scf-dark .sec-heading-bordered::before { background: #00C261; }
.scf-mint .scf-card-title { color: #0a1a10; }

/* Bullet list */
.scf-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.scf-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 14px;
}
.scf-dark .scf-list li { color: #d4ede1; }
.scf-mint .scf-list li { color: #1a3a28; }
.scf-dark .scf-list li strong { color: #fff; }
.scf-mint .scf-list li strong { color: #0a1a10; }

/* Play icon badge */
.scf-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border: 2px solid #00C261;
    border-radius: 50%;
    font-size: 0.6rem;
    padding-left: 2px;
    color: #00C261;
    margin-top: 1px;
}

/* Image column */
.scf-img-col {
    position: relative;
    padding: 30px;
    overflow: hidden;
}
.scf-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
}
/* Bottom-left curve for left-side images (dark cards) */
.scf-img-left { border-radius: 0 0 0 80px; }
/* Bottom-right curve for right-side images (mint card) */
.scf-img-right { border-radius: 0 0 80px 0; }

/* See more button */
.scf-more-wrap {
    text-align: center;
    padding: 48px 0 72px;
}
.scf-more-btn {
    display: inline-block;
    padding: 14px 36px;
    border: 2px solid #0a1a10;
    border-radius: 40px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0a1a10;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.scf-more-btn:hover {
    background: #00C261;
    border: #00C261;
    color: #fff;
}

@media (max-width: 767px) {
    /* SCF cards: no offset, full width, no large curves */
    .scf-card {
        width: 92%;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 16px !important;
    }
    .scf-text-col { padding: 28px 20px; width: 100%; }
    .scf-img-col { display: none; }               /* hide images in SCF cards */
    .scf-sub { font-size: 1.4rem; }
    .scf-intro { padding: 48px 16px 36px; }

    /* Hero */
    .hero-sec { padding: 40px 0 60px; }
    .hero-sec h1 { font-size: 1.7rem; word-break: break-word; overflow-wrap: break-word; }
    .hero-left { padding-right: 0; margin-bottom: 0; padding: 0 16px; }
    .hero-right { display: none; }
    .hero-btns { flex-direction: row; flex-wrap: wrap; gap: 12px; }
    .hero-btn-primary, .hero-btn-outline { padding: 12px 20px; font-size: 0.9rem; }

    /* Stats card */
    .stats-wrap { margin-top: 0; }
    .stats-card { padding: 24px 12px; max-width: 96%; }
    .stat-item { border-right: none !important; padding: 12px 8px; }
    .stat-num { font-size: 1.4rem; }

    /* Tagline */
    .tagline-sec { padding: 48px 16px 40px; }
    .tagline-sec h2 { font-size: 1.4rem; }

    /* What We Do / Who We Are — hide images, text full width */
    .wwd-img, .wwa-img { display: none; }
    .wwd-text-col, .wwa-text-col { padding: 40px 20px; width: 100%; }
    .sec-heading-bordered { font-size: 1.5rem; }
}

/* ─────────────────────────────────────────
   Problem We Are Solving
   ───────────────────────────────────────── */
.pws-sec {
    background: #fff;
    padding-bottom: 80px;
}

/* Top: text left */
.pws-text-col {
    padding: 80px 60px 60px 80px;
}
.pws-label {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #0a1a10 !important;
    margin-bottom: 28px !important;
}
.pws-heading {
    font-size: 2.2rem;
    font-weight: 300;
    color: #0a1a10;
    line-height: 1.7;
}
.pws-heading span { color: #00C261; font-weight: 800; }

/* Top: image right */
.pws-img-col { overflow: hidden; }
.pws-img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 0 220px 0;
}

/* Bottom cards wrapper */
.pws-cards-wrap {
    padding: 48px 60px 0;
}

/* Individual cards */
.pws-card {
    border-radius: 16px;
    padding: 36px 32px;
    height: 100%;
}
.pws-card-dark {
    background: #0D3324;
}
.pws-card-light {
    background: #fff;
    border: 1.5px solid #e0e0e0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.pws-icon { margin-bottom: 20px; }

.pws-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.pws-card-dark .pws-card-title { color: #fff; }
.pws-card-light .pws-card-title { color: #0a1a10; }

.pws-card-body {
    font-size: 0.9rem;
    line-height: 1.75;
}
.pws-card-dark .pws-card-body { color: #c8ddd4; }
.pws-card-light .pws-card-body { color: #4a5a52; }

/* iPad: keep images, add padding so they're not edge-to-edge */
@media (min-width: 768px) and (max-width: 991px) {
    .wwd-img { padding: 16px 16px 0 0; border-radius: 0 0 60px 0; }
    .wwa-img { padding: 16px 0 0 16px; border-radius: 0 0 0 60px; }
    .wwd-text-col { padding: 48px 32px; }
    .wwa-text-col { padding: 48px 32px; }
    /* Problem section iPad */
    .pws-text-col { padding: 48px 32px; }
    .pws-cards-wrap { padding: 40px 32px 0; }
    .pws-img { min-height: 340px; padding: 0 16px 0 0; border-radius: 0 0 60px 0; }
}

@media (max-width: 767px) {
    /* Problem section mobile: hide image, stack cards */
    .pws-img-col { display: none; }
    .pws-text-col { padding: 48px 20px 32px; }
    .pws-heading { font-size: 1.7rem; }
    .pws-cards-wrap { padding: 0 16px 0; }
    .pws-card { padding: 28px 20px; margin-bottom: 16px; }
}

/* ===== Category Accordion ===== */
.cat-sec {
    background: #fff;
    padding-bottom: 80px;
}

.cat-label {
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: #0a1a10 !important;
    margin-bottom: 48px !important;
}
/* Outer wrapper — green border + shadow + rounded */
.cat-accordion {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 0 80px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(128, 128, 128, 0.30);
}

/* Each row */
.cat-item {
    border-bottom: 1.5px solid #d0e8da;
}
.cat-item:last-child {
    border-bottom: none;
}

/* Header button */
.cat-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.25s;
}

.cat-name {
    font-size: 1.05rem;
    font-weight: 500;
    color: #1a2e22;
}

/* +/× toggle button */
.cat-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #00C261;
    border-radius: 8px;
    flex-shrink: 0;
    background: #fff;
}
.cat-bar {
    display: block;
    width: 18px;
    height: 2.5px;
    background: #00C261;
    position: absolute;
    border-radius: 3px;
    transition: transform 0.25s;
}
.cat-bar-v {
    transform: rotate(90deg);
}

/* Open item: no border on the full item */
.cat-item--open {
    border-top: none;
    border-bottom: none;
    padding-top: 0;
}

/* Header wrapper: green lines top+bottom, padding = white gap between lines and header */
.cat-item--open .cat-hdr-wrap {
    border-top: 1.5px solid #00C261;
    border-bottom: 1.5px solid #00C261;
    padding: 10px 0;
}

/* Open state: dark header */
.cat-item--open .cat-header {
    background: #0D3324;
    position: relative;
    border-radius: 12px;
}
.cat-item--open .cat-name {
    color: #fff;
    font-weight: 600;
    border-width: 2px;
    border-top: #009e4f;
}
.cat-item--open .cat-toggle {
    border-color: #00C261;
    
}

/* Animate + → × */
.cat-item--open .cat-bar-h {
    transform: rotate(45deg);
}
.cat-item--open .cat-bar-v {
    transform: rotate(-45deg);
}

/* Green underline below category name in open header */
.cat-item--open .cat-header::after {
    content: '';
    position: absolute;
    left: 28px;
    bottom: 18px;
    width: 84px;
    height: 3px;
    background: #00C261;
    border-radius: 12px;
}

/* Body: hidden by default */
.cat-body {
    display: none;
    padding: 28px 28px 20px;
}
.cat-item--open .cat-body {
    display: block;
}

.cat-body-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: #0a1a10;
    margin: 40px 0;
}

/* White card with shadow containing image + text */
.cat-body-inner {
    display: flex;
    gap: 0;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 28px rgba(0, 0, 0, 0.10);
    overflow: hidden;
    margin-bottom: 20px;
}

.cat-img-col {
    flex: 0 0 220px;
    min-width: 420px;
    padding: 20px;
}
.cat-img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: contain;
    display: block;
    border-radius: 0 48px 0 0;
    background: #f0f8f4;
}

.cat-text-col {
    flex: 1;
    padding: 24px 28px;
    display: flex;
    align-items: center;
}

.cat-product-list {
    font-size: 1.5rem;
    color: #2d4a38;
    line-height: 1.8;
    margin: 0;
}

/* CTA sits below the white card */
.cat-cta {
    background: #00C261;
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 28px;
    border-radius: 12px;
    border: none;
    transition: background 0.2s, transform 0.15s;
    display: inline-block;
}
.cat-cta:hover {
    background: #009e4f;
    color: #fff;
    transform: translateY(-1px);
}

/* Mobile */
@media (max-width: 767px) {
    .cat-accordion { border-radius: 8px; }
    .cat-header { padding: 16px 16px; }
    .cat-item--open .cat-header::after { left: 16px; }
    .cat-body { padding: 16px 16px 14px; }
    .cat-body-inner { flex-direction: column; }
    .cat-img-col { flex: none; max-width: 100%; width: 100%; }
    .cat-img { height: 160px; border-radius: 0; }
    .cat-text-col { padding: 16px; }
}

/* ===== Testimonials ===== */
.tmn-sec {
    background: #fff;
    padding: 80px 0 80px;
}

.tmn-intro-col {
    padding: 0 60px 0 0;
}

.tmn-label {
    font-size: 2.2rem;
    font-weight: 600;
    color: #0D3324;
    margin-bottom: 20px;
}

.tmn-heading {
    font-size: 2.4rem;
    font-weight: 400;
    color: #0a1a10;
    line-height: 1.3;
    margin-bottom: 20px;
}
.tmn-heading span {
    color: #00C261;
    font-weight: 800;
}

.tmn-body {
    font-size: 1rem;
    color: #4a5a52;
    line-height: 1.8;
}

.tmn-row1 { margin-bottom: 32px; }
.tmn-row2 { margin-bottom: 24px; }
.tmn-row3 {}

/* Base card */
.tmn-card {
    border-radius: 16px;
    padding: 28px;
    margin: 28px;
    position: relative;
    height: 100%;
}

/* Avatar base */
.tmn-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

/* Featured teal card — avatar overlaps left edge */
.tmn-card--featured {
    background: #00C261;
    overflow: visible;
    padding-left: 60px;
}
.tmn-card--featured .tmn-avatar {
    position: absolute;
    left: -35px;
    top: 24px;
    border: 3px solid #fff;
}
.tmn-card--featured .tmn-quote { color: #fff; }
.tmn-card--featured .tmn-name  { color: #fff; }
.tmn-card--featured .tmn-role  { color: rgba(255,255,255,0.8); }

/* White cards — avatar overlaps left edge, same as featured */
.tmn-card--white {
    background: #fff;
    border: 1px solid #e8f0eb;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    overflow: visible;
    padding-left: 52px;
}
.tmn-card--white .tmn-avatar {
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    border: 3px solid #e8f0eb;
}
.tmn-card--white .tmn-quote { color: #2d4a38; }
.tmn-card--white .tmn-name  { color: #0a1a10; }
.tmn-card--white .tmn-role  { color: #6a7a70; }

/* CTA card */
.tmn-card--cta {
    background: #fff;
    border: 1px solid #e8f0eb;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: visible;
    padding-left: 52px;
}
.tmn-cta-avatar-wrap {
    position: absolute;
    left: -35px;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 3px solid #e8f0eb;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.tmn-cta-prompt {
    font-size: 1rem;
    color: #4a5a52;
    margin-bottom: 20px;
}
.tmn-card--cta .tmn-name { color: #0a1a10; }
.tmn-card--cta .tmn-role { color: #6a7a70; }

/* Quote text */
.tmn-quote {
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 20px;
    margin-top: 8px;
}

/* Footer row: name+role left, stars right */
.tmn-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tmn-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 2px;
}
.tmn-role {
    font-size: 0.82rem;
    display: block;
}

.tmn-stars {
    color: #FFC107;
    font-size: 1rem;
    letter-spacing: 2px;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Featured col: extra left padding so avatar overflow has room */
.tmn-featured-col {
    padding-left: 44px;
}

/* Mobile */
@media (max-width: 767px) {
    .tmn-intro-col { padding: 0 0 40px; }
    .tmn-heading { font-size: 1.8rem; }
    .tmn-featured-col { padding-left: 0; padding-top: 20px; }
    .tmn-card--featured { padding-left: 28px; }
    .tmn-card--featured .tmn-avatar { position: static; margin-bottom: 16px; }
    .tmn-card--white { grid-template-columns: 56px 1fr; }
    .tmn-card--white .tmn-avatar { width: 56px; height: 56px; }
}

/* ── Why Choose Bevogtet ── */
.wcb-sec {
    position: relative;
    background: url('../img/bevogtet/WhyChooseBevogtetBgImg.jpg') center center / cover no-repeat;
    padding: 240px 0 220px;
    overflow: hidden;
}
.wcb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 30, 18, 0.78);
}
.wcb-label {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: inline-block;
}
.wcb-sub {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.wcb-quote {
    color: rgba(255,255,255,0.18);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 64px;
}
.wcb-features { margin-top: 0; }
.wcb-feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}
.wcb-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: transparent;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
}
.wcb-icon {
    position: absolute;
    width: 490px;
    height: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.wcb-feature-label {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

#footer-include .footer { margin-top: 0 !important; }

#header-include {
    position: sticky;
    top: 0;
    z-index: 1030;
}
#header-include .bev-nav {
    position: static;
}

.cat-learn-more {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #00C261;
    text-decoration: none;
}
.cat-learn-more:hover { text-decoration: underline; color: #0D3324; }

/* FAQ page overrides */
.faq-sec { padding-top: 60px; padding-bottom: 60px; }
.faq-accordion { max-width: 860px; margin: 0 auto; }
.faq-group-label {
    font-size: 1rem;
    font-weight: 700;
    color: #0D3324;
    padding: 32px 28px 8px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.faq-answer { color: #444; font-size: 0.95rem; line-height: 1.7; margin: 0; }
