* {
    font-family: 'Outfit', sans-serif;
}

section {
    scroll-margin-top: 85px;
    /* height of navbar */
}


body,
#services,
#feedback,
#about,
#contact {
    background-color: #EFFFED;
}

#about {
    margin-top: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

#services,
#feedback,
#about {
    margin-bottom: 150px;

}

.custom-navbar {
    background: linear-gradient(90deg, #0f3d1fa9, #1f6b3a9c);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);

    width: 100%;
    z-index: 1050;
}


.navbar-logo {
    height: 48px;
    /* control size here */
    width: auto;
    object-fit: contain;

    /* force crisp rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;

    /* counter blur softness */
    filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
}


.custom-navbar .nav-link {
    color: #ffffff !important;
    font-weight: 500;
}

.custom-navbar .nav-link.active {
    font-weight: 700;
}

.navbar-brand span {
    font-size: 1rem;
}

.btn {
    transition: 0.2s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px -2px #323232;
    background-color: #ffff;
}

.logoofCut {
    width: 150px;
    border-radius: 10px;
}

.hero-details {
    margin: 15px;
}

.hero-content {
    transform: translateY(-50%);
    position: relative;
    top: 100px;
    width: 80%;
    height: 30vh;

    background-color: #efffed43;
    /* RED */
    border-radius: 15px;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    backdrop-filter: blur(5px);
    box-shadow: 0 0 25px -15px #181818;
}

#hero {
    position: relative;
    width: 100%;

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}


.herovideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}


.sbtr-size {
    width: 250px;
    background-color: #EFFFED;
    padding: 10px;
}

.btn-success {
    padding: 15px;
    width: 250px;
    margin-right: 20px;
    background-color: #02350F;
    border: 1px solid #02350F;
}

.btn-success:hover {
    background-color: #02350F;
    border: none;
    outline: none;
}

.btn-lights {
    padding: 15px;
    width: 250px;
    color: #02350F;
    border: none;
}

#services {
    width: 100%;
}

.cards {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.service-card {
    min-width: 400px;
    padding: 15px;
    margin: 30px;
    text-align: center;
    padding: 25px;
    display: flex;
    align-items: center;
    border: none;
    border-bottom: 5px solid #0e3600;
}

.service-card img {
    width: 345px;
}

.feedbackcards {
    width: 100%;
    overflow: auto;
    display: flex;
    align-items: center;
    justify-content: start;
    flex-direction: row;
    gap: 25px;
    margin-left: 20px;
    padding: 25px;
    margin-top: -80px;
}

.feedbackcards::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
}

.feedback-card p {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#feedback h1 {
    font-weight: bold;
}

#feedback p {
    color: #ffffff;
    font-size: 24px;
}

.feedback-section {
    background: #f1ffe9;
    font-family: 'Outfit', sans-serif;
}

.feedback-card {
    background: #6ea341;
    color: #fff;
    padding: 28px;
    height: 300px;
    border-radius: 14px 14px 14px 0;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.feedback-card:hover {
    transform: translateY(-8px);
}

/* Speech bubble arrow */
.feedback-card::after {
    content: "";
    position: absolute;
    bottom: -18px;
    left: 0px;
    border-width: 18px 10px 0px 30px;
    border-style: solid;
    border-color: #6ea341 transparent transparent;
}

.feedback-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #fff;
}

.user-info {
    margin-top: 20px;
}

.user-info h6 {
    margin: 0;
    font-weight: 600;
}

.user-info small {
    color: #d4f6c0;
}

.feedbacktitle {
    font-size: 34px;
    color: #02350F;
    text-align: start;
}

.arrow-box {
    margin-top: 25px;
    display: flex;
    gap: 40px;
}

.arrow {
    width: 60px;
    cursor: pointer;
    background-color: #fff;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 5px 25px -5px #888;
    transition: border-bottom 0.5s;
    box-shadow: inset 0 2px 10px -5px #888,
        inset 2px 0 5px -5px #888;
}

.arrow:hover {
    animation-name: border;
    animation-duration: 0.5s;
    box-shadow: inset 2px 0 10px -5px #888,
        inset 0 5px 5px -5px #888;
}

@keyframes border {
    0% {
        border-left: 1px solid #0e3600;
        scale: 1;
    }

    50% {
        border-top: 1px solid #004819;
    }

    100% {
        border-bottom: 1px solid #006519;
    }
}

.right-arrow {
    transform: rotate(180deg);
}

.scroller {
    position: fixed;
    bottom: 20px;
    right: 120px;

    width: 56px;
    height: 56px;
    border-radius: 50%;

    /* Premium gradient */
    background: linear-gradient(135deg, #7dff9f, #3cb371);

    display: flex;
    align-items: center;
    justify-content: center;

    /* Shadow for depth */
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);

    /* Hidden initially */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);

    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

    cursor: pointer;
    z-index: 1200;
}

/* Show on scroll */
.scroller.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Hover effect */
.scroller:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

/* Click feedback */
.scroller:active {
    transform: scale(0.95);
}

/* Arrow image */
.scroller img {
    width: 26px;
    height: 26px;
    transform: rotate(270deg);
    filter: brightness(0) invert(1);
}

.map {
    width: 250px;
    height: 350px;
    border-radius: 15px;
    box-shadow: 0 0 25px 2px #3a543e;
    margin-top: 10px;
}

#clients {
    width: 100%;
    margin: 80px 0;
}

.brand-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.brand-track {
    display: flex;
    flex-wrap: nowrap;
    width: 200%;
    animation: marquee 10s linear infinite;
}

.brand-track img {
    flex-shrink: 0;
    height: 100px;
    margin: 0 30px;
    object-fit: contain;
}

/* Pause on hover */
@media (hover: hover) {
    .brand-track:hover {
        animation-play-state: paused;
    }
}

/* Fade edges */
.fade-left,
.fade-right {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.fade-left {
    left: 0;
    background: linear-gradient(to right, #EFFFED, transparent);
}

.fade-right {
    right: 0;
    background: linear-gradient(to left, #EFFFED, transparent);
}

/* Seamless loop */
@keyframes marquee {
    from {
        transform: translateX(10%);
    }

    to {
        transform: translateX(-50%);
    }
}

.offcanvas {
    z-index: 1200 !important;
}



/* =============================== transition ====================================== */
/* ================= GLOBAL SMOOTHNESS ================= */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ================= SECTION FADE ================= */
.smooth-section {
    animation: sectionFade 0.8s ease both;
}

@keyframes sectionFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= HERO TEXT ================= */
.slide-up {
    opacity: 0;
    transform: translateY(300px);
    animation: slideUp 0.9s ease forwards;
    position: absolute;
    top: 200px;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= IMAGE SMOOTH LOAD ================= */
.image-smooth {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.image-smooth.loaded {
    opacity: 1;
    transform: scale(1);
}

/* ================= REVEAL ON SCROLL ================= */
.reveal {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 1s ease, transform 0.8s ease;
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

/* ================= CARDS ================= */
.smooth-card,
.service-card {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.smooth-card:hover,
.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* ================= BUTTON MICRO INTERACTION ================= */
button,
.btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:active,
.btn:active {
    transform: scale(0.96);
}

/* ================= NAVBAR LINK ================= */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: #ffc107;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.main {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 120px;
}


.offcanvas-header {
    display: flex;
    flex-direction: row;
    text-align: start;
}

.offcanvas {
    width: 80%;
    height: auto;
    position: relative;
}

/* Center the offcanvas like a modal */
.offcanvas-center {
    /* transform: translate(-50%, -50%); */
    width: 70%;
    height: 55vh;
    border-radius: 16px;
}

/* Background overlay */
.offcanvas-backdrop.show {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Spacing */
.offcanvas-body {
    position: absolute;
    top: 80px;
    padding: 0 40px 40px;
    overflow-y: auto;
}

.main {
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas-header {
    display: flex;
    flex-direction: row;
    text-align: start;
}

.offcanvas {
    width: 100%;
    height: 75vh;
}


/* Center the offcanvas like a modal */
.offcanvas-center {
    width: 35%;
    border-radius: 16px;
}

/* Background overlay */
.offcanvas-backdrop.show {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Spacing */
.offcanvas-body {
    width: 100%;
}

.input_name,
.input_email,
.textarea {
    border: none;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    font-size: 1rem;
    margin-bottom: 20px;
}

.message_btn {
    background-color: #1c3a0e;
    color: white;
    font-weight: 700;
    padding: 10px 25px;
    border-radius: 10px;
    border: none;
}

body {
    position: relative;
}

.actions {
    position: fixed;
    z-index: 999;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.actions img {
    width: 80px;
}

h1 {
    text-align: center;
    margin: 30px 0;
}

/* ===== GALLERY GRID ===== */
.main-gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
    opacity: 0.85;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    animation: zoom 0.3s ease;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
    }

    to {
        transform: scale(1);
    }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #fff;
    cursor: pointer;
}


/* ---------------------------------- branches */

.list-group-item {
    font-size: 24px;
    font-weight: 600;
    background-color: #fff;
}

.list-group-item.active {
    background-color: #02350F;
    border: 1px solid #006519;
}

@media (max-width: 480px) {
    .gallery-item img {
        height: 200px;
    }
}

/* CAROUSEL FULL SCREEN */
.carousel,
.carousel-inner,
.carousel-item {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    z-index: 0;
}

/* IMAGE SLIDE */
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
}

/* VIDEO SLIDE */
.herovideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DARK OVERLAY */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* HERO CONTENT (CENTER BOX) */
.hero-content {
    position: relative;
    z-index: 2;

    width: 80%;
    max-width: 900px;
    padding: 40px;

    background-color: rgba(239, 255, 237, 0.104);
    backdrop-filter: blur(6px);

    border-radius: 16px;
    box-shadow: 0 0 25px -15px #181818;

    text-align: center;
}


/* ================= REDUCED MOTION ================= */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}